mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
core/vm: rename opcode DIFFICULTY to PREVRANDAO
This commit is contained in:
parent
31a6418d77
commit
d7bd1e6c8d
1 changed files with 2 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ var opCodeToString = [256]string{
|
|||
COINBASE: "COINBASE",
|
||||
TIMESTAMP: "TIMESTAMP",
|
||||
NUMBER: "NUMBER",
|
||||
DIFFICULTY: "DIFFICULTY", // TODO (MariusVanDerWijden) rename to PREVRANDAO post merge
|
||||
PREVRANDAO: "PREVRANDAO",
|
||||
GASLIMIT: "GASLIMIT",
|
||||
CHAINID: "CHAINID",
|
||||
SELFBALANCE: "SELFBALANCE",
|
||||
|
|
@ -514,6 +514,7 @@ var stringToOp = map[string]OpCode{
|
|||
"TIMESTAMP": TIMESTAMP,
|
||||
"NUMBER": NUMBER,
|
||||
"DIFFICULTY": DIFFICULTY,
|
||||
"PREVRANDAO": PREVRANDAO,
|
||||
"GASLIMIT": GASLIMIT,
|
||||
"SELFBALANCE": SELFBALANCE,
|
||||
"POP": POP,
|
||||
|
|
|
|||
Loading…
Reference in a new issue