Skip to content

Error encountered, bailing. Network state unknown. Review successful transactions manually. Error: The contract code couldn't be stored, please check your gas amount. #54

@MuhtasimTanmoy

Description

@MuhtasimTanmoy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions