-
Notifications
You must be signed in to change notification settings - Fork 981
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
Remove IBC token denomination and refactoring #2062
Conversation
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, managed to shave off quite a bit of lines!
) -> Result<()> { | ||
let key = storage::receipt_key(port_id, channel_id, sequence); | ||
// the value is the same as ibc-go | ||
let bytes = [1_u8].to_vec(); |
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.
that's a shame we have to allocated a vec for a single byte
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.
Generally looks good.
Describe your changes
closes #1947 and closes #1445 by refactoring for IBC,
Indicate on which release or other PRs this topic is based on
v0.25.0
Checklist before merging to
draft