-
Notifications
You must be signed in to change notification settings - Fork 446
feat(coin): allow IBC denoms #4883
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
base: master
Are you sure you want to change the base?
Conversation
🛠 PR Checks Summary🔴 Maintainers must be able to edit this pull request (more info) Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):🔴 Maintainers must be able to edit this pull request (more info) ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
jefft0
left a comment
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.
All CI checks pass. Has tests. Ready for core dev review.
moul
left a comment
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.
Blocking, because I need more time to review this one. We planned to use realm/xxx for realms rather than ibc/xxx. If IBC is managed solely through contracts without any additional privileges then the token couldn’t have an ibc/ prefix.
Yes I noticed that problem and I need to clarify how important this |
|
EDIT: Reverted here e4dc952 due to the fact that |
revert previous change on realm prefixed denom.
Required for #4655
This PR updates the regexp used to validate a coin denom to accept IBC denoms.
IBC denoms format is:
(example :
ibc/542B346608DE032752AF0B21D165190090CD3194F6D177CF35025E39596ABC16)Where
tracerepresents the path used by the initial token. Eachtracecan be composed of one to many hops, and a hop format isportID/clientID(example :transfer/07-tendermint-2).if realm=="gno.land/r/aib/ibc/apps/transfer"to authorize denom mint with the ibc prefix. This is something that needs to be improved with a kind of whitelist.Any hint on how this could be achieved is welcome.