Skip to content

Commit

Permalink
fix oversold case test
Browse files Browse the repository at this point in the history
  • Loading branch information
kinrezC committed Oct 22, 2024
1 parent cffdd51 commit e4cb4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/Rebalance.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ contract RebalanceTest is BaseTest {
// to either case and should only validate that the slugs are placed correctly.

// Lower slug upper tick must not be greater than the currentTick
assertLe(lowerSlug.tickUpper, currentTick);
isToken0 ? assertLe(lowerSlug.tickUpper, currentTick) : assertGe(lowerSlug.tickUpper, currentTick);

// Upper and price discovery slugs must be inline and continuous
for (uint256 i; i < priceDiscoverySlugs.length; ++i) {
Expand Down

0 comments on commit e4cb4d1

Please sign in to comment.