From b8dcc0abc5f7cd0efcd305f27481e9d0579ad009 Mon Sep 17 00:00:00 2001 From: abdulla-cb Date: Wed, 4 Dec 2024 19:28:49 +0000 Subject: [PATCH] fix: rename X218 for X128 (#356) Co-authored-by: Sara Reynolds <30504811+snreynolds@users.noreply.github.com> --- test/shared/FeeMath.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shared/FeeMath.sol b/test/shared/FeeMath.sol index 72ad5659..bb593eeb 100644 --- a/test/shared/FeeMath.sol +++ b/test/shared/FeeMath.sol @@ -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 ); }