Skip to content

Commit 2e64905

Browse files
committed
add forkblockversion enum 4.0
1 parent d96dca8 commit 2e64905

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎src/main/java/org/tron/core/actuator/ProposalCreateActuator.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ private void validateValue(Map.Entry<Long, Long> entry) throws ContractValidateE
324324
break;
325325
}
326326
case (29): {
327-
if (!dbManager.getForkController().pass(ForkBlockVersionEnum.VERSION_3_6)) {
327+
if (!dbManager.getForkController().pass(ForkBlockVersionEnum.VERSION_4_0)) {
328328
throw new ContractValidateException("Bad chain parameter id");
329329
}
330330
if (entry.getValue() != 1) {

‎src/main/java/org/tron/core/config/Parameter.java‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public enum ChainParameters {
9595
ALLOW_PROTO_FILTER_NUM, // 1, 24
9696
ALLOW_ACCOUNT_STATE_ROOT, // 1, 25
9797
ALLOW_TVM_CONSTANTINOPLE, // 1, 26
98+
ALLOW_MULTI_VALIDATESIGN, // 1, 29
9899
}
99100

100101
@Deprecated
@@ -107,7 +108,9 @@ public enum ForkBlockVersionEnum {
107108
ENERGY_LIMIT(5),
108109
VERSION_3_2_2(6),
109110
VERSION_3_5(7),
110-
VERSION_3_6(8);
111+
VERSION_3_6(8),
112+
VERSION_4_0(9);
113+
111114

112115
@Getter
113116
private int value;

0 commit comments

Comments
 (0)