You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ica/host)!: migrate ica/host to params to be self managed (#3520)
* feat: add proto msg
* feat: add msg-server implementation
* wip: add migrations
* fix failing tests
* cleanup
* cleanup
* Update modules/apps/27-interchain-accounts/host/migrations/v8/migrations.go
* fix(transfer): 'p.AllowMessages' missing '&' in 'NewParamSetPair'
* fix(transfer): 'p.HostEnabled' missing '&' in 'NewParamSetPair'
* refactor(ica/host): reduce code duplication by removing 'IsHostEnabled' and 'GetAllowMessages' functions
* refactor(ica/host): moved getter and setters to 'keeper.go'
* refactor(ica/host): moved getter and setters to 'keeper.go'
* fix(ica/host): handling the SetParam errors now
* imp(ica/host): added failure cases to TestValidateParams
* feat(ica/host): added codec for msg
* fix(ica/host): added host's RegisterInterfaces to module.go
* fix(changelog): removed manual addition
* imp(ica/host): made GetParams more economical
* fix(fee/test): handled ica's 'SetParams' error during testing
* imp(ica/host): using ibcerrors instead of relying on sdk's govtypes
* style(ica/host): removed '*' from Migrator's keeper
* revert(ica/host): reverts to the previous commit as this is more consistent with what is done in module.go
* fix(simapp): added ParamKeyTable to the icahost subspace in app.go for migration
* feat(ica/host/test): added migrator_test.go
* style(ica/host/test): ran gofumpt
* feat(ica/host): passing legacySubspace to keeper instead
* fix(ica/host): removed unneeded reference to hss from 'NewAppModule' function
* fix(simapp): reduced modifications to simapp to 1
* fix(ica/host/test): updated tests
* style(ica/host): ran gofumpt
* docs(ica/host): fixed a typo
* style(ica/host): added a space for import separation
* style(ica/host): renamed 'migrator.go' to 'migrations.go'
* refactor(ica/host): removed unneeded validate function
* style(ica/host): storing ParamsKey using a string
* fix(ica/host): registered the msg_server in ica's module.go
* style(ica/host): removed unneeded fmt variable assignment
* imp(ica/host/test): added more test cases, and refactored the test
* style(ica/host/test): ran gofumpt
* imp(ica/host): 'GetParams' panics now if it can't find the params
* imp(core): added 'ErrInvalidAuthority'
* imp(ica/host): uses 'ErrInvalidAuthority'
* fix(ica/test): fixed test for the ica module
* imp(ica/host/test): added a new test case
* imp(ica/host/test): added params test to genesis
* style(ica/host): ran gofumpt
* imp(ica/host/test): added unset param test to keeper
* docs(ica/host): added tracker issue for removing params_legacy.go
* style(ica/host): improved test case naming
* fix(ica/host/test): fixed a minor inaccuracy with the test in the hopes of increasing codecov
* style(ica/host): updated err message
* imp(ica/transfer, core/errors): removed ErrInvalidAuthority
* style(ica/host): updated nil check to be more consistent
* style(transfer): renamed errors to errorsmod to avoid shadowing
* imp(ica/host/test): made test shorter
* imp(ica/host/test): removed unneeded comment
* style(ica/host/test): removed test case field names
* refactor(ica/host, fee/test): refactored Validate out of SetParams
* style(ica/host): ran gofumpt
* imp(ica/types): switched back to 'bz == nil'
* style(ica/host/test): looks better
* style(ica/host): changed panic message
* imp(ica/host): removed redundant Validate from msg server, handled in ValidateBasic
* style(ica/host): added code comment
* fix(ica/host): increase consensus version
* style(ica/host/test): moved success case to top
* style(ica/host/test): improve test styling
* docs(migration): added changes in app.go
* imp(ica/host): improved the error message
---------
Co-authored-by: srdtrk <59252793+srdtrk@users.noreply.github.com>
Co-authored-by: srdtrk <srdtrk@hotmail.com>
Copy file name to clipboardexpand all lines: docs/migrations/v7-to-v8.md
+15
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,21 @@ There are four sections based on the four potential user groups of this document
16
16
17
17
TODO: https://github.com/cosmos/ibc-go/pull/3505 (extra parameter added to transfer's `GenesisState`)
18
18
19
+
- You should pass the `authority` to the icahost keeper. ([#3520](https://github.com/cosmos/ibc-go/pull/3520)) See [diff](https://github.com/cosmos/ibc-go/pull/3520/files#diff-d18972debee5e64f16e40807b2ae112ddbe609504a93ea5e1c80a5d489c3a08a).
0 commit comments