gpu-compute-chain/x/colinear-core/keeper/params.go

18 lines
376 B
Go
Raw Normal View History

2022-08-25 16:51:14 -07:00
package keeper
import (
"colinear/x/colinear-core/types"
2022-08-25 16:51:14 -07:00
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, &params)
}