chore: params cleanup (#12480)
Adds missing error checks to the modules that migrated away from `x/params`
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user