Skip to content

Commit

Permalink
Fix test coverage run
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Sep 16, 2024
1 parent 5af301c commit 143dd59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/build/building-modules/14-simulator.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func NewCustomApp(...) {
gov.NewAppModule(app.govKeeper, app.accountKeeper, app.supplyKeeper),
mint.NewAppModule(app.mintKeeper),
distr.NewAppModule(app.distrKeeper, app.accountKeeper, app.supplyKeeper, app.stakingKeeper),
staking.NewAppModule(app.stakingKeeper, app.accountKeeper, app.supplyKeeper),
staking.NewAppModule(cdc, app.stakingKeeper),
slashing.NewAppModule(app.slashingKeeper, app.accountKeeper, app.stakingKeeper),
)

Expand Down
2 changes: 1 addition & 1 deletion x/genutil/client/cli/validate_genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func TestValidateGenesis(t *testing.T) {
}(),
"section is missing in the app_state",
module.NewManagerFromMap(map[string]appmodulev2.AppModule{
"custommod": staking.NewAppModule(cdc, nil, nil, nil),
"custommod": staking.NewAppModule(cdc, nil),
}),
},
{
Expand Down

0 comments on commit 143dd59

Please sign in to comment.