17 lines
375 B
Go
17 lines
375 B
Go
package keeper
|
|
|
|
import (
|
|
"cosmos-test/x/cosmostest/types"
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
)
|
|
|
|
// GetParams get all parameters as types.Params
|
|
func (k Keeper) GetParams(ctx sdk.Context) types.Params {
|
|
return types.NewParams()
|
|
}
|
|
|
|
// SetParams set the params
|
|
func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
|
|
k.paramstore.SetParamSet(ctx, ¶ms)
|
|
}
|