You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
ABC: return same from OpcodeAPI's as_opcode() as from Opcode.
99.99% cargo-culting.
I don't understand the purpose of this structuring, but the function
signatures don't match, and this is the only permutation I could
find between OpcodeAPI, Opcode and FRONTIER_OPCODES that stops
producing an error when running `mypy`:
eth/vm/opcode.py:40: error: Return type "Opcode" of "as_opcode" incompatible with return type "Type[Opcode]" in supertype "OpcodeAPI"
This commit has been cherry-picked from previous PR:
07b4398
0 commit comments