Skip to content

Commit

Permalink
limix gas fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vuong177 committed Dec 19, 2022
1 parent 6954f03 commit f7f8417
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion benchmarks/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,13 @@ func SetupWithGenesisAccountsAndValSet(b testing.TB, db dbm.DB, genAccs []authty
panic(err)
}

consensusParams := simtestutil.DefaultConsensusParams
consensusParams.Block.MaxGas = 100 * simtestutil.DefaultGenTxGas

wasmApp.InitChain(
abci.RequestInitChain{
Validators: []abci.ValidatorUpdate{},
ConsensusParams: simtestutil.DefaultConsensusParams,
ConsensusParams: consensusParams,
AppStateBytes: stateBytes,
},
)
Expand Down

0 comments on commit f7f8417

Please sign in to comment.