Open nklipa13 opened 6 years ago
I'm getting the same issue.
@madjarevicn @nklipa13
Could you see if setting the default gas
key like this helps?
rinkeby: {
provider: function() {
return new HDWalletProvider(mnemonic, 'https://rinkeby.infura.io/');
},
network_id: '4',
gas: 4700000
},
Works for me.
@cgewecke great, can you explain why is that? Because it worked two-three days ago? Thanks
I'm getting error when trying to deploy contract to Kovan or Rinkeby network.
Steps to reproduce:
mkdir TruffleTest
cd TruffleTest
truffle unbox metacoin
const mnemonic = process.env.ETHEREUM_ACCOUNT_MNEMONIC;
module.exports = { networks: { kovan: { provider: function() { return new HDWalletProvider(mnemonic,
https://kovan.infura.io/
); }, network_id: '42', gasPrice: 1000000000 }, rinkeby: { provider: function() { return new HDWalletProvider(mnemonic, 'https://rinkeby.infura.io/'); }, network_id: '4', }, test: { provider: function() { return new HDWalletProvider(mnemonic, 'http://127.0.0.1:8545/'); }, network_id: '*', }, } }