diff --git a/x/auth/keeper/params.go b/x/auth/keeper/params.go index 0e6a0202abfd..c3c50ba845dc 100644 --- a/x/auth/keeper/params.go +++ b/x/auth/keeper/params.go @@ -7,6 +7,7 @@ import ( ) // SetParams sets the auth module's parameters. +// NOTE: This method performs no validation of the parameters. func (ak AccountKeeper) SetParams(ctx context.Context, params types.Params) error { store := ak.storeService.OpenKVStore(ctx) bz := ak.cdc.MustMarshal(¶ms) diff --git a/x/distribution/keeper/params.go b/x/distribution/keeper/params.go index d79bfde01121..e18d05b7ebcb 100644 --- a/x/distribution/keeper/params.go +++ b/x/distribution/keeper/params.go @@ -19,7 +19,8 @@ func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) { return params } -// SetParams sets the distribution parameters to the param space. +// SetParams sets the distribution parameters. +// NOTE: This method performs no validation of the parameters. func (k Keeper) SetParams(ctx sdk.Context, params types.Params) error { store := ctx.KVStore(k.storeKey) bz, err := k.cdc.Marshal(¶ms) diff --git a/x/gov/keeper/params.go b/x/gov/keeper/params.go index 9e4aef9dd059..5a9c05e44a33 100644 --- a/x/gov/keeper/params.go +++ b/x/gov/keeper/params.go @@ -7,6 +7,7 @@ import ( ) // SetParams sets the gov module's parameters. +// NOTE: This method performs no validation of the parameters. func (k Keeper) SetParams(ctx sdk.Context, params v1.Params) error { store := ctx.KVStore(k.storeKey) bz, err := k.cdc.Marshal(¶ms)