Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@MuhtasimTanmoy
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant