diff --git a/testutil/keeper/accountedpool.go b/testutil/keeper/accountedpool.go index a6a65dd4f..c72cbab84 100644 --- a/testutil/keeper/accountedpool.go +++ b/testutil/keeper/accountedpool.go @@ -11,7 +11,6 @@ import ( "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - typesparams "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/elys-network/elys/x/accountedpool/keeper" "github.com/elys-network/elys/x/accountedpool/types" "github.com/stretchr/testify/require" @@ -29,26 +28,14 @@ func AccountedPoolKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { registry := codectypes.NewInterfaceRegistry() cdc := codec.NewProtoCodec(registry) - - paramsSubspace := typesparams.NewSubspace(cdc, - types.Amino, - storeKey, - memStoreKey, - "AccountedPoolParams", - ) k := keeper.NewKeeper( cdc, storeKey, memStoreKey, - paramsSubspace, nil, ) ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.NewNopLogger()) - params := types.DefaultParams() - // Initialize params - k.SetParams(ctx, ¶ms) - return k, ctx }