You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error encountered, bailing. Network state unknown. Review successful transactions manually. Error: The contract code couldn't be stored, please check your gas amount.
#54
Open
MuhtasimTanmoy opened this issue
Jun 1, 2018
· 0 comments
This command don't work.
sh truffle/Compile.sh
When i manually try to migrate by ,
cd truffle; //successful
truffle compile; // successful
truffle migrate --network development //error
I get,
Error encountered, bailing. Network state unknown. Review successful transactions manually. Error: The contract code couldn't be stored, please check your gas amount.
I set the gas: 6721975 in truffle.js
also when i set gas: 6721976 get,
Error: Exceeds block gas limit.
i got this threshold from,
truffle console;
web3.eth.getBlock('latest').gasLimit;
This command don't work.
sh truffle/Compile.sh
When i manually try to migrate by ,
cd truffle; //successful
truffle compile; // successful
truffle migrate --network development //error
I get,
Error encountered, bailing. Network state unknown. Review successful transactions manually. Error: The contract code couldn't be stored, please check your gas amount.
I set the gas: 6721975 in truffle.js
also when i set gas: 6721976 get,
Error: Exceeds block gas limit.
i got this threshold from,
truffle console;
web3.eth.getBlock('latest').gasLimit;
Environment:
Truffle v4.1.5 (core: 4.1.5)
Solidity v0.4.21 (solc-js)
Any solution to run this project?
The text was updated successfully, but these errors were encountered: