debug_traceBlockBy{Number,Hash}
outputs new opcodes for pre-fork blocks
#29464
Labels
debug_traceBlockBy{Number,Hash}
outputs new opcodes for pre-fork blocks
#29464
System information
Geth version:
geth version 1.13.14-stable-2bd6bd01
CL client & version: none
OS & Version: Linux
Expected behaviour
The output of
debug_traceBlockByNumber
should containinvalid
for cancun opcodes in pre-cancun blocks (or any other fork that introduces new opcodes).Actual behaviour
The trace contains the new opcodes
BLOBHASH
,BLOBBASEFEE
,TLOAD
,TSTORE
,MCOPY
despite these not being active yet.Steps to reproduce the behaviour
Make sure cancun is not active
Start geth and fund the test account
Send a transaction that uses
BLOBHASH
, specificallyPUSH0, PUSH0, BLOBHASH, PUSH0, PUSH0
.Output of the trace will contain
BLOBHASH
as the last opcode despite the opcode being interpreted as invalid opcode.The text was updated successfully, but these errors were encountered: