-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for contract id alias and key name to stellar snapshot create
.
#1662
Conversation
@fnando I suggest creating a new type for Contract Addresses. It would be useful in other commands. See this example of https://github.com/stellar/stellar-cli/blob/main/cmd/soroban-cli/src/config/address.rs Then you can put the resolver logic there and make it easy to do something like |
@willemneal sounds good. I'll do that in a separate pr, because it'll be easier to grasp the refactoring. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion to simplify and prepare for creating a ScAddress
type we can work on in a future PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Suggestions by @willemneal also look good. One request to keep trust lines as two words.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What
Contract aliasing
Before:
After:
Account name
Before:
After:
Why
So it supports contract aliasing.
Known limitations
N/A