-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ica/controller)!: migrate ica/controller parameters to be self m…
…anaged (#3590) * added the rpc endpoint and its messages * ran make protogen command * implemented sdk.Msg for MsgUpdateParams in types/msgs.go * added NewMsgUpdateParams method in msgs.go * added some functions in keeper and msg_Server * changed ibc_middleware file * changed the codec file * used ibcerrors in msg_server * made changes in all the files * style(ica/controller): ran gofumpt * imp(ica/controller): chnaged ParamsKey to string * imp(ica/controller): removed validate function as the parameter is just a bool * fix(ica/controller): fixed get/set functions based on new changes * fix(ica/host): fixed errors caused by the recent changes * style(ica/controller): ran gofumpt * fix(ica/host): fixed golanci-lint errors * docs(ica/host.proto): fixed comment on proto * fix(ica/controller): naively removed legacySubspace from App * feat(ica/controller): added legacy subspace to keeper instead * fix(simapp): reduced the number of modifications due to recent changes * style(ica/controller): ran gofumpt * fix(ica/controller): fixed merge conflict * style(ica/controller): made panic message more consistent * fix(ica): increased the migration version * fix(ica): increased the migration version * feat(ica/controller.test): added keeper params test * fix(ica.test): fixed test panic * feat(ica/controller.test): added test cases for MsgUpdateParams validation * feat(ica/controller.test): added test cases for UpdateParams rpc handler * imp(ica/controller.test): improved test cases for UpdateParams rpc handler * style(ica/controller.test): ran gofumpt * feat(ica/controller.test): added a new test called TestUnsetParams * feat(ica/controller.test): added a new test case to TestMsgUpdateParamsGetSigners * style(ica/controller.test): ran gofumpt * docs(ica/controller): added tracker issue * style(simapp): improved styling * docs: added migration info * docs(ica/controller): added godoc to UpdateParams * docs(ica/controller): fixed godocs * imp(ica/controller): improved err message * imp(ica): combined the two param migrations * style(ica/controller): changed the ordering of imports * feat(ica/controller.test): added a new test called TestGetAuthority to keeper tests * fix(ica/controller.test): fixed a repeated test case * style(ica/controller): used GetAuthority instead of k.authority * fix(ica/controller): fixed error type * style(ica/controller.proto): added missing space * docs(ica/controller): fixed godoc typo * style(ica/controller): used controllertypes alias * add comment * rename test * error message formatting * fix: ran proto-gen * chore: added 'option (cosmos.msg.v1.signer) = authority;' to proto * imp: ran proto-gen * fix(ica/controller): fixed migrations not checking nil keeper * style: removed nolint interfacer comment --------- Co-authored-by: srdtrk <srdtrk@hotmail.com> Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
- Loading branch information
1 parent
94332d8
commit 4af67c6
Showing
24 changed files
with
828 additions
and
171 deletions.
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
Oops, something went wrong.