diff --git a/app/modules.go b/app/modules.go index 87c9e7ce75..4921372af5 100644 --- a/app/modules.go +++ b/app/modules.go @@ -3,6 +3,7 @@ package gaia import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/auth" + authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/cosmos-sdk/x/auth/vesting" vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" @@ -51,9 +52,10 @@ import ( ibcproviderclient "github.com/cosmos/interchain-security/x/ccv/provider/client" providertypes "github.com/cosmos/interchain-security/x/ccv/provider/types" - gaiaparams "github.com/cosmos/gaia/v10/app/params" "github.com/strangelove-ventures/packet-forward-middleware/v7/router" routertypes "github.com/strangelove-ventures/packet-forward-middleware/v7/router/types" + + gaiaparams "github.com/cosmos/gaia/v10/app/params" ) var maccPerms = map[string][]string{ @@ -157,7 +159,7 @@ func simulationModules( appCodec := encodingConfig.Marshaler return []module.AppModuleSimulation{ - auth.NewAppModule(appCodec, app.AccountKeeper, nil, app.GetSubspace(authtypes.ModuleName)), + auth.NewAppModule(appCodec, app.AccountKeeper, authsims.RandomGenesisAccounts, app.GetSubspace(authtypes.ModuleName)), bank.NewAppModule(appCodec, app.BankKeeper, app.AccountKeeper, app.GetSubspace(banktypes.ModuleName)), capability.NewAppModule(appCodec, *app.CapabilityKeeper, false), feegrantmodule.NewAppModule(appCodec, app.AccountKeeper, app.BankKeeper, app.FeeGrantKeeper, app.interfaceRegistry),