From 62b62da730204d458cfeb0f7c76202274250ac1a Mon Sep 17 00:00:00 2001 From: s7v7nislands Date: Wed, 11 May 2022 13:04:16 +0800 Subject: [PATCH] core/vm: separate opcode group for 0x20 range (#24850) --- core/vm/opcodes.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/vm/opcodes.go b/core/vm/opcodes.go index b861a62d6de0..0917b252ae8b 100644 --- a/core/vm/opcodes.go +++ b/core/vm/opcodes.go @@ -64,7 +64,10 @@ const ( SHL OpCode = 0x1b SHR OpCode = 0x1c SAR OpCode = 0x1d +) +// 0x20 range - crypto. +const ( KECCAK256 OpCode = 0x20 )