* generate proto files * wip * wip: fix tests * wip: add tests * fix tests * fix tests * add changelog * address review comments * address review comments * add err check for setparams * updates Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
19 lines
410 B
Go
19 lines
410 B
Go
package exported
|
|
|
|
import (
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
|
|
)
|
|
|
|
type (
|
|
ParamSet = paramtypes.ParamSet
|
|
|
|
// Subspace defines an interface that implements the legacy x/params Subspace
|
|
// type.
|
|
//
|
|
// NOTE: This is used solely for migration of x/params managed parameters.
|
|
Subspace interface {
|
|
GetParamSet(ctx sdk.Context, ps ParamSet)
|
|
}
|
|
)
|