Haven't been able to deploy ANY contract on ETH Mainnet or Goerli for 2 days straight now.
BSC, Arbitrum, BSC testnet, arbitrum testnet works, everything works, EXCEPT for ETH.
Anyone knows how to fix this?
Deploying on Remix, and have tried using multiple RPCs.
Apr 22, 2023, 4:50 PM
Provide an hogher gas limit
Apr 22, 2023, 4:52 PM
Definitely a gas issue. Code might be too big for the gas limit you are giving
Apr 22, 2023, 4:54 PM
Just tried setting the gas limit to the max and it worked, thanks!
Apr 22, 2023, 5:07 PM
Had the same issue. Its a wierd one with rpc calculating wrong gas amount. You'll need to set gas limit manually
Apr 22, 2023, 9:36 PM
Wish I realized before I lost .6ETH on failed transactions haha, but thanks to y’all helpful people I didn’t lose anymore at least
Apr 22, 2023, 9:36 PM
Lol same here. Sadly hardhat doesn't recognize the issue with rpc and broadcasts the tx, thinking it'll succeed.
Atleast on remix, it'll show this error. Funny thing is, if you spam the deploy button on remix, ~3/10 it'll work as intended
Apr 22, 2023, 9:38 PM