Skip to content
This repository was archived by the owner on Jan 14, 2020. It is now read-only.

Commit 0367869

Browse files
committed
Had to set gas for ropsten deployment
Otherwise got: ``` $ truffle migrate --network ropsten Using network 'ropsten'. Running migration: 1_initial_migration.js Deploying Migrations... Error encountered, bailing. Network state unknown. Review successful transactions manually. exceeds block gas limit ``` Just copied value from this comment: ConsenSys-archive/truffle#271 (comment)
1 parent fceab65 commit 0367869

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contracts/truffle.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ if (process.env.ROPSTEN_MNEMONIC) {
4545
process.env.ROPSTEN_MNEMONIC,
4646
`https://ropsten.infura.io/${process.env.INFURA_ACCESS_TOKEN}`)
4747
},
48+
gas: 3712388,
4849
network_id: 3
4950
}
5051
}

0 commit comments

Comments
 (0)