Skip to content

Commit e874d32

Browse files
authored
support bugfix_dmc_revert flag (#878)
1 parent 8e8de21 commit e874d32

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/main/java/org/fisco/bcos/sdk/v3/contract/precompiled/sysconfig/SystemConfigFeature.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ public enum Features {
1010
BUGFIX_EVM_CREATE2_DELEGATECALL_STATICCALL_CODECOPY(
1111
"bugfix_evm_create2_delegatecall_staticcall_codecopy",
1212
EnumNodeVersion.BCOS_3_2_4.getVersion()),
13-
BUGFIX_EVENT_LOG_ORDER("bugfix_event_log_order", EnumNodeVersion.BCOS_3_2_6.getVersion()),
13+
BUGFIX_EVENT_LOG_ORDER("bugfix_event_log_order", EnumNodeVersion.BCOS_3_2_7.getVersion()),
1414
BUGFIX_CALL_NOADDR_RETURN(
15-
"bugfix_call_noaddr_return", EnumNodeVersion.BCOS_3_2_6.getVersion()),
15+
"bugfix_call_noaddr_return", EnumNodeVersion.BCOS_3_2_7.getVersion()),
1616
BUGFIX_PRECOMPILED_CODEHASH(
17-
"bugfix_precompiled_codehash", EnumNodeVersion.BCOS_3_2_6.getVersion()),
17+
"bugfix_precompiled_codehash", EnumNodeVersion.BCOS_3_2_7.getVersion()),
18+
BUGFIX_DMC_REVERT("bugfix_dmc_revert", EnumNodeVersion.BCOS_3_2_7.getVersion()),
1819
FEATURE_DMC2SERIAL("feature_dmc2serial", EnumNodeVersion.BCOS_3_2_4.getVersion()),
1920
FEATURE_SHARDING("feature_sharding", EnumNodeVersion.BCOS_3_5_0.getVersion()),
2021
FEATURE_RPBFT("feature_rpbft", EnumNodeVersion.BCOS_3_5_0.getVersion()),
@@ -60,6 +61,8 @@ public static Features fromString(String name) {
6061
return Features.BUGFIX_CALL_NOADDR_RETURN;
6162
case "bugfix_precompiled_codehash":
6263
return Features.BUGFIX_PRECOMPILED_CODEHASH;
64+
case "bugfix_dmc_revert":
65+
return Features.BUGFIX_DMC_REVERT;
6366
case "feature_dmc2serial":
6467
return Features.FEATURE_DMC2SERIAL;
6568
case "feature_sharding":

src/main/java/org/fisco/bcos/sdk/v3/model/EnumNodeVersion.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public enum EnumNodeVersion {
1313
BCOS_3_2_4(0x03020400),
1414
BCOS_3_2_5(0x03020500),
1515
BCOS_3_2_6(0x03020600),
16+
BCOS_3_2_7(0x03020700),
1617
BCOS_3_3_0(0x03030000),
1718
BCOS_3_4_0(0x03040000),
1819
BCOS_3_5_0(0x03050000),
@@ -30,6 +31,7 @@ public enum EnumNodeVersion {
3031
versionLookupMap.put(0x03020400, BCOS_3_2_4);
3132
versionLookupMap.put(0x03020500, BCOS_3_2_5);
3233
versionLookupMap.put(0x03020600, BCOS_3_2_6);
34+
versionLookupMap.put(0x03020700, BCOS_3_2_7);
3335
versionLookupMap.put(0x03030000, BCOS_3_3_0);
3436
versionLookupMap.put(0x03040000, BCOS_3_4_0);
3537
versionLookupMap.put(0x03050000, BCOS_3_5_0);

0 commit comments

Comments
 (0)