Skip to content

Commit

Permalink
test: add goNextEpoch handler function
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlak committed Oct 24, 2024
1 parent d935c3d commit 0e681b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/invariant/DopplerHandler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,8 @@ contract DopplerHandler is Test {
ghost_reserve1 += sold;
}
}

function goNextEpoch() public countCall(this.goNextEpoch.selector) {
vm.warp(block.timestamp + hook.getEpochLength());
}
}

0 comments on commit 0e681b5

Please sign in to comment.