Skip to content

Commit

Permalink
support new feature_dmc2serial (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyShi22 authored Jan 4, 2024
1 parent 7dde8c6 commit 9b36d22
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public enum Features {
"bugfix_call_noaddr_return", EnumNodeVersion.BCOS_3_2_6.getVersion()),
BUGFIX_PRECOMPILED_CODEHASH(
"bugfix_precompiled_codehash", EnumNodeVersion.BCOS_3_2_6.getVersion()),
FEATURE_DMC2SERIAL("feature_dmc2serial", EnumNodeVersion.BCOS_3_2_4.getVersion()),
FEATURE_SHARDING("feature_sharding", EnumNodeVersion.BCOS_3_5_0.getVersion()),
FEATURE_RPBFT("feature_rpbft", EnumNodeVersion.BCOS_3_5_0.getVersion()),
FEATURE_RPBFT_EPOCH_BLOCK_NUM(
Expand Down Expand Up @@ -59,6 +60,8 @@ public static Features fromString(String name) {
return Features.BUGFIX_CALL_NOADDR_RETURN;
case "bugfix_precompiled_codehash":
return Features.BUGFIX_PRECOMPILED_CODEHASH;
case "feature_dmc2serial":
return Features.FEATURE_DMC2SERIAL;
case "feature_sharding":
return Features.FEATURE_SHARDING;
case "feature_rpbft":
Expand Down

0 comments on commit 9b36d22

Please sign in to comment.