From f709cb4a69dedcbe7b11823a6fd58dcde5463101 Mon Sep 17 00:00:00 2001 From: Abdulla Al-Kamil Date: Tue, 24 Sep 2024 11:05:44 +0100 Subject: [PATCH] fix: rename X218 for X128 --- 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 ); }