Skip to content

Commit

Permalink
fix: rename X218 for X128 (#356)
Browse files Browse the repository at this point in the history
Co-authored-by: Sara Reynolds <[email protected]>
  • Loading branch information
abdulla-cb and snreynolds authored Dec 4, 2024
1 parent 24ae83f commit b8dcc0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/shared/FeeMath.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ library FeeMath {
(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128) =
manager.getPositionInfo(poolId, address(posm), config.tickLower, config.tickUpper, bytes32(tokenId));

(uint256 feeGrowthInside0X218, uint256 feeGrowthInside1X128) =
(uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128) =
manager.getFeeGrowthInside(poolId, config.tickLower, config.tickUpper);

feesOwed = getFeesOwed(
feeGrowthInside0X218, feeGrowthInside1X128, feeGrowthInside0LastX128, feeGrowthInside1LastX128, liquidity
feeGrowthInside0X128, feeGrowthInside1X128, feeGrowthInside0LastX128, feeGrowthInside1LastX128, liquidity
);
}

Expand Down

0 comments on commit b8dcc0a

Please sign in to comment.