Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Reduce default maximum gas limit to 2M
Browse files Browse the repository at this point in the history
  • Loading branch information
sorawit committed Apr 1, 2020
1 parent b3dcea1 commit b6a1bf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chain/cmd/bandd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ func InitCmd(
genDoc.AppState = appState
genDoc.ConsensusParams = &types.ConsensusParams{
Block: types.BlockParams{
MaxBytes: 200000, // 0.2MB
MaxGas: 20000000, // 20M gas (Maximum oracle script size uses 15M)
TimeIotaMs: 1000, // 1s
MaxBytes: 200000, // 0.2MB
MaxGas: 2000000, // 2M gas
TimeIotaMs: 1000, // 1s
},
Evidence: types.EvidenceParams{
MaxAge: 100000,
Expand Down

0 comments on commit b6a1bf7

Please sign in to comment.