chore: params cleanup (#12480)

Adds missing error checks to the modules that migrated away from `x/params`
This commit is contained in:
Aleksandr Bezobchuk
2022-07-08 06:38:18 +00:00
committed by GitHub
parent 36ffd7a6da
commit 69d8fa2baf
5 changed files with 28 additions and 25 deletions
+3 -1
View File
@@ -38,7 +38,9 @@ func (keeper Keeper) InitGenesis(ctx sdk.Context, stakingKeeper types.StakingKee
}
}
keeper.SetParams(ctx, data.Params)
if err := keeper.SetParams(ctx, data.Params); err != nil {
panic(err)
}
}
// ExportGenesis writes the current store values