-
Notifications
You must be signed in to change notification settings - Fork 354
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
feat: Add ICS20 TransferV2 #2317
base: main
Are you sure you want to change the base?
Conversation
a1910c3
to
0031a25
Compare
c02e541
to
2288ae6
Compare
8622495
to
2c6e84d
Compare
2c6e84d
to
40b1383
Compare
bf68aef
to
e934799
Compare
9a7f3f5
to
3714b3a
Compare
3714b3a
to
39179ac
Compare
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 nice. Some small comments, mostly about the builder.
/// It is worth to notice that the builder does not allow to add forwarding data along with | ||
/// callbacks. It is discouraged in the IBC docs: |
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.
The IBC docs specifically mention source callbacks. Destination callbacks are fine.
Can we allow that combination forwarding + destination callback in the builder?
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.
Fixed
4a4172f
to
a1b922e
Compare
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.
Some small comments in addition to what we talked about on Slack
let with_both_callbacks2 = with_dst_callback_builder | ||
.with_src_callback(src_callback.clone()) | ||
.build(); | ||
|
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.
Can we add the combinations of forwarding + source callback here?
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.
We can't, because it is disallowed by the builder type
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.
Ah, sorry, I meant destination callback, not source
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.
Good point, now we test that in the line above:
let unwinding = unwinding_builder
.with_dst_callback(dst_callback.clone())
.build();
8e8a6ef
to
7c094bb
Compare
No description provided.