RedSquirrelTech / hoscdev

Code for Hands on Smart Contract Development. We recommend https://quickbeam.xyz/ for a more interactive learning experience. (discount code: HOSCDEV100)
http://shop.oreilly.com/product/0636920216018.do
137 stars 51 forks source link

Migrations could not deploy due to insufficient funds on Goerli Testnet #77

Open henrytirla opened 2 years ago

henrytirla commented 2 years ago

Hello I have been trying to deploy my contract to the goerli test network but i get this error.

Migrations dry-run (simulation)

Network name: 'goerli-fork' Network id: 5 Block gas limit: 8000000 (0x7a1200)

1_initial_migration.js

Replacing 'Migrations'

Error: Deployment Failed

"Migrations" could not deploy due to insufficient funds

If you check my wallet address on the goerli test network you will see i have sufficient ETHER. Thank you

henrytirla commented 2 years ago

Now i realise if i run truffle develop --network goerli and use the first account with the truffle develp environment it works but this doesn't reflect of the goerli testnet blockchain