From d92568ef2f861e5b2b1f71c04afdf16706ef2db1 Mon Sep 17 00:00:00 2001 From: JimmyShi22 <417711026@qq.com> Date: Wed, 22 Nov 2023 20:27:36 +0800 Subject: [PATCH] enable evm fix feature in 3.2.6 --- bcos-framework/bcos-framework/ledger/Features.h | 2 +- bcos-framework/bcos-framework/protocol/Protocol.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bcos-framework/bcos-framework/ledger/Features.h b/bcos-framework/bcos-framework/ledger/Features.h index 09ef26ca72..f127a90aca 100644 --- a/bcos-framework/bcos-framework/ledger/Features.h +++ b/bcos-framework/bcos-framework/ledger/Features.h @@ -125,7 +125,7 @@ class Features set(Flag::bugfix_statestorage_hash); set(Flag::bugfix_evm_create2_delegatecall_staticcall_codecopy); } - if (version >= protocol::BlockVersion::V3_6_VERSION) + if (version >= protocol::BlockVersion::V3_2_6_VERSION) { set(Flag::bugfix_event_log_order); set(Flag::bugfix_delegatecall_noaddr_return); diff --git a/bcos-framework/bcos-framework/protocol/Protocol.h b/bcos-framework/bcos-framework/protocol/Protocol.h index 21352fe57d..6802cba6f3 100644 --- a/bcos-framework/bcos-framework/protocol/Protocol.h +++ b/bcos-framework/bcos-framework/protocol/Protocol.h @@ -119,6 +119,8 @@ enum class BlockVersion : uint32_t V3_5_VERSION = 0x03050000, V3_4_VERSION = 0x03040000, V3_3_VERSION = 0x03030000, + V3_2_6_VERSION = 0x03020600, + V3_2_5_VERSION = 0x03020500, V3_2_4_VERSION = 0x03020400, V3_2_3_VERSION = 0x03020300, V3_2_VERSION = 0x03020000,