From d0b8118176abab35d0161d8bc7a1373e10b370c9 Mon Sep 17 00:00:00 2001 From: cuiweixie Date: Sun, 25 Feb 2024 17:14:06 +0800 Subject: [PATCH] core: rename DIFFICULTY to PREVRANDAO post merge in opcode to string --- core/vm/opcodes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/opcodes.go b/core/vm/opcodes.go index 2b9231fe1a..338490b095 100644 --- a/core/vm/opcodes.go +++ b/core/vm/opcodes.go @@ -281,7 +281,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",