Skip to content

Commit

Permalink
remove unused simulation files and migrators (#1786)
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava authored Dec 8, 2024
1 parent 098c7a7 commit ce4332c
Show file tree
Hide file tree
Showing 73 changed files with 1 addition and 23,854 deletions.
30 changes: 1 addition & 29 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation"
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/auth/vesting"
Expand Down Expand Up @@ -873,34 +872,7 @@ func New(
app.setupUpgradeHandlers()

// create the simulation manager and define the order of the modules for deterministic simulations
app.sm = module.NewSimulationManager(
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),
gov.NewAppModule(appCodec, &app.GovKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(govtypes.ModuleName)),
staking.NewAppModule(appCodec, app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName)),
distr.NewAppModule(appCodec, app.DistrKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(distrtypes.ModuleName)),
slashing.NewAppModule(appCodec, app.SlashingKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(slashingtypes.ModuleName)),
params.NewAppModule(app.ParamsKeeper),
evidence.NewAppModule(app.EvidenceKeeper),
ibc.NewAppModule(app.IBCKeeper),
groupmodule.NewAppModule(appCodec, app.GroupKeeper, app.AccountKeeper, app.BankKeeper, app.interfaceRegistry),
authzmodule.NewAppModule(appCodec, app.AuthzKeeper, app.AccountKeeper, app.BankKeeper, app.interfaceRegistry),
transferModule,
specModule,
epochstorageModule,
dualstakingModule,
subscriptionModule,
pairingModule,
conflictModule,
projectsModule,
protocolModule,
plansModule,
rewardsModule,
// this line is used by starport scaffolding # stargate/app/appModule
)
app.sm.RegisterStoreDecoders()
app.sm = module.NewSimulationManager()

// initialize stores
app.MountKVStores(keys)
Expand Down
92 changes: 0 additions & 92 deletions app/simulation_test.go

This file was deleted.

118 changes: 0 additions & 118 deletions x/conflict/module_simulation.go

This file was deleted.

29 changes: 0 additions & 29 deletions x/conflict/simulation/conflict_vote_commit.go

This file was deleted.

29 changes: 0 additions & 29 deletions x/conflict/simulation/conflict_vote_reveal.go

This file was deleted.

29 changes: 0 additions & 29 deletions x/conflict/simulation/detection.go

This file was deleted.

15 changes: 0 additions & 15 deletions x/conflict/simulation/simap.go

This file was deleted.

Loading

0 comments on commit ce4332c

Please sign in to comment.