Versions in this module Expand all Collapse all v1 v1.4.0 Apr 25, 2024 v1.3.0 Apr 25, 2024 Changes in this version + var ModuleBasics = module.NewBasicManager(auth.AppModuleBasic{}, genutil.AppModuleBasic{}, bank.AppModuleBasic{}, ...) + var TestingStakeParams = stakingtypes.Params + func ExportGenesis(ctx sdk.Context, k Keeper) types.GenesisState + func InitGenesis(ctx sdk.Context, k Keeper, data types.GenesisState) + func MakeTestCodec() *codec.LegacyAmino + func MakeTestMarshaler() *codec.ProtoCodec + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, paramSpace paramstypes.Subspace) Keeper + func (k Keeper) GetChainLocked(ctx sdk.Context) bool + func (k Keeper) GetLockExemptAddresses(ctx sdk.Context) []string + func (k Keeper) GetLockExemptAddressesSet(ctx sdk.Context) map[string]struct{} + func (k Keeper) GetLockedMessageTypes(ctx sdk.Context) []string + func (k Keeper) GetLockedMessageTypesSet(ctx sdk.Context) map[string]struct{} + func (k Keeper) GetLockedTokenDenoms(ctx sdk.Context) []string + func (k Keeper) GetLockedTokenDenomsSet(ctx sdk.Context) map[string]struct{} + func (k Keeper) GetParamsIfSet(ctx sdk.Context) (params types.Params, err error) + func (k Keeper) SetChainLocked(ctx sdk.Context, locked bool) + func (k Keeper) SetLockExemptAddresses(ctx sdk.Context, lockExempt []string) + func (k Keeper) SetLockedMessageTypes(ctx sdk.Context, lockedMessageTypes []string) + func (k Keeper) SetLockedTokenDenoms(ctx sdk.Context, lockedTokenDenoms []string) + type TestInput struct + Codec codec.Codec + Context sdk.Context + LegacyAmino *codec.LegacyAmino + LockupKeeper Keeper + ParamsKeeper paramskeeper.Keeper + func CreateTestEnv(t *testing.T) TestInput