Skip to main content
j7coder's user avatar
j7coder's user avatar
j7coder's user avatar
j7coder
  • Member for 1 year, 10 months
  • Last seen more than 1 year ago
comment
Ethereum Mainnet Error: "Migrations" could not deploy due to insufficient funds
Hello @Safi, Thank you for your reply. The current gas price was 43 GWEI and my transaction keeps running out of gas even if I set a gas price above the current price such as code' mainnet: { provider: () => new HDWalletProvider(mnemonic, mainnet.infura.io/v3/${INFURA_APP_KEY}), network_id: 1, confirmations: 2, timeoutBlocks: 200, gasPrice: 45000000000, gas: 2000000, //maxFeePerGas: 21000, //maxPriorityFeePerGas: 1000, }, code` ---------------------------------- Please help.
Loading…