-
Notifications
You must be signed in to change notification settings - Fork 117
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
[CORE-538] Upgrade to Cosmos 0.50.1 and CometBFT 0.38 #867
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ee5487e
[CORE-538] Update to Comsos 0.50.1
lcwik cd7a783
Update cosmovisor version.
lcwik cbcd03c
Fix simulation since NewContext doesn't pass through the chainId whil…
lcwik f23cd65
Swap to AppGenesisFromFile as per Cosmos upgrade guide https://docs.c…
lcwik 76ec8d1
Remove TODO since blocktime makes sense to do in BeginBlocker since i…
lcwik b4dd0dd
Re-order imports
lcwik 68d242c
Fix typo
lcwik fff691f
Address Taehoon's PR comments.
lcwik 8c1a3f3
Resolve/update minor TODOs.
lcwik 9656edc
Address Roy's comments.
lcwik bdd0719
Update message types, improve testapp logging/debugging for app hash …
lcwik 4078041
Rebase updates that required changes including ICA message and contro…
lcwik 208f41b
Address Taehoon's comments wrt to message types.
lcwik 0328e71
Fix lint
lcwik 81d7da8
Skip upgrade test till upgrade handler has been updated for 4.0.0
lcwik 069ee8f
Fix data race in test code
lcwik 61fbda5
Increase timeout since some suites of tests are taking longer then th…
lcwik 47ecfd6
Remove the ICA controller and drop ICA from simulation
lcwik 857a768
Update protocol/app/module/interface_registry.go
lcwik 131a772
Address Taehoon's comments.
lcwik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -333,7 +333,6 @@ | |
"port": "icahost" | ||
} | ||
}, | ||
"params": null, | ||
"perpetuals": { | ||
"perpetuals": [], | ||
"liquidity_tiers": [], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why are we adding
ICAControllerKeeper
, for my understanding? For supporting interchain accounts we specifically wanted to avoid the controllerkeeper (context).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.
The ICAControllerKeeper is still disabled since
Enabled
is false in the upgrade (note theEnabled
field is taking on the default value).So instead of it being hard-coded disabled it is being disabled via parameters.
The simulation in IBC v8 expects that the controller module to exist otherwise the update params calls it generates fail with them being unroutable causing the sim tests to fail.
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.
Instead of going with this approach, is it possible to simply exclude ICA module from simulation testing? Empirically, simulation testing is not very high signal for the dYdX chain, let alone a third-party module that is tested elsewhere.
We specifically preferred to explicitly disable (in code, instead of through gov-updatable params) the controller sub-module altogether to reduce surface of risk. This also eliminates the potential bugs in upgrade handler.
Simulation testing alone does not justify altering the original approach, IMO. Lmk if the above is possible and happy to huddle!
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 swapped to exclude the
interchainaccounts
module from simulation as suggested.