Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarMax committed Aug 12, 2024
1 parent 98d46e3 commit 8ac38de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/kontrol/VetoSignalling.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract VetoSignallingTest is DualGovernanceSetUp {
*/
function testTransitionNormalToVetoSignalling() external {
uint256 rageQuitSupport = signallingEscrow.getRageQuitSupport();
vm.assume(rageQuitSupport > config.FIRST_SEAL_RAGE_QUIT_SUPPORT());
vm.assume(rageQuitSupport >= config.FIRST_SEAL_RAGE_QUIT_SUPPORT());
vm.assume(dualGovernance.getCurrentState() == State.Normal);
dualGovernance.activateNextState();
assert(dualGovernance.getCurrentState() == State.VetoSignalling);
Expand Down Expand Up @@ -70,7 +70,7 @@ contract VetoSignallingTest is DualGovernanceSetUp {
function _vetoSignallingRageQuitInvariant(Mode mode, StateRecord memory sr) internal view returns (bool) {
return (
_establish(mode, sr.rageQuitSupport <= sr.maxRageQuitSupport)
&& _establish(mode, config.FIRST_SEAL_RAGE_QUIT_SUPPORT() < sr.maxRageQuitSupport)
&& _establish(mode, config.FIRST_SEAL_RAGE_QUIT_SUPPORT() <= sr.maxRageQuitSupport)
);
}

Expand Down

0 comments on commit 8ac38de

Please sign in to comment.