You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: simulator/src/main/java/byzzbench/simulator/protocols/tendermint/mutator/PrecommitMessageMutatorFactory.java
Copy file name to clipboardexpand all lines: simulator/src/main/java/byzzbench/simulator/protocols/tendermint/mutator/PrevoteMessageMutatorFactory.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -119,8 +119,8 @@ public void accept(FaultContext serializable) {
119
119
}
120
120
},
121
121
newMessageMutationFault(
122
-
"tendermint-prevote-round-any",
123
-
"Assign Random Round Number",
122
+
"tendermint-prevote-sequence-any",
123
+
"Assign Random Sequence Number",
124
124
List.of(PrevoteMessage.class)) {
125
125
@Override
126
126
publicvoidaccept(FaultContextserializable) {
@@ -134,8 +134,8 @@ public void accept(FaultContext serializable) {
134
134
if (!(messageEvent.getPayload() instanceofPrevoteMessagemessage)) {
135
135
throwinvalidMessageTypeException;
136
136
}
137
-
longrandomRound = random.nextLong(0, 100000); // Adjust range as needed
Copy file name to clipboardexpand all lines: simulator/src/main/java/byzzbench/simulator/protocols/tendermint/mutator/ProposalMessageMutatorFactory.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -120,8 +120,8 @@ public void accept(FaultContext serializable) {
120
120
}
121
121
},
122
122
newMessageMutationFault(
123
-
"tendermint-proposal-round-any",
124
-
"Assign Random Round Number",
123
+
"tendermint-proposal-sequence-any",
124
+
"Assign Random Sequence Number",
125
125
List.of(ProposalMessage.class)) {
126
126
@Override
127
127
publicvoidaccept(FaultContextserializable) {
@@ -135,8 +135,8 @@ public void accept(FaultContext serializable) {
135
135
if (!(messageEvent.getPayload() instanceofProposalMessagemessage)) {
136
136
throwinvalidMessageTypeException;
137
137
}
138
-
longrandomRound = random.nextLong(0, 100000); // Adjust range as needed
0 commit comments