Skip to content

Commit

Permalink
👔 market: add early repay liquidation discount to accumulator
Browse files Browse the repository at this point in the history
  • Loading branch information
santichez committed May 24, 2024
1 parent 4b4d6c5 commit d966714
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 73 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-bottles-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@exactly/protocol": patch
---

👔 market: add early repay liquidation discount to accumulator
133 changes: 67 additions & 66 deletions .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ DebtManagerTest:testFloatingToFixedRollHigherThanAvailableLiquidityWithSlippage(
DebtManagerTest:testFloatingToFixedRollHigherThanAvailableLiquidityWithSlippageWithThreePools() (gas: 2787984)
DebtManagerTest:testFloatingToFixedRollWithAccurateSlippage() (gas: 1687218)
DebtManagerTest:testFloatingToFixedRollWithAccurateSlippageWithPreviousPosition() (gas: 1924341)
DebtManagerTest:testFuzzRolls(uint8[4],uint8[4],uint256[4],uint40[4],uint8[4]) (runs: 256, μ: 6526945, ~: 6552300)
DebtManagerTest:testFuzzRolls(uint8[4],uint8[4],uint256[4],uint40[4],uint8[4]) (runs: 256, μ: 6526942, ~: 6552300)
DebtManagerTest:testLateFixedRoll() (gas: 1310831)
DebtManagerTest:testLateFixedRollWithThreeLoops() (gas: 1897545)
DebtManagerTest:testLateFixedToFloatingRoll() (gas: 1273784)
Expand Down Expand Up @@ -143,109 +143,110 @@ InterestRateModelTest:testFixedRateRevertUtilizationExceeded() (gas: 2065065)
InterestRateModelTest:testFloatingBorrowRate() (gas: 2057206)
InterestRateModelTest:testFuzzFixedRateGrowth(uint256,uint256,uint256,uint256) (runs: 256, μ: 2078572, ~: 2075498)
InterestRateModelTest:testFuzzFixedRateTimeSensitivity(uint256,uint256,uint256) (runs: 256, μ: 2084820, ~: 2084876)
InterestRateModelTest:testFuzzReferenceLegacyRateFixed(uint32,uint256,uint256[2],uint256[2],uint256,uint256,uint256) (runs: 256, μ: 9972824, ~: 10130269)
InterestRateModelTest:testFuzzReferenceLegacyRateFixed(uint32,uint256,uint256[2],uint256[2],uint256,uint256,uint256) (runs: 256, μ: 9979710, ~: 10137155)
InterestRateModelTest:testFuzzReferenceRateFixed(uint256,uint256,uint256,uint256,uint256,uint256,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,int256,uint256,uint256)) (runs: 256, μ: 2349132, ~: 2351637)
InterestRateModelTest:testFuzzReferenceRateFloating(uint256,uint256,(uint256,uint256,uint256,uint256,uint256,uint256,uint256)) (runs: 256, μ: 2287270, ~: 2288122)
InterestRateModelTest:testMinTimeToMaturity() (gas: 2075220)
InterestRateModelTest:testRevertMaxUtilizationLowerThanWad() (gas: 267545)
MarketTest:testAccountLiquidityAdjustedDebt() (gas: 499481)
MarketTest:testAnotherUserRedeemWhenOwnerHasShortfall() (gas: 819094)
MarketTest:testAnotherUserWithdrawWhenOwnerHasShortfall() (gas: 806786)
MarketTest:testAnotherUserWithdrawWhenOwnerHasShortfall() (gas: 806764)
MarketTest:testBorrowAfterFreezing() (gas: 491397)
MarketTest:testBorrowAtMaturity() (gas: 499472)
MarketTest:testBorrowAtMaturity() (gas: 499563)
MarketTest:testBorrowAtMaturityAfterFreezing() (gas: 573201)
MarketTest:testBorrowAtMaturityUpdatesFloatingDebtAndFloatingAssets() (gas: 884625)
MarketTest:testBorrowAtMaturityUpdatesFloatingDebtAndFloatingAssets() (gas: 884713)
MarketTest:testBorrowAtMaturityWhenFrozen() (gas: 93740)
MarketTest:testBorrowAtMaturityWithZeroAssets() (gas: 40425)
MarketTest:testBorrowDisagreement() (gas: 295456)
MarketTest:testBorrowFromFreeLunchShouldNotRevertWithFloatingFullUtilization() (gas: 1276372)
MarketTest:testBorrowWhenFrozen() (gas: 93157)
MarketTest:testBorrowWithZeroAssets() (gas: 39793)
MarketTest:testCappedLiquidation() (gas: 1188653)
MarketTest:testBorrowFromFreeLunchShouldNotRevertWithFloatingFullUtilization() (gas: 1276350)
MarketTest:testBorrowWhenFrozen() (gas: 93224)
MarketTest:testBorrowWithZeroAssets() (gas: 39771)
MarketTest:testCappedLiquidation() (gas: 1192794)
MarketTest:testChargeTreasuryToEarlyWithdraws() (gas: 1183503)
MarketTest:testChargeTreasuryToFixedBorrows() (gas: 1588080)
MarketTest:testClearBadDebtAvoidingFixedBorrowsIfAccumulatorLower() (gas: 2275906)
MarketTest:testClearBadDebtCalledByAccount() (gas: 34955)
MarketTest:testClearBadDebtExactlyRepaysFixedBorrowWithAccumulatorAmount() (gas: 1993411)
MarketTest:testClearBadDebtExactlyRepaysFixedBorrowWithAccumulatorAmount() (gas: 1993418)
MarketTest:testClearBadDebtPartiallyRepaysEachFixedBorrow() (gas: 1953822)
MarketTest:testClearBadDebtPartiallyRepaysFloatingDebt() (gas: 2284028)
MarketTest:testClearBadDebtShouldAccrueAccumulatedEarningsBeforeSpreadingLosses() (gas: 2060568)
MarketTest:testClearBadDebtWithEmptyAccumulatorShouldNotRevert() (gas: 969932)
MarketTest:testClearMaturity() (gas: 1659178)
MarketTest:testCollectTreasuryFreeLunchToEarlyWithdraws() (gas: 1712239)
MarketTest:testClearMaturity() (gas: 1659195)
MarketTest:testCollectTreasuryFreeLunchToEarlyWithdraws() (gas: 1712217)
MarketTest:testCollectTreasuryFreeLunchToEarlyWithdrawsWithZeroFees() (gas: 541373)
MarketTest:testCollectTreasuryFreeLunchToFixedBorrows() (gas: 1771336)
MarketTest:testCollectTreasuryFreeLunchToFixedBorrowsWithZeroFees() (gas: 704645)
MarketTest:testCrossMaturityLiquidation() (gas: 2608710)
MarketTest:testCrossMaturityLiquidation() (gas: 2612851)
MarketTest:testDepositAfterFreezing() (gas: 256160)
MarketTest:testDepositAtMaturity() (gas: 180716)
MarketTest:testDepositAtMaturity() (gas: 180694)
MarketTest:testDepositAtMaturityAfterFreezing() (gas: 254665)
MarketTest:testDepositAtMaturityWhenFrozen() (gas: 93231)
MarketTest:testDepositAtMaturityWhenFrozen() (gas: 93209)
MarketTest:testDepositAtMaturityWithZeroAssets() (gas: 39977)
MarketTest:testDepositDisagreement() (gas: 57120)
MarketTest:testDepositShouldUpdateFlexibleBorrowVariables() (gas: 716993)
MarketTest:testDepositToSmartPool() (gas: 181871)
MarketTest:testDepositToSmartPool() (gas: 181849)
MarketTest:testDepositWhenFrozen() (gas: 176515)
MarketTest:testDistributeMultipleAccumulatedEarnings() (gas: 1345931)
MarketTest:testDistributionOfLossesShouldReduceFromFloatingBackupBorrowedAccordingly() (gas: 6252360)
MarketTest:testEarlyRepaymentWithExcessiveAmountOfFees() (gas: 3407638)
MarketTest:testDistributeMultipleAccumulatedEarnings() (gas: 1345998)
MarketTest:testDistributionOfLossesShouldReduceFromFloatingBackupBorrowedAccordingly() (gas: 6271795)
MarketTest:testEarlyRepayLiquidationUnassignedEarnings() (gas: 2045748)
MarketTest:testEarlyRepaymentWithExcessiveAmountOfFees() (gas: 3407645)
MarketTest:testEarlyWithdrawFromFreeLunchShouldNotRevertWithFloatingFullUtilization() (gas: 1032117)
MarketTest:testEmergencyAdminRole() (gas: 317196)
MarketTest:testEmitFrozen() (gas: 91047)
MarketTest:testFixedBorrowFailingWhenFlexibleBorrowAccruesDebt() (gas: 1530874)
MarketTest:testFixedBorrowRateToMaturity() (gas: 562485)
MarketTest:testFlexibleBorrow() (gas: 423678)
MarketTest:testFlexibleBorrowAccountingDebt() (gas: 607131)
MarketTest:testFlexibleBorrowChargingDebtToTreasury() (gas: 751199)
MarketTest:testFlexibleBorrowChargingDebtToTreasury() (gas: 751177)
MarketTest:testFlexibleBorrowExceedingReserve() (gas: 878430)
MarketTest:testFlexibleBorrowExceedingReserveIncludingFixedBorrow() (gas: 1267465)
MarketTest:testFlexibleBorrowExceedingReserveWithNewDebt() (gas: 1001231)
MarketTest:testFlexibleBorrowFromAnotherUserSubtractsAllowance() (gas: 469265)
MarketTest:testFlexibleBorrowFromAnotherUserWithAllowance() (gas: 458703)
MarketTest:testFlexibleBorrowFromAnotherUserWithoutAllowance() (gas: 252381)
MarketTest:testFrontRunSmartPoolEarningsDistributionWithBigPenaltyRepayment() (gas: 1349928)
MarketTest:testFullPause() (gas: 5882758)
MarketTest:testFrontRunSmartPoolEarningsDistributionWithBigPenaltyRepayment() (gas: 1349906)
MarketTest:testFullPause() (gas: 5882743)
MarketTest:testInitiallyUnfrozen() (gas: 15614)
MarketTest:testInsufficientProtocolLiquidity() (gas: 1940310)
MarketTest:testLiquidateAndChargeIncentiveForLenders() (gas: 2401575)
MarketTest:testLiquidateAndDistributeLosses() (gas: 3197014)
MarketTest:testInsufficientProtocolLiquidity() (gas: 1940288)
MarketTest:testLiquidateAndChargeIncentiveForLenders() (gas: 2412178)
MarketTest:testLiquidateAndDistributeLosses() (gas: 3207617)
MarketTest:testLiquidateAndSeizeExactAmountWithDustAsCollateral() (gas: 2789595)
MarketTest:testLiquidateAndSeizeFromEmptyCollateral() (gas: 1039213)
MarketTest:testLiquidateAndSubtractLossesFromAccumulator() (gas: 3895469)
MarketTest:testLiquidateFlexibleAndFixedBorrowPositionsInSingleCall() (gas: 2607212)
MarketTest:testLiquidateFlexibleBorrow() (gas: 2142990)
MarketTest:testLiquidateFlexibleBorrowChargeLendersAssetsToLiquidator() (gas: 1150226)
MarketTest:testLiquidateAndSubtractLossesFromAccumulator() (gas: 3899634)
MarketTest:testLiquidateFlexibleAndFixedBorrowPositionsInSingleCall() (gas: 2617638)
MarketTest:testLiquidateFlexibleBorrow() (gas: 2142968)
MarketTest:testLiquidateFlexibleBorrowChargeLendersAssetsToLiquidator() (gas: 1150204)
MarketTest:testLiquidateFlexibleBorrowConsideringDebtOverTime() (gas: 1166273)
MarketTest:testLiquidateLeavingDustAsCollateral() (gas: 3601361)
MarketTest:testLiquidateWhenFrozen() (gas: 1230791)
MarketTest:testLiquidateWithTwoUnitsAsMaxAssets() (gas: 1568077)
MarketTest:testLiquidateWithTwoUnitsAsMaxAssets() (gas: 1572196)
MarketTest:testLiquidateWithZeroAsMaxAssets() (gas: 1039184)
MarketTest:testLiquidationClearingDebtOfAllAccountMarkets() (gas: 3078663)
MarketTest:testLiquidationResultingInZeroCollateralAndZeroDebt() (gas: 1958609)
MarketTest:testLiquidationResultingInZeroCollateralAndZeroDebt() (gas: 1962836)
MarketTest:testMaturityInsufficientProtocolLiquidity() (gas: 1424359)
MarketTest:testMultipleBorrowsForMultipleAssets() (gas: 2463409399)
MarketTest:testMultipleBorrowsForMultipleAssets() (gas: 2463436945)
MarketTest:testMultipleDepositsToSmartPool() (gas: 915595)
MarketTest:testMultipleFixedBorrowsRepays() (gas: 1313796)
MarketTest:testMultipleFixedBorrowsRepays() (gas: 1313882)
MarketTest:testMultipleLiquidationSameUser() (gas: 2928224)
MarketTest:testNotEnteredMarketShouldNotBeSeized() (gas: 8569304)
MarketTest:testNotEnteredMarketShouldNotBeSeized() (gas: 8576202)
MarketTest:testOnlyAdminCanFreezeUnfreeze() (gas: 207636)
MarketTest:testOperationsShouldUpdateFloatingAssetsAverage() (gas: 1374231)
MarketTest:testOperationsWithBtcWbtcRate() (gas: 8270634)
MarketTest:testOperationsWithStEthAsset() (gas: 8146532)
MarketTest:testOperationsWithBtcWbtcRate() (gas: 8277532)
MarketTest:testOperationsWithStEthAsset() (gas: 8153430)
MarketTest:testPausable() (gas: 158158)
MarketTest:testPauserRole() (gas: 78161)
MarketTest:testPreviewOperationsWithSmartPoolCorrectlyAccountingEarnings() (gas: 1960190)
MarketTest:testRepayAtMaturity() (gas: 578478)
MarketTest:testRepayDisagreement() (gas: 576789)
MarketTest:testRepayFlexibleBorrow() (gas: 1076306)
MarketTest:testRepayAtMaturity() (gas: 578548)
MarketTest:testRepayDisagreement() (gas: 576774)
MarketTest:testRepayFlexibleBorrow() (gas: 1076284)
MarketTest:testRepayWhenFrozen() (gas: 535348)
MarketTest:testRoundingDownAssetsToValidateShortfallWhenTransferring() (gas: 7529606)
MarketTest:testRoundingDownAssetsToValidateShortfallWhenTransferringFrom() (gas: 7584870)
MarketTest:testRoundingDownAssetsToValidateShortfallWhenTransferring() (gas: 7536447)
MarketTest:testRoundingDownAssetsToValidateShortfallWhenTransferringFrom() (gas: 7591733)
MarketTest:testRoundingDownAssetsWhenTransferingFromAnAccountWithoutShortfall() (gas: 1030163)
MarketTest:testRoundingDownAssetsWhenTransferingWithAnAccountWithoutShortfall() (gas: 974729)
MarketTest:testRoundingUpAllowanceWhenBorrowingAtMaturity() (gas: 845500)
MarketTest:testRoundingUpAllowanceWhenBorrowingAtMaturity() (gas: 845587)
MarketTest:testRoundingUpAllowanceWhenWithdrawingAtMaturity() (gas: 763364)
MarketTest:testSetAssetSymbol() (gas: 54929)
MarketTest:testSetAssetSymbol() (gas: 55013)
MarketTest:testSetAssetSymbolNotAdmin() (gas: 66288)
MarketTest:testSetDampSpeedFactorShouldUpdateFloatingAssetsAverage() (gas: 386894)
MarketTest:testSetEarningsAccumulatorSmoothFactorShouldDistributeEarnings() (gas: 704407)
Expand All @@ -256,23 +257,23 @@ MarketTest:testShareValueNotDecreasingWhenMintingToTreasury() (gas: 763200)
MarketTest:testSingleFloatingBorrow() (gas: 417449)
MarketTest:testSingleFloatingRepay() (gas: 484671)
MarketTest:testSmartPoolEarningsDistribution() (gas: 1104437)
MarketTest:testSmartPoolSharesDoNotAccountUnassignedEarningsFromMoreThanOneIntervalPastMaturities() (gas: 528443)
MarketTest:testSmartPoolSharesDoNotAccountUnassignedEarningsFromMoreThanOneIntervalPastMaturities() (gas: 528421)
MarketTest:testSumDebtPlusEffectsShouldntRoundUpWhenWithdrawing() (gas: 1005543)
MarketTest:testTotalAssetsProjectingBackupEarningsCorrectly() (gas: 508238)
MarketTest:testTotalAssetsProjectingFloatingDebtCorrectly() (gas: 713870)
MarketTest:testUpdateAccumulatedEarningsFactorToZero() (gas: 1468787)
MarketTest:testUpdateFloatingAssetsAverageWhenDepositingAndBorrowingContinuously() (gas: 344661)
MarketTest:testUpdateFloatingAssetsAverageWhenDepositingAndBorrowingContinuously() (gas: 344749)
MarketTest:testUpdateFloatingAssetsAverageWhenDepositingRightBeforeBorrow() (gas: 630219)
MarketTest:testUpdateFloatingAssetsAverageWhenDepositingRightBeforeEarlyWithdraw() (gas: 612579)
MarketTest:testUpdateFloatingAssetsAverageWhenDepositingSomeSecondsBeforeBorrow() (gas: 854948)
MarketTest:testUpdateFloatingAssetsAverageWhenWithdrawingRightBeforeBorrow() (gas: 643371)
MarketTest:testUpdateFloatingAssetsAverageWhenWithdrawingRightBeforeEarlyWithdraw() (gas: 625731)
MarketTest:testUpdateFloatingAssetsAverageWhenWithdrawingRightBeforeBorrow() (gas: 643349)
MarketTest:testUpdateFloatingAssetsAverageWhenWithdrawingRightBeforeEarlyWithdraw() (gas: 625709)
MarketTest:testUpdateFloatingAssetsAverageWhenWithdrawingSomeSecondsBeforeBorrow() (gas: 373134)
MarketTest:testUpdateFloatingAssetsAverageWithDampSpeedDown() (gas: 358070)
MarketTest:testUpdateFloatingAssetsAverageWithDampSpeedUp() (gas: 199719)
MarketTest:testUpdateFloatingDebtBeforeSettingTreasury() (gas: 106329)
MarketTest:testWithdrawAtMaturity() (gas: 287144)
MarketTest:testWithdrawFromSmartPool() (gas: 279221)
MarketTest:testUpdateFloatingAssetsAverageWithDampSpeedUp() (gas: 199697)
MarketTest:testUpdateFloatingDebtBeforeSettingTreasury() (gas: 106395)
MarketTest:testWithdrawAtMaturity() (gas: 287213)
MarketTest:testWithdrawFromSmartPool() (gas: 279199)
MarketTest:testWithdrawShouldUpdateFlexibleBorrowVariables() (gas: 864003)
MarketTest:testWithdrawWhenFrozen() (gas: 325983)
PoolLibTest:testAtomicDepositBorrowRepayWithdraw() (gas: 46018)
Expand All @@ -287,24 +288,24 @@ PreviewerTest:testAccountsReturningUtilizationForDifferentMaturities() (gas: 418
PreviewerTest:testAccountsWithAccountOnlyDeposit() (gas: 862391)
PreviewerTest:testAccountsWithAccountThatHasBalances() (gas: 2232872)
PreviewerTest:testAccountsWithEmptyAccount() (gas: 690558)
PreviewerTest:testAccountsWithIntermediateOperationsReturningAccurateAmounts() (gas: 17632262)
PreviewerTest:testAccountsWithIntermediateOperationsReturningAccurateAmounts() (gas: 17639154)
PreviewerTest:testActualTimeBeforeStartDistributionRewards() (gas: 7788417)
PreviewerTest:testEmptyExactly() (gas: 5668798)
PreviewerTest:testExactlyReturningInterestRateModelData() (gas: 688149)
PreviewerTest:testFixedAvailableLiquidityProjectingNewFloatingDebt() (gas: 13316358)
PreviewerTest:testFixedPoolsA() (gas: 19293755)
PreviewerTest:testFixedAvailableLiquidityProjectingNewFloatingDebt() (gas: 13323250)
PreviewerTest:testFixedPoolsA() (gas: 19300654)
PreviewerTest:testFixedPoolsChangingMaturityInTime() (gas: 1627253)
PreviewerTest:testFixedPoolsRatesAndUtilizations() (gas: 14829846)
PreviewerTest:testFixedPoolsWithFloatingAssetsAverage() (gas: 15635777)
PreviewerTest:testFlexibleAvailableLiquidity() (gas: 17217863)
PreviewerTest:testFixedPoolsRatesAndUtilizations() (gas: 14836738)
PreviewerTest:testFixedPoolsWithFloatingAssetsAverage() (gas: 15642674)
PreviewerTest:testFlexibleAvailableLiquidity() (gas: 17224762)
PreviewerTest:testFlexibleBorrowSharesAndAssets() (gas: 4401038)
PreviewerTest:testFloatingAvailableLiquidityProjectingNewFloatingDebt() (gas: 12569102)
PreviewerTest:testFloatingAvailableLiquidityProjectingNewFloatingDebt() (gas: 12575994)
PreviewerTest:testFloatingRateAndUtilization() (gas: 1128246)
PreviewerTest:testJustUpdatedRewardRatesShouldStillReturnRate() (gas: 7198150)
PreviewerTest:testMaxBorrowAssetsCapacity() (gas: 2469700)
PreviewerTest:testMaxBorrowAssetsCapacityForAccountWithShortfall() (gas: 11006596)
PreviewerTest:testMaxBorrowAssetsCapacityPerMarket() (gas: 13196746)
PreviewerTest:testOraclePriceReturningAccurateValues() (gas: 10148436)
PreviewerTest:testMaxBorrowAssetsCapacityForAccountWithShortfall() (gas: 11013494)
PreviewerTest:testMaxBorrowAssetsCapacityPerMarket() (gas: 13203638)
PreviewerTest:testOraclePriceReturningAccurateValues() (gas: 10155334)
PreviewerTest:testPreviewBorrowAtAllMaturitiesReturningAccurateAmount() (gas: 4222096)
PreviewerTest:testPreviewBorrowAtMaturityReturningAccurateAmount() (gas: 623347)
PreviewerTest:testPreviewBorrowAtMaturityReturningAccurateAmountWithIntermediateOperations() (gas: 1935493)
Expand All @@ -326,8 +327,8 @@ PreviewerTest:testPreviewDepositAtMaturityWithOneUnit() (gas: 589393)
PreviewerTest:testPreviewDepositAtMaturityWithSameTimestamp() (gas: 48970)
PreviewerTest:testPreviewDepositAtMaturityWithZeroAmount() (gas: 589415)
PreviewerTest:testPreviewRepayAtMaturityLastAccrualIsMaturity() (gas: 1420741)
PreviewerTest:testPreviewRepayAtMaturityReturningAccurateAmount() (gas: 1230788)
PreviewerTest:testPreviewRepayAtMaturityReturningAccurateAmountWithIntermediateOperations() (gas: 1496906)
PreviewerTest:testPreviewRepayAtMaturityReturningAccurateAmount() (gas: 1230795)
PreviewerTest:testPreviewRepayAtMaturityReturningAccurateAmountWithIntermediateOperations() (gas: 1496927)
PreviewerTest:testPreviewRepayAtMaturityWithEmptyMaturity() (gas: 35313)
PreviewerTest:testPreviewRepayAtMaturityWithEmptyMaturityAndZeroAmount() (gas: 35355)
PreviewerTest:testPreviewRepayAtMaturityWithInvalidMaturity() (gas: 35355)
Expand All @@ -350,8 +351,8 @@ PreviewerTest:testReserveFactor() (gas: 707280)
PreviewerTest:testReturnRewardAssetUsdPrice() (gas: 6732312)
PreviewerTest:testRewardsRateAfterDistributionEnd() (gas: 7504451)
PreviewerTest:testRewardsRateOnlyWithFixedBorrows() (gas: 6811623)
PreviewerTest:testRewardsRateWithDifferentRewardLengths() (gas: 19290811)
PreviewerTest:testRewardsRateWithMarketWithDifferentDecimals() (gas: 18422047)
PreviewerTest:testRewardsRateWithDifferentRewardLengths() (gas: 19297703)
PreviewerTest:testRewardsRateWithMarketWithDifferentDecimals() (gas: 18428939)
PreviewerTest:testRewardsRateX() (gas: 8150983)
PriceFeedDoubleTest:testPriceFeedDoubleReturningAccurateDecimals() (gas: 632562)
PriceFeedDoubleTest:testPriceFeedDoubleReturningPrice() (gas: 53190)
Expand Down Expand Up @@ -405,7 +406,7 @@ RewardsControllerTest:testLastUndistributed() (gas: 2189661)
RewardsControllerTest:testOperationAfterDistributionEnded() (gas: 722976)
RewardsControllerTest:testOperationsBeforeDistributionStart() (gas: 1674576)
RewardsControllerTest:testPermitClaim() (gas: 1275282)
RewardsControllerTest:testSetDistributionConfigWithDifferentDecimals() (gas: 11471265)
RewardsControllerTest:testSetDistributionConfigWithDifferentDecimals() (gas: 11478163)
RewardsControllerTest:testSetDistributionOperationShouldUpdateIndex() (gas: 136200)
RewardsControllerTest:testSetDistributionWithOnGoingMarketOperations() (gas: 1202358)
RewardsControllerTest:testSetHigherTotalDistribution() (gas: 1831201)
Expand Down
Loading

0 comments on commit d966714

Please sign in to comment.