mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00

* [ci] Switch from `nosnakecase` to `revive` * [revive] Fix findings Signed-off-by: Julian Strobl <jmastr@mailbox.org>
17 lines
392 B
Go
17 lines
392 B
Go
package keeper
|
|
|
|
import (
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
"github.com/planetmint/planetmint-go/x/asset/types"
|
|
)
|
|
|
|
// GetParams get all parameters as types.Params
|
|
func (k Keeper) GetParams(_ 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)
|
|
}
|