fix: temporarily disable string encoding for new opcodes (#737)

feat: temporarily disable string encoding for new opcodes
This commit is contained in:
Péter Garamvölgyi 2024-05-02 17:46:11 +08:00 committed by GitHub
parent 733dd01a9a
commit c3b7678ccc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 6 deletions

View file

@ -288,7 +288,11 @@ var opCodeToString = map[OpCode]string{
GASLIMIT: "GASLIMIT",
CHAINID: "CHAINID",
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.
POP: "POP",
@ -305,10 +309,15 @@ var opCodeToString = map[OpCode]string{
MSIZE: "MSIZE",
GAS: "GAS",
JUMPDEST: "JUMPDEST",
TLOAD: "TLOAD",
TSTORE: "TSTORE",
MCOPY: "MCOPY",
PUSH0: "PUSH0",
// 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",
// 0x60 range - push.
PUSH1: "PUSH1",

View file

@ -24,7 +24,7 @@ import (
const (
VersionMajor = 5 // Major 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
)