axelarnetwork / support

Your source for support with the Axelar Network
3 stars 1 forks source link

Unable to deploy on Mumbai #51

Closed Olanetsoft closed 10 months ago

Olanetsoft commented 10 months ago

Hello i'm trying to deploy the sample "ExecutableSample" contract from github on the mumbai network and it's just failing every time, i tried on goerli it worked, but failed on BSC testnet too i'm using remix to deploy Anyone can help, i don't know what i'm doing wrong.

It returns: invalid opcode: opcode PUSH0

Olanetsoft commented 10 months ago

I am assuming you're using Solidity version 0.8.20. What happened is in the new solidity, Ethereum is the only blockchain that supports the 0x5f op code. That's why your code works on Goerli and not any other EVM chain. If you drop your solidity version down to 0.8.19 it should work other chains.