-
Notifications
You must be signed in to change notification settings - Fork 174
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
wasmd 30 + ibc v4 + IBCFees #387
Conversation
dude I love this! I'm going to approve from the notional side. We'll need approvals from others, though. Sorry, after review, I gotta ask if you've got the migrations in here: https://github.com/cosmos/ibc-go/blob/v5.1.0/docs/migrations/v3-to-v4.md |
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.
I think this requires one or more upgrade handlers:
https://github.com/cosmos/ibc-go/blob/v5.1.0/docs/migrations/v3-to-v4.md
I think that also to avoid the problem plaguing stride, we need to initialize the ibcfee keeper specifically.
@Reecepbcups should we hold it until v13? IBCFee is a new feature and I'm not sure we need it in v12. |
@vuong177 IBC v4 & ibcfees is required for wasmd 0.30.0 - so if we want latest wasmd has to be in v12 |
@faddat I looked over this document and seems you only need the upgrade handler if your chain has factory/address/name denoms. It also only says migration is needed for 3.1->4. We are 3.4->4. But I have still added |
So I suspect that those are outdated documents. But I don't know. I'm going to reach out to the IBC team to make sure. |
I would also like to wait to merge this until these changes land upstream: And then the other thing that we are lacking here, so we add the IBC fee module, but are we initializing its store key explicitly in an upgrade handler? |
@faddat oops yea I had forgot to do this. It is now, done in above commit thx |
Ok, so per the dev chat, we're going to wait on an alternative impl that doesn't include the ibcfee module. Personally, prefer this route. |
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.
let's do it, but wait on upgrading uni till ibc-go changes for ics23 v0.9.0 are in
I got that err when running a testnet. @faddat @Reecepbcups. |
my test_node.sh ran just fine. I don't see any wasmKeeper Params can be changed that relate to version |
Hmm I got it when running the upgrade binary through gov. |
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.
requesting changes due to reported issue
The e2e upgrade test still fails, we need it to pass all before merging. @Reecepbcups |
To me @vuong177 it looked to me like it could be the test itself as an issue. I just kicked off CI again to check. |
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. utACK.
Looks like this needs a resolve against base branch but agree we should get this one in if poss. |
Can we enable StargateQueries as part of wasmd 0.30? CosmWasm/wasmd#1069 |
@giansalex Yes, I will commit this in the morning |
Which queries do you want to see enabled @giansalex ? |
I am looking for the routes needed to implement ICQ in a contract.
|
I think this is ready to ship - QQ should we have stargate queries in another PR? That feels like the sketchiest thing that we might have to back out of after testing & might be good to have it atomically within a single PR |
Pending ibc-go ICS23 v0.9.0 bump 2868 PR
wasmd 0.30.0
ibc go v4.2.0
New IBCFeeKeeper by following official guide
ibcRouter updated wasmStack with ibc fee keeper middleware. Same for transfer & icaHost
Added ibc v3->4 upgrade comment from official guide