From aff951cdbcaf196005f7e70c341bf5a0b4f475f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jer=C3=B3nimo=20Albi?= Date: Thu, 27 Jul 2023 09:20:11 +0200 Subject: [PATCH] fix: correct consensus param keeper constructor key (#3598) * fix: correct consensus param keeper constructor key * chore: update changelog --- changelog.md | 3 ++- ignite/templates/app/files/app/app.go.plush | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index a6363ba97d..4c06f7c836 100644 --- a/changelog.md +++ b/changelog.md @@ -14,7 +14,8 @@ ### Fixes -- [#3592](https://github.com/ignite/cli/pull/3592) fix(pkg/protoanalysis): support HTTP rule parameter arguments +- [#3592](https://github.com/ignite/cli/pull/3592) Fix `pkg/protoanalysis` to support HTTP rule parameter arguments +- [#3598](https://github.com/ignite/cli/pull/3598) Fix consensus param keeper constructor key in `app.go` ## [`v0.27.0`](https://github.com/ignite/cli/releases/tag/v0.27.0) diff --git a/ignite/templates/app/files/app/app.go.plush b/ignite/templates/app/files/app/app.go.plush index e706d54761..c27b33b2c7 100644 --- a/ignite/templates/app/files/app/app.go.plush +++ b/ignite/templates/app/files/app/app.go.plush @@ -316,7 +316,7 @@ func New( ) // set the BaseApp's parameter store - app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, keys[upgradetypes.StoreKey], authtypes.NewModuleAddress(govtypes.ModuleName).String()) + app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, keys[consensusparamtypes.StoreKey], authtypes.NewModuleAddress(govtypes.ModuleName).String()) bApp.SetParamStore(&app.ConsensusParamsKeeper) // add capability keeper and ScopeToModule for ibc module