-
Notifications
You must be signed in to change notification settings - Fork 655
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
deps: update to cosmos-sdk v0.52 (Olympus) #7261
Conversation
2bb67b5
to
0832575
Compare
@@ -641,7 +641,7 @@ func (suite *KeeperTestSuite) TestJSONOnRecvPacket() { | |||
"messages": [], | |||
"metadata": "ipfs://CID", | |||
"title": "IBC Gov Proposal", | |||
"summary": "tokens for all!", | |||
"summary": "tokens for some, miniature American flags for others!", |
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.
lol'ed profusely
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.
more than half way there, looks great so far!
|
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.
finished all files. Idea of merging and taking care of some things post merge sounds good to me.
Thanks so much @tac0turtle for initial work and @damiannolan and @chatton for powering through with it!
ante.NewValidateMemoDecorator(options.AccountKeeper), | ||
ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper), | ||
ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), | ||
ante.NewSetPubKeyDecorator(options.AccountKeeper), // SetPubKeyDecorator must be called before all signature verification decorators |
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.
trusting this comment is still valid and handled by the new NewSigVerificationDecorator
handler that appears to encompass all ones that are now removed
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 so! But I didn't verify
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.
Happy to move forward with this to main now. I've created a number of issues to follow up with and I will continue migrating the rest of the codebase to use appmodule.Environment
Thanks to everyone who contributed on this PR and to the SDK team for their responsiveness in addressing any issues that came up from it.
The last blocking issue listed in the description is in relation to client encoding of txs which directly affects testing compatibility and upgrade tests. This is being actively worked on and I think it can be resolved soon ™️
edit: note that build (arm)
was removed but is still showing as a required check on PR. This doesn't matter anymore
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 could use more love too at some point
removed as required 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.
Holy moly this was not a small upgrade 🙈
Really great work on this! LGTM and follow up with smaller PRs as soon as possible.
@@ -42,7 +42,7 @@ const ( | |||
// ChainBRelayerName is the name given to the relayer wallet on ChainB | |||
ChainBRelayerName = "rlyB" | |||
// DefaultGasValue is the default gas value used to configure tx.Factory | |||
DefaultGasValue = 500_000_0000 | |||
DefaultGasValue = 100_000_00 |
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.
yeah, would be interesting to understand if this is because it was sent too high in the first place, or the sdk somehow requires less? Not very important if this value works (although, should it not be 10_000_000? :D )
This reverts commit 8575743.
This reverts commit 8575743.
* Revert "chore: bump to sdk v0.52-rc.2 (#7882)" This reverts commit 4e54444. * Revert "chore: clean up module impls (#7865)" This reverts commit d91eb00. * Revert "fix: sanitize gov v1 proposal in e2e tests for compatibility with 0.52 (#7861)" This reverts commit 39b190a. * Revert "chore: bump sdk versions (#7843)" This reverts commit c29c1ab. * Revert "fix: wasm docker file + wasm simapp gas limit (#7830)" This reverts commit 7f0cf54. * Revert "chore: use header service in localhost client (#7757)" This reverts commit 0bea84d. * Revert "refactor: ibc core runtime env (#7601)" This reverts commit f5e1a4c. * Revert "refactor: use branch service in 29-fee (#7732)" This reverts commit d50f7ba. * Revert "chore: address some linter complaints (#7734)" This reverts commit 83fdb7f. * Revert "chore: refactor event service to 29-fee (#7728)" This reverts commit 0b2866d. * Revert "refactor: update 29-fee to use runtime.Environment (#7617)" This reverts commit c8dc02c. * Revert "refactor: use event service in transfer mod (#7725)" This reverts commit 0e72d08. * Revert "refactor: update transfer to use runtime.Environment (#7615)" This reverts commit fd6a78a. * Revert "Remove circuit module (#7715)" This reverts commit 39d8547. * Revert "refactor: use header info for interchain accounts address generation (#7713)" This reverts commit c15bb5c. * Revert "refactor: update icahost to use runtime.Environment (#7600)" This reverts commit 7aae649. * Revert "chore: update import alias to align (#7710)" This reverts commit a14feef. * Revert "deps: update to cosmos-sdk v0.52 (Olympus) (#7261)" This reverts commit 8575743. * fix unwanted reverts * remove invariant * lint * last go1.23 change * remove unecessary testing keeper * update go version in dockerfile * fix docker image
Description
Updates ibc-go to cosmos-sdk olympus release.
We will also migrate to use
runtime.Environment
. Currently this PR only migrates icacontroller toruntime.Environment
to fix test failures which suffered from loss of event propagation when usingUnwrapSDKContext
due to event emission on a copy.Blocking issues:
** Required for compatability tests and E2E upgrade tests as client code working on v0.52 is incompatible against older node software
closes: #7223
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.