mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +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",
|
GASLIMIT: "GASLIMIT",
|
||||||
CHAINID: "CHAINID",
|
CHAINID: "CHAINID",
|
||||||
SELFBALANCE: "SELFBALANCE",
|
SELFBALANCE: "SELFBALANCE",
|
||||||
|
BASEFEE: "BASEFEE",
|
||||||
// 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",
|
|
||||||
|
|
||||||
// 0x50 range - 'storage' and execution.
|
// 0x50 range - 'storage' and execution.
|
||||||
POP: "POP",
|
POP: "POP",
|
||||||
|
|
@ -309,15 +305,10 @@ var opCodeToString = map[OpCode]string{
|
||||||
MSIZE: "MSIZE",
|
MSIZE: "MSIZE",
|
||||||
GAS: "GAS",
|
GAS: "GAS",
|
||||||
JUMPDEST: "JUMPDEST",
|
JUMPDEST: "JUMPDEST",
|
||||||
|
TLOAD: "TLOAD",
|
||||||
// we temporarily comment these out, since ccc expects
|
TSTORE: "TSTORE",
|
||||||
// the "opcode 0x%x not defined" string in the traces,
|
MCOPY: "MCOPY",
|
||||||
// should uncomment once ccc supports the string version.
|
PUSH0: "PUSH0",
|
||||||
// TLOAD: "TLOAD",
|
|
||||||
// TSTORE: "TSTORE",
|
|
||||||
// MCOPY: "MCOPY",
|
|
||||||
|
|
||||||
PUSH0: "PUSH0",
|
|
||||||
|
|
||||||
// 0x60 range - push.
|
// 0x60 range - push.
|
||||||
PUSH1: "PUSH1",
|
PUSH1: "PUSH1",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue