-
Notifications
You must be signed in to change notification settings - Fork 31
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
Added handling class data and token data #43
Added handling class data and token data #43
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.
this is really great. i can tell you thought about this! some small comments and then lg2m
Co-authored-by: ekez <30676292+0xekez@users.noreply.github.com>
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.
looking good! would you mind adding some tests for these?
i think the big things that need to be covered are:
- does the validation logic for
NonFungibleTokenPacketData
work (unit tests + 1 integration test). - does the memo get added to response attributes (unit test or heavily mocked integration test b/c multi-test can't do IBC stuff)
- does class data get forwarded? this should be testable using the adversarial tests framework by crafting a packet on the adversary chain with data and then sending it across the other two and making sure that the data is queryable.
Co-authored-by: ekez <30676292+0xekez@users.noreply.github.com>
merging this. i will write more tests on top. thanks @Art3miX! you have significantly increased the speed at which we'll be able to ship this. |
* Added handling class data nad token data * fmt/clippy * Apply suggestions from code review Co-authored-by: ekez <30676292+0xekez@users.noreply.github.com> * zeke review changes * added memo * Update contracts/cw-ics721-bridge/src/contract.rs Co-authored-by: ekez <30676292+0xekez@users.noreply.github.com> * zeke comments fixes * moved tests to testing folder * Add test for metadata forwarding. Co-authored-by: ekez <30676292+0xekez@users.noreply.github.com> Co-authored-by: ekez <zekemedley@gmail.com>
No description provided.