Closed gsalzer closed 4 years ago
In file src/opcodes.py, replace the line
src/opcodes.py
CREATE2 = OpCode("CREATE2", 0xfb, 4, 1)
by
CREATE2 = OpCode("CREATE2", 0xf5, 4, 1)
The hex code of CREATE2 is 0xf5, not 0xfb.
0xf5
0xfb
Furthermore I suggest to integrate the lines below the headline
# New Byzantinium OpCodes for block.number >= BYZANTIUM_FORK_BLKNUM
into the general list of instructions, since the Constantinople opcodes, even newer than Byzantinium, have been integrated there as well.
@gsalzer - please could you create a pull-request. I am happy to accept.
@b-scholz done
In file
src/opcodes.py
, replace the lineby
The hex code of CREATE2 is
0xf5
, not0xfb
.Furthermore I suggest to integrate the lines below the headline
into the general list of instructions, since the Constantinople opcodes, even newer than Byzantinium, have been integrated there as well.