mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 23:13:45 +00:00
fix: temporarily disable string encoding for new opcodes (#737)
feat: temporarily disable string encoding for new opcodes
This commit is contained in:
parent
733dd01a9a
commit
c3b7678ccc
2 changed files with 15 additions and 6 deletions
|
|
@ -288,7 +288,11 @@ 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",
|
||||||
|
|
@ -305,10 +309,15 @@ var opCodeToString = map[OpCode]string{
|
||||||
MSIZE: "MSIZE",
|
MSIZE: "MSIZE",
|
||||||
GAS: "GAS",
|
GAS: "GAS",
|
||||||
JUMPDEST: "JUMPDEST",
|
JUMPDEST: "JUMPDEST",
|
||||||
TLOAD: "TLOAD",
|
|
||||||
TSTORE: "TSTORE",
|
// we temporarily comment these out, since ccc expects
|
||||||
MCOPY: "MCOPY",
|
// the "opcode 0x%x not defined" string in the traces,
|
||||||
PUSH0: "PUSH0",
|
// should uncomment once ccc supports the string version.
|
||||||
|
// TLOAD: "TLOAD",
|
||||||
|
// TSTORE: "TSTORE",
|
||||||
|
// MCOPY: "MCOPY",
|
||||||
|
|
||||||
|
PUSH0: "PUSH0",
|
||||||
|
|
||||||
// 0x60 range - push.
|
// 0x60 range - push.
|
||||||
PUSH1: "PUSH1",
|
PUSH1: "PUSH1",
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import (
|
||||||
const (
|
const (
|
||||||
VersionMajor = 5 // Major version component of the current release
|
VersionMajor = 5 // Major version component of the current release
|
||||||
VersionMinor = 3 // Minor version component of the current release
|
VersionMinor = 3 // Minor version component of the current release
|
||||||
VersionPatch = 9 // Patch version component of the current release
|
VersionPatch = 10 // Patch version component of the current release
|
||||||
VersionMeta = "mainnet" // Version metadata to append to the version string
|
VersionMeta = "mainnet" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue