-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Replies: 2 comments · 1 reply
-
This seems to have more to do with the contract. Was it compiled using experimental flags? Was it compiled from solidity? It was it written in asm? Or perhaps when deploying the contract to your local node, you included an address as the bytecode, which is then being attempted to be executed as code? Can you post the result of (moving to discussions) |
Beta Was this translation helpful? Give feedback.
All reactions
-
I wasn't using
|
Beta Was this translation helpful? Give feedback.
All reactions
-
did you fixed it yet ? |
Beta Was this translation helpful? Give feedback.
All reactions
This discussion was converted from issue #2064 on September 19, 2021 03:49.
-
Describe the bug
I have tried to estimate the gas to mint an ape for BAYC (I know contract closed, but MetaMask is still able to get estimate), but I am getting
This isn't the only contract I have tried, other contracts that I have used via MetaMask give me opcode errors as well, but for different opcode. I am not sure why this is happening. Also, if I provide my own priority and base fee, can I calculate the gas limit off of that?
Reproduction steps
My code is
Environment:
Desktop, NodeJS with my own geth node
Search Terms
Failed transaction opcode, invalid opcode: opcode 0xa7, opcode not defined, estimate gas
Beta Was this translation helpful? Give feedback.
All reactions