0

I need your help guys.. I deployed this contract on Goerli testnet and everything works perfectly fine but when i try to deploy it on ETH mainnet it throws above error.

Please can any guru in the house help me solve this please. Am using remix for deployment and below is the code am trying to deploy enter image description here

1
  • Did you check of the contract size is less than the maximum size? Commented Aug 6, 2023 at 14:50

1 Answer 1

0

You're trying to deploy to "Remix VM (Shanghai)", not on Mainnet. You need to switch to "Injected Provider" and use metamask.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.