Skip to content

Commit

Permalink
fix: address test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 committed Oct 16, 2024
1 parent 1f88fd7 commit 41d68a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/unit/AllocationManagerUnit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1934,11 +1934,14 @@ contract AllocationManagerUnitTests_ClearDeallocationQueue is AllocationManagerU
/**
* Allocates to opset1, allocates to opset2, deallocates from opset1. Asserts that the allocation, which has a higher
* effect timestamp is not blocking the deallocation.
* The queue looks like (note that the first allocation has been completed):
* The allocs/deallocs looks like
* 1. (allocation, opSet2, mag: 5e17, effectTimestamp: 50th day)
* 2. (deallocation, opSet1, mag: 0, effectTimestamp: 42.5 day)
*
* The deallocation queue looks like
* 1. (deallocation, opSet1, mag: 0, effectTimestamp: 42.5 day)
*/
function test_regression_allocationBlocksDeallocation() public {
function test_regression_deallocationNotBlocked() public {
uint32 allocationDelay = 25 days;
// Set allocation delay to be 25 days, greater than the deallocation timestamp
cheats.prank(defaultOperator);
Expand Down

0 comments on commit 41d68a4

Please sign in to comment.