1

When trying to deploy to the Ethereum main net I am getting the error:

Deploying Migrations...
... undefined

Error encountered, bailing. Network state unknown. Review successful transactions manually.

Error: insufficient funds for gas * price + value

However, I am able to deploy it to Rinkeby fine and definitely have enough funds.

I am running my ethereum node on an AWS EC2 instance and then I ssh into that instance to try to compile and deploy.

My truffle.js:

live: {
      host: "localhost",
      port: 8545,
      network_id: 1,
      gas: 4700000,
      gasLimit: 2000000000,
      from: "ACCOUNT_NUMBER"
    }

1 Answer 1

1

It's always the little things!

In my truffle.js I specified a parameter as GasLimit instead of GasPrice

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.