Skip to content

Commit

Permalink
removing fourth invariant from ...ArePreserved
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarMax committed Aug 8, 2024
1 parent 18e0047 commit e61ea55
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/kontrol/VetoSignalling.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -261,19 +261,19 @@ contract VetoSignallingTest is DualGovernanceSetUp {
// Establish third invariant
_vetoSignallingDeactivationInvariant(Mode.Assert, current);
}
// Try establishing fourth invariant
if (!_vetoSignallingMaxDelayInvariant(Mode.Try, current)) {
// Assume third invariant if not already assumed
if (!assumedDeactivationInvariant) {
_vetoSignallingDeactivationInvariant(Mode.Assume, previous);
}
// Assume fourth invariant if not already assumed
if (!assumedMaxDelayInvariant) {
_vetoSignallingMaxDelayInvariant(Mode.Assume, previous);
}
// Establish fourth invariant
_vetoSignallingMaxDelayInvariant(Mode.Assert, current);
}
// // Try establishing fourth invariant
// if (!_vetoSignallingMaxDelayInvariant(Mode.Try, current)) {
// // Assume third invariant if not already assumed
// if (!assumedDeactivationInvariant) {
// _vetoSignallingDeactivationInvariant(Mode.Assume, previous);
// }
// // Assume fourth invariant if not already assumed
// if (!assumedMaxDelayInvariant) {
// _vetoSignallingMaxDelayInvariant(Mode.Assume, previous);
// }
// // Establish fourth invariant
// _vetoSignallingMaxDelayInvariant(Mode.Assert, current);
// }
return;
}
vm.assume(currentState == State.VetoSignalling || currentState == State.VetoSignallingDeactivation);
Expand Down

0 comments on commit e61ea55

Please sign in to comment.