From 63f4583481861dd6eb44fa97acddca0e4716b00a Mon Sep 17 00:00:00 2001 From: "A.L." Date: Thu, 8 Aug 2024 23:52:44 +0200 Subject: [PATCH] test: rename variable --- test/large/ReservoirPriceOracleLarge.t.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/large/ReservoirPriceOracleLarge.t.sol b/test/large/ReservoirPriceOracleLarge.t.sol index d5a9c94..b0dd10f 100644 --- a/test/large/ReservoirPriceOracleLarge.t.sol +++ b/test/large/ReservoirPriceOracleLarge.t.sol @@ -78,10 +78,10 @@ contract ReservoirPriceOracleLargeTest is ReservoirPriceOracleTest { lRoute[3] = aTokenAAddress; } - uint16[] memory lBpDiffForMaxReward = new uint16[](3); - lBpDiffForMaxReward[0] = lBpDiffForMaxReward[1] = lBpDiffForMaxReward[2] = Constants.BP_SCALE; + uint16[] memory lRewardThresholds = new uint16[](3); + lRewardThresholds[0] = lRewardThresholds[1] = lRewardThresholds[2] = Constants.BP_SCALE; - _oracle.setRoute(lRoute[0], lRoute[3], lRoute, lBpDiffForMaxReward); + _oracle.setRoute(lRoute[0], lRoute[3], lRoute, lRewardThresholds); _writePriceCache( lTokenA < lTokenB ? aTokenAAddress : aTokenBAddress, lTokenA < lTokenB ? aTokenBAddress : aTokenAAddress,