Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simulation for gov #1064

Merged
merged 12 commits into from
Nov 1, 2022
Prev Previous commit
Next Next commit
add comment
  • Loading branch information
GNaD13 committed Oct 27, 2022
commit 3139aa6352ad32eeedc532820ec2714e75104d0b
1 change: 1 addition & 0 deletions x/wasm/simulation/proposals.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func DefaultSimulateClearAdminProposalContractSelector(
return contractAddr
}

// Simulate clear admin proposal
func SimulateClearAdminProposal(wasmKeeper WasmKeeper, contractSelector ClearAdminContractSelector) simtypes.ContentSimulatorFn {
return func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) simtypes.Content {
ctAddress := contractSelector(ctx, wasmKeeper)
Expand Down