-
Notifications
You must be signed in to change notification settings - Fork 607
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 rate limits in upgrade #4340
Conversation
RIP goimports error. Do you have your editor set to format on save? |
I do, but it doesn't work when I fix conflicts and some other weird situations like that. @ValarDragon but!! this is not ready. The E2E tests are passing because I deactivated them after failing to get them to work (rip). I asked Nicco to test the upgrade with a state export to make sure the issue is with E2E and not with the upgrade |
That change makes a lot of sense! I thought that was just initialization. Thanks for the find! |
hmm, this is still failing when there contracts exist on v14. I'll try to test this again tomorrow on a real node and see what happens |
* param space initialization for rate limiting * lint
Latest updates:
We manually checked the presence of the contract parameter and rate limits post-upgrade. However, we should add a test in |
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
* added rate limits in upgrade * added upgrade test * refactor rate limiting tests and added rate limits pre-upgrade * lint * goimports * experiments for E2E * post merge lints * added RL before upgrade * just get the latest contract * experiments * updated wasm file * remove unnecessary prints * bad check * experiments without e2e * removed unnecessary fmt * param space initialization for rate limiting (#4360) * param space initialization for rate limiting * lint * better test * properly initialize empty params * fix typo * adding RL to E2E * removing RL again from E2E * debug * genesis * genesis 2 * add genesis and solve params bug * uncomment setup rate limiting * added configurable gov module * clean up * clean up and genesis test * upgrade handler * genesis clean up * clean up e2e * wire querier * route fix * fix router * debug things * fix init genesis bug * push fix * lint * fix * clean up upgrades * testing propper params after upgrade in E2E * "properly" unmarshaling the parm * goimports * allowing for types other than objects in cosmwasm queries * fix check for param reset * remove unnecessary prints * compiled with the proper vesion of workspace optimizer * Revert "compiled with the proper vesion of workspace optimizer" This reverts commit ab5cf6c. * added length check * params experiment for test with state-export --------- Co-authored-by: Roman <[email protected]> Co-authored-by: Roman <[email protected]> (cherry picked from commit a1e2b3d) # Conflicts: # app/keepers/modules.go # app/modules.go # app/upgrades/v15/export_test.go # app/upgrades/v15/upgrade_test.go # app/upgrades/v15/upgrades.go # tests/e2e/configurer/chain/commands.go # tests/e2e/e2e_test.go
* added rate limits in upgrade * added upgrade test * refactor rate limiting tests and added rate limits pre-upgrade * lint * goimports * experiments for E2E * post merge lints * added RL before upgrade * just get the latest contract * experiments * updated wasm file * remove unnecessary prints * bad check * experiments without e2e * removed unnecessary fmt * param space initialization for rate limiting (#4360) * param space initialization for rate limiting * lint * better test * properly initialize empty params * fix typo * adding RL to E2E * removing RL again from E2E * debug * genesis * genesis 2 * add genesis and solve params bug * uncomment setup rate limiting * added configurable gov module * clean up * clean up and genesis test * upgrade handler * genesis clean up * clean up e2e * wire querier * route fix * fix router * debug things * fix init genesis bug * push fix * lint * fix * clean up upgrades * testing propper params after upgrade in E2E * "properly" unmarshaling the parm * goimports * allowing for types other than objects in cosmwasm queries * fix check for param reset * remove unnecessary prints * compiled with the proper vesion of workspace optimizer * Revert "compiled with the proper vesion of workspace optimizer" This reverts commit ab5cf6c. * added length check * params experiment for test with state-export --------- Co-authored-by: Roman <[email protected]> Co-authored-by: Roman <[email protected]> (cherry picked from commit a1e2b3d) # Conflicts: # app/modules.go # tests/e2e/e2e_test.go
* Added rate limits in upgrade (#4340) * added rate limits in upgrade * added upgrade test * refactor rate limiting tests and added rate limits pre-upgrade * lint * goimports * experiments for E2E * post merge lints * added RL before upgrade * just get the latest contract * experiments * updated wasm file * remove unnecessary prints * bad check * experiments without e2e * removed unnecessary fmt * param space initialization for rate limiting (#4360) * param space initialization for rate limiting * lint * better test * properly initialize empty params * fix typo * adding RL to E2E * removing RL again from E2E * debug * genesis * genesis 2 * add genesis and solve params bug * uncomment setup rate limiting * added configurable gov module * clean up * clean up and genesis test * upgrade handler * genesis clean up * clean up e2e * wire querier * route fix * fix router * debug things * fix init genesis bug * push fix * lint * fix * clean up upgrades * testing propper params after upgrade in E2E * "properly" unmarshaling the parm * goimports * allowing for types other than objects in cosmwasm queries * fix check for param reset * remove unnecessary prints * compiled with the proper vesion of workspace optimizer * Revert "compiled with the proper vesion of workspace optimizer" This reverts commit ab5cf6c. * added length check * params experiment for test with state-export --------- Co-authored-by: Roman <[email protected]> Co-authored-by: Roman <[email protected]> (cherry picked from commit a1e2b3d) # Conflicts: # app/modules.go # tests/e2e/e2e_test.go * fix conflicts --------- Co-authored-by: Nicolas Lara <[email protected]>
Closes: #4303
What is the purpose of the change
This adds the rate limits in the v15 upgrade for when https://www.mintscan.io/osmosis/proposals/427 passes.
Brief Changelog
Testing and Verifying
Documentation and Release Note
Unreleased
section inCHANGELOG.md
? (yes / no)x/<module>/spec/
) / Osmosis docs repo / not documented)