2
$ truffle migrate

Compiling .\contracts\Migrations.sol...
Compiling .\contracts\Voting.sol...
Writing artifacts to .\build\contracts
Using network 'development'.
Running migration: 1_initial_migration.js
Deploying Migrations...
... undefined
Error encountered, bailing. Network state unknown. Review successful 
transactions manually.
Error: insufficient funds for gas * price + value

I am facing error during migration.

my truffle.js is:

require('babel-register')

module.exports = {
  networks: {
    development: {
      host: 'localhost',
      port: 8545,
      network_id: '*', // Match any network id
      gas: 4712388,
      from: '0xe8321ca272cb292Cc2485fBa749Fd20d40ed5C44'
    }
  }
};

gas limit 4712388 then insufficient...

gas limit 4712389 then exceeds...what to do ?

qbsp
  • 4,367
  • 2
  • 15
  • 26
BHAWIN
  • 41
  • 2

0 Answers0