Skip to content

Commit

Permalink
test: update withdrawal delay not passed reversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 committed Dec 18, 2024
1 parent 339873c commit 6ffb6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/unit/DelegationUnit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5994,7 +5994,7 @@ contract DelegationManagerUnitTests_completeQueuedWithdrawal is DelegationManage
});

// prank as withdrawer address
cheats.roll(withdrawal.startBlock + MIN_WITHDRAWAL_DELAY_BLOCKS - 1);
cheats.roll(withdrawal.startBlock + MIN_WITHDRAWAL_DELAY_BLOCKS);
cheats.expectRevert(WithdrawalDelayNotElapsed.selector);
cheats.prank(defaultStaker);
delegationManager.completeQueuedWithdrawal(withdrawal, tokens, receiveAsTokens);
Expand Down

0 comments on commit 6ffb6c3

Please sign in to comment.