From 539bbd634942ff8cbb980e6869ca83f604e0d3e8 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 c5ef605529e5..19252b01f256 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 )