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

Commit

Permalink
Merge branch 'master' into fix-typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Benzbeeb authored Sep 17, 2020
2 parents a94c082 + 668cdee commit b662f6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

### Chain (Non-consensus)

- (impv) [\#2646](https://github.com/bandprotocol/bandchain/pull/2646) Modify max block gas and bytes on migrate command

### Yoda

### Emitter & Flusher
Expand Down
3 changes: 3 additions & 0 deletions chain/cmd/bandd/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ func GenesisDocFromFile(genDocFile string, cdc *codec.Codec) (*tmtypes.GenesisDo

// Set up Tendermint consensus params with default value.
genDoc.ConsensusParams.Evidence = tmtypes.DefaultEvidenceParams()
genDoc.ConsensusParams.Block.MaxBytes = 1000000 // 1M bytes
genDoc.ConsensusParams.Block.MaxGas = 5000000 // 5M gas
genDoc.ConsensusParams.Block.TimeIotaMs = 1000 // 1 second

if err := genDoc.ValidateAndComplete(); err != nil {
return nil, err
Expand Down
6 changes: 3 additions & 3 deletions scan/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6833,9 +6833,9 @@ node-addon-api@^2.0.0:
integrity sha512-ASCL5U13as7HhOExbT6OlWJJUV/lLzL2voOSP1UVehpRD8FbSrSDjfScK/KwAvVTI5AS6r4VwbOMlIqtvRidnA==

node-fetch@^2.6.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==
version "2.6.1"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==

[email protected]:
version "0.9.0"
Expand Down

0 comments on commit b662f6b

Please sign in to comment.