Skip to content

Commit

Permalink
test(campaign): add SimulateMsgUpdateTotalSupply to WeightedOperation…
Browse files Browse the repository at this point in the history
… in simulation (#722)

Co-authored-by: Lucas Bertrand <lucas.bertrand.22@gmail.com>
  • Loading branch information
giunatale and lumtis authored Apr 13, 2022
1 parent 5367ac4 commit e0fbd70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/campaign/module_simulation.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ func (am AppModule) WeightedOperations(simState module.SimulationState) []simtyp
weightMsgEditCampaign,
campaignsim.SimulateMsgEditCampaign(am.accountKeeper, am.bankKeeper, am.profileKeeper, am.keeper),
),
simulation.NewWeightedOperation(
weightMsgUpdateTotalSupply,
campaignsim.SimulateMsgUpdateTotalSupply(am.accountKeeper, am.bankKeeper, am.profileKeeper, am.keeper),
),
simulation.NewWeightedOperation(
weightMsgInitializeMainnet,
campaignsim.SimulateMsgInitializeMainnet(am.accountKeeper, am.bankKeeper, am.profileKeeper, am.keeper),
Expand Down

0 comments on commit e0fbd70

Please sign in to comment.