-
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
IBC Enhancements #728
IBC Enhancements #728
Conversation
It would be good to include unit tests of |
08f8278
to
07bb096
Compare
07bb096
to
809be44
Compare
@webmaster128 This should be complete and is ready for review. When merged, I will make the corresponding updates in |
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.
Thanks for adding the tests. Just two small remarks, the 🚀
let mut deps = setup(); | ||
|
||
let channel_id: &str = "channel-123"; | ||
let account: &str = "acct-123"; |
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.
Note: explicit type should only be needed for const
s. Here it can be derived.
packages/vm/src/ibc_calls.rs
Outdated
call_init::<_, _, _, Empty>(&mut instance, &mock_env(), &info, msg) | ||
.unwrap() | ||
.unwrap(); | ||
} |
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.
At this place we are not testing the contract but the calls and call_init
is tested in the other file. So I think this test should be remioved.
Thanks for the fixes |
Closes #692
Follow-up from #714
Adds the last missing details for this github issue
- [x] Add port_id to IbcMsg::Transfer (to match SDK `MsgTransfer)ibc-reflect
. Delete local channel/reflect address, but first "steal" all native tokens from reflect contract to the factoryibc-reflect
to allow proper integration testing