mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
fix: enable correct string encoding of new opcodes (#815)
This commit is contained in:
parent
dfd4039be7
commit
3f5fb275ef
1 changed files with 5 additions and 14 deletions
|
|
@ -288,11 +288,7 @@ var opCodeToString = map[OpCode]string{
|
|||
GASLIMIT: "GASLIMIT",
|
||||
CHAINID: "CHAINID",
|
||||
SELFBALANCE: "SELFBALANCE",
|
||||
|
||||
// we temporarily comment this out, since ccc expects
|
||||
// the "opcode 0x%x not defined" string in the traces,
|
||||
// should uncomment once ccc supports the string version.
|
||||
// BASEFEE: "BASEFEE",
|
||||
BASEFEE: "BASEFEE",
|
||||
|
||||
// 0x50 range - 'storage' and execution.
|
||||
POP: "POP",
|
||||
|
|
@ -309,15 +305,10 @@ var opCodeToString = map[OpCode]string{
|
|||
MSIZE: "MSIZE",
|
||||
GAS: "GAS",
|
||||
JUMPDEST: "JUMPDEST",
|
||||
|
||||
// we temporarily comment these out, since ccc expects
|
||||
// the "opcode 0x%x not defined" string in the traces,
|
||||
// should uncomment once ccc supports the string version.
|
||||
// TLOAD: "TLOAD",
|
||||
// TSTORE: "TSTORE",
|
||||
// MCOPY: "MCOPY",
|
||||
|
||||
PUSH0: "PUSH0",
|
||||
TLOAD: "TLOAD",
|
||||
TSTORE: "TSTORE",
|
||||
MCOPY: "MCOPY",
|
||||
PUSH0: "PUSH0",
|
||||
|
||||
// 0x60 range - push.
|
||||
PUSH1: "PUSH1",
|
||||
|
|
|
|||
Loading…
Reference in a new issue