Skip to content

Commit

Permalink
Add check for rageQuitRound into the unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Psirex committed Aug 28, 2024
1 parent 1663175 commit 51ad0ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/libraries/DualGovernanceStateMachine.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ contract DualGovernanceStateMachineUnitTests is UnitTest {
// after the sequential rage quits chain is broken, the rage quit resets to 0
_wait(_CONFIG_PROVIDER.VETO_COOLDOWN_DURATION().plusSeconds(1));
_stateMachine.activateNextState(_CONFIG_PROVIDER.getDualGovernanceConfig(), _ESCROW_MASTER_COPY);

assertEq(_stateMachine.rageQuitRound, 0);
assertEq(_stateMachine.state, State.Normal);
}
}

0 comments on commit 51ad0ef

Please sign in to comment.