Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvol committed Nov 28, 2024
1 parent e95eaf0 commit 7f67cde
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/protocol/test-sol/unit/common/EpochManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,13 @@ contract EpochManagerTest_setToProcessGroups is EpochManagerTest {
assertTrue(epochManager.isBlocked());
}

function test_Reverts_startEpochAgain() public {
epochManager.startNextEpochProcess();
epochManager.setToProcessGroups();
vm.expectRevert("Epoch process is already started");
epochManager.startNextEpochProcess();
}

function test_setsGroupRewards() public {
(address[] memory groups, , ) = getGroupsWithLessersAndGreaters();
epochManager.startNextEpochProcess();
Expand Down

0 comments on commit 7f67cde

Please sign in to comment.