Skip to content

Commit

Permalink
ci: update gas snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jan 22, 2024
1 parent 7f8f56c commit 516a74e
Showing 1 changed file with 51 additions and 51 deletions.
102 changes: 51 additions & 51 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
AssetManagedPairTest:testAdjustManagement(uint256,uint256) (runs: 256, μ: 313198, ~: 313458)
AssetManagedPairTest:testAdjustManagement(uint256,uint256) (runs: 256, μ: 313225, ~: 313458)
AssetManagedPairTest:testAdjustManagement_AdjustAfterLoss(uint256) (runs: 256, μ: 474710, ~: 474556)
AssetManagedPairTest:testAdjustManagement_DecreaseManagement(uint256,uint256) (runs: 256, μ: 497934, ~: 500725)
AssetManagedPairTest:testAdjustManagement_DecreaseManagement(uint256,uint256) (runs: 256, μ: 497768, ~: 500725)
AssetManagedPairTest:testAdjustManagement_GreaterThanUint104() (gas: 121282)
AssetManagedPairTest:testAdjustManagement_Int256Min() (gas: 121672)
AssetManagedPairTest:testAdjustManagement_KStillHolds(uint256) (runs: 256, μ: 628510, ~: 627983)
AssetManagedPairTest:testAdjustManagement_KStillHolds(uint256) (runs: 256, μ: 628478, ~: 627983)
AssetManagedPairTest:testAdjustManagement_Uint104() (gas: 647880)
AssetManagedPairTest:testBurn_AfterAlmostTotalLoss() (gas: 629357)
AssetManagedPairTest:testBurn_AfterLoss(uint256,uint256) (runs: 256, μ: 695279, ~: 702732)
AssetManagedPairTest:testMint_AfterLoss(uint256,uint256) (runs: 256, μ: 596610, ~: 599136)
AssetManagedPairTest:testBurn_AfterLoss(uint256,uint256) (runs: 256, μ: 694728, ~: 702732)
AssetManagedPairTest:testMint_AfterLoss(uint256,uint256) (runs: 256, μ: 596555, ~: 597988)
AssetManagedPairTest:testSetManager() (gas: 126086)
AssetManagedPairTest:testSetManager_CannotMigrateWithManaged(uint256,uint256) (runs: 256, μ: 408340, ~: 408600)
AssetManagedPairTest:testSetManager_CannotMigrateWithManaged(uint256,uint256) (runs: 256, μ: 408367, ~: 408600)
AssetManagedPairTest:testSkimExcessManaged() (gas: 398156)
AssetManagedPairTest:testSkimExcessManaged_InvalidToken() (gas: 69542)
AssetManagedPairTest:testSkimExcessManaged_NoExcess() (gas: 303973)
AssetManagedPairTest:testSwap_AfterLoss(uint256) (runs: 256, μ: 712101, ~: 711334)
AssetManagedPairTest:testSync(uint256,uint256,uint256,uint256) (runs: 256, μ: 459930, ~: 460151)
AssetManagedPairTest:testSyncManaged_ConstantProduct(uint256,uint256) (runs: 256, μ: 325211, ~: 325254)
AssetManagedPairTest:testSyncManaged_Stable(uint256,uint256) (runs: 256, μ: 382425, ~: 384540)
ConstantProductMathTest:testCalcLogPrice_ReturnsOneWeiWhenPriceDiffGreaterThan1e18(uint256,uint256) (runs: 256, μ: 8330, ~: 8135)
AssetManagedPairTest:testSwap_AfterLoss(uint256) (runs: 256, μ: 712167, ~: 711896)
AssetManagedPairTest:testSync(uint256,uint256,uint256,uint256) (runs: 256, μ: 459934, ~: 460151)
AssetManagedPairTest:testSyncManaged_ConstantProduct(uint256,uint256) (runs: 256, μ: 325214, ~: 325254)
AssetManagedPairTest:testSyncManaged_Stable(uint256,uint256) (runs: 256, μ: 382471, ~: 384644)
ConstantProductMathTest:testCalcLogPrice_ReturnsOneWeiWhenPriceDiffGreaterThan1e18(uint256,uint256) (runs: 256, μ: 8341, ~: 8135)
ConstantProductMathTest:testConstantProductOracleMath() (gas: 28270)
ConstantProductPairGas:testGasBurn() (gas: 87483)
ConstantProductPairGas:testGasMint() (gas: 94770)
Expand All @@ -41,65 +41,65 @@ ConstantProductPairTest:testOracle_CorrectPriceDiffDecimals(uint32) (runs: 256,
ConstantProductPairTest:testOracle_LiquidityAtMaximum() (gas: 208069)
ConstantProductPairTest:testOracle_NoWriteInSameTimestamp() (gas: 187250)
ConstantProductPairTest:testOracle_OverflowAccLiquidity(uint32) (runs: 256, μ: 109172, ~: 109172)
ConstantProductPairTest:testOracle_OverflowAccPrice(uint32) (runs: 256, μ: 190910, ~: 193011)
ConstantProductPairTest:testOracle_OverflowAccPrice(uint32) (runs: 256, μ: 190908, ~: 193011)
ConstantProductPairTest:testOracle_SimplePrices(uint32) (runs: 256, μ: 5041447, ~: 5041448)
ConstantProductPairTest:testOracle_WrapsAroundAfterFull() (gas: 3103107659)
ConstantProductPairTest:testPlatformFee_Disable() (gas: 389349)
ConstantProductPairTest:testPlatformFee_DisableReenable() (gas: 544848)
ConstantProductPairTest:testSwap() (gas: 82968)
ConstantProductPairTest:testSwap_ExactOut(uint256) (runs: 256, μ: 92454, ~: 92434)
ConstantProductPairTest:testSwap_ExactOut(uint256) (runs: 256, μ: 92464, ~: 92434)
ConstantProductPairTest:testSwap_ExactOutExceedReserves() (gas: 40885)
ConstantProductPairTest:testSwap_ExactOut_NewReservesExceedUint104() (gas: 81455)
ConstantProductPairTest:testSwap_ExtremeAmounts() (gas: 4903249)
ConstantProductPairTest:testSwap_MinInt256() (gas: 17153)
ConstantProductPairTest:testSwap_Reenter() (gas: 79970)
ConstantProductPairTest:testWriteObservations() (gas: 209107)
FixedPointMathLibTest:testFullMulDiv(uint256,uint256,uint256) (runs: 256, μ: 7409, ~: 6934)
FixedPointMathLibTest:testMulDiv(uint256,uint256,uint256) (runs: 256, μ: 7638, ~: 6812)
FlashSwapTest:testSwap_FlashSwap_ExactIn(uint256) (runs: 256, μ: 220493, ~: 224952)
FlashSwapTest:testSwap_FlashSwap_ExactOut(uint256) (runs: 256, μ: 225550, ~: 225697)
FlashSwapTest:testSwap_FlashSwap_NoPay(uint256) (runs: 256, μ: 182081, ~: 185280)
FixedPointMathLibTest:testFullMulDiv(uint256,uint256,uint256) (runs: 256, μ: 7414, ~: 6934)
FixedPointMathLibTest:testMulDiv(uint256,uint256,uint256) (runs: 256, μ: 7657, ~: 6812)
FlashSwapTest:testSwap_FlashSwap_ExactIn(uint256) (runs: 256, μ: 220351, ~: 224952)
FlashSwapTest:testSwap_FlashSwap_ExactOut(uint256) (runs: 256, μ: 225522, ~: 225202)
FlashSwapTest:testSwap_FlashSwap_NoPay(uint256) (runs: 256, μ: 182096, ~: 186542)
GenericFactoryGasTest:testCreateConstantProductPair() (gas: 4677481)
GenericFactoryGasTest:testCreateFactory() (gas: 5931600)
GenericFactoryGasTest:testCreateStablePair() (gas: 5021909)
GenericFactoryTest:testAddCurve() (gas: 115463)
GenericFactoryTest:testAddCurve_OnlyOwner() (gas: 13607)
GenericFactoryTest:testAllPairs() (gas: 9684504)
GenericFactoryTest:testCreatePair_AllCurves(uint256) (runs: 256, μ: 4868661, ~: 5027375)
GenericFactoryTest:testCreatePair_AllCurves(uint256) (runs: 256, μ: 4857904, ~: 5026839)
GenericFactoryTest:testCreatePair_Create2AddressCorrect() (gas: 9983502)
GenericFactoryTest:testCreatePair_CurveDoesNotExist(uint256) (runs: 256, μ: 21565, ~: 21542)
GenericFactoryTest:testCreatePair_IdenticalAddress(uint256) (runs: 256, μ: 14989, ~: 14988)
GenericFactoryTest:testCreatePair_MoreThan18Decimals(uint256) (runs: 256, μ: 199219, ~: 198813)
GenericFactoryTest:testCreatePair_PairAlreadyExists(uint256) (runs: 256, μ: 19441, ~: 19440)
GenericFactoryTest:testCreatePair_ZeroAddress(uint256) (runs: 256, μ: 15011, ~: 15010)
GenericFactoryTest:testCreatePair_IdenticalAddress(uint256) (runs: 256, μ: 14982, ~: 14988)
GenericFactoryTest:testCreatePair_MoreThan18Decimals(uint256) (runs: 256, μ: 199271, ~: 199832)
GenericFactoryTest:testCreatePair_PairAlreadyExists(uint256) (runs: 256, μ: 19434, ~: 19440)
GenericFactoryTest:testCreatePair_ZeroAddress(uint256) (runs: 256, μ: 15004, ~: 15010)
GenericFactoryTest:testGetBytecode_CorrectConstructorData() (gas: 343775)
GenericFactoryTest:testGetPair() (gas: 18241)
OracleCallerTest:testObservation_NotWhitelisted(uint256) (runs: 256, μ: 87770, ~: 88250)
OracleCallerTest:testObservation_NotWhitelisted(uint256) (runs: 256, μ: 87817, ~: 88250)
OracleCallerTest:testWhitelistAddress() (gas: 146432)
OracleCallerTest:testWhitelistAddress_NotOwner() (gas: 15127)
OracleWriterTest:testMaxChangeRate_Default() (gas: 66072)
OracleWriterTest:testObservation_NotOracleCaller(uint256) (runs: 256, μ: 77984, ~: 77880)
OracleWriterTest:testObservation_NotOracleCaller(uint256) (runs: 256, μ: 77993, ~: 78443)
OracleWriterTest:testOracle_CompareLiquidityTwoCurves_Balanced(uint32) (runs: 256, μ: 9747807, ~: 9747809)
OracleWriterTest:testOracle_SamePriceDiffLiq(uint32) (runs: 256, μ: 10256991, ~: 10256993)
OracleWriterTest:testOracle_SamePriceSameLiq(uint32) (runs: 256, μ: 10253814, ~: 10253816)
OracleWriterTest:testOracle_SameReservesDiffPrice(uint32) (runs: 256, μ: 10253631, ~: 10253633)
OracleWriterTest:testSetMaxChangeRate_OnlyFactory() (gas: 87460)
OracleWriterTest:testSetMaxChangeRate_TooHigh(uint256) (runs: 256, μ: 75561, ~: 75524)
OracleWriterTest:testSetMaxChangeRate_TooHigh(uint256) (runs: 256, μ: 75572, ~: 75524)
OracleWriterTest:testSetMaxChangeRate_TooLow() (gas: 67926)
OracleWriterTest:testUpdateOracleCaller() (gas: 113268)
OracleWriterTest:testUpdateOracleCaller_NoChange() (gas: 81382)
OracleWriterTest:testUpdateOracle_LatestTimestampWritten(uint256) (runs: 256, μ: 352204, ~: 352310)
OracleWriterTest:testUpdateOracle_LatestTimestampWritten(uint256) (runs: 256, μ: 352220, ~: 352592)
OracleWriterTest:testUpdateOracle_WriteOldReservesNotNew() (gas: 277812)
PairTest:testCustomPlatformFee_OffByDefault() (gas: 71776)
PairTest:testCustomSwapFee_OffByDefault() (gas: 66007)
PairTest:testEmitEventOnCreation() (gas: 9681375)
PairTest:testNonPayable() (gas: 79190)
PairTest:testRecoverToken() (gas: 198032)
PairTest:testSetPlatformFeeForPair() (gas: 109179)
PairTest:testSetPlatformFeeForPair_BreachMaximum(uint256) (runs: 256, μ: 111144, ~: 111144)
PairTest:testSetPlatformFeeForPair_BreachMaximum(uint256) (runs: 256, μ: 111169, ~: 111144)
PairTest:testSetPlatformFeeForPair_Reset() (gas: 117472)
PairTest:testSetSwapFeeForPair() (gas: 109335)
PairTest:testSetSwapFeeForPair_BreachMaximum(uint256) (runs: 256, μ: 111038, ~: 111061)
PairTest:testSetSwapFeeForPair_BreachMaximum(uint256) (runs: 256, μ: 111016, ~: 110499)
PairTest:testSetSwapFeeForPair_Reset() (gas: 123404)
PairTest:testSwapFee_UseDefault() (gas: 15004)
PairTest:testUpdateDefaultFees() (gas: 161604)
Expand All @@ -118,17 +118,17 @@ ReservoirPairTest:testOracleWriteAfterAssetManagerProfit_Burn() (gas: 723156)
ReservoirPairTest:testOracleWriteAfterAssetManagerProfit_Mint() (gas: 768812)
ReservoirPairTest:testOracleWriteAfterAssetManagerProfit_Sync() (gas: 580996)
ReservoirPairTest:testReentrancyGuard_LargeTimestamp() (gas: 229516)
ReservoirPairTest:testSkim(uint256,uint256) (runs: 256, μ: 258271, ~: 257884)
ReservoirPairTest:testSkim(uint256,uint256) (runs: 256, μ: 258276, ~: 257884)
ReservoirPairTest:testSync() (gas: 169408)
ReservoirTimelockTest:testRampA(uint32) (runs: 256, μ: 36123, ~: 36123)
ReservoirTimelockTest:testRampA_NotAdmin() (gas: 17559)
ReservoirTimelockTest:testSetCustomPlatformFee(uint256) (runs: 256, μ: 132564, ~: 134072)
ReservoirTimelockTest:testSetCustomPlatformFee_NotAdmin() (gas: 80745)
ReservoirTimelockTest:testSetCustomSwapFee(uint256) (runs: 256, μ: 132626, ~: 134118)
ReservoirTimelockTest:testSetCustomSwapFee(uint256) (runs: 256, μ: 132642, ~: 134118)
ReservoirTimelockTest:testSetCustomSwapFee_NotAdmin() (gas: 80721)
StableMathTest:testComputeLiquidityFromAdjustedBalances_ConvergeEvenWithVeryUnbalancedValues(uint256,uint256,uint256) (runs: 256, μ: 18476, ~: 13558)
StableMathTest:testGetAmountIn(uint256,uint256,uint256) (runs: 256, μ: 24109, ~: 23572)
StableMathTest:testGetAmountOut(uint256,uint256,uint256) (runs: 256, μ: 26590, ~: 25600)
StableMathTest:testComputeLiquidityFromAdjustedBalances_ConvergeEvenWithVeryUnbalancedValues(uint256,uint256,uint256) (runs: 256, μ: 18551, ~: 13558)
StableMathTest:testGetAmountIn(uint256,uint256,uint256) (runs: 256, μ: 24063, ~: 23572)
StableMathTest:testGetAmountOut(uint256,uint256,uint256) (runs: 256, μ: 26673, ~: 25837)
StableMathTest:testMinALessThanMaxA() (gas: 267)
StablePairGas:testGasBurn() (gas: 104273)
StablePairGas:testGasMint() (gas: 123496)
Expand All @@ -139,28 +139,28 @@ StablePairGas:testGasSwap_UpdateOracleClamped() (gas: 108730)
StablePairTest:testAttackWhileRampingDown_LongInterval() (gas: 203001)
StablePairTest:testAttackWhileRampingDown_ShortInterval() (gas: 202520)
StablePairTest:testBurn() (gas: 144781)
StablePairTest:testBurn_DiffDecimalPlaces(uint256) (runs: 256, μ: 5298571, ~: 5298080)
StablePairTest:testBurn_DiffDecimalPlaces(uint256) (runs: 256, μ: 5298536, ~: 5298080)
StablePairTest:testBurn_LastInvariantUseReserveInsteadOfBalance() (gas: 243508)
StablePairTest:testBurn_Reenter() (gas: 54451)
StablePairTest:testBurn_SucceedEvenIfMintFeeReverts() (gas: 149117)
StablePairTest:testBurn_WhenRampingA(uint256,uint32) (runs: 256, μ: 402923, ~: 403104)
StablePairTest:testBurn_WhenRampingA(uint256,uint32) (runs: 256, μ: 402965, ~: 403104)
StablePairTest:testBurn_Zero() (gas: 81721)
StablePairTest:testFactoryAmpTooHigh() (gas: 339406)
StablePairTest:testFactoryAmpTooLow() (gas: 334384)
StablePairTest:testGetCurrentA() (gas: 32235)
StablePairTest:testMint() (gas: 114452)
StablePairTest:testMintFee_CallableBySelf() (gas: 21187)
StablePairTest:testMintFee_DiffPlatformFees(uint256) (runs: 256, μ: 6529307, ~: 6533263)
StablePairTest:testMintFee_DiffPlatformFees(uint256) (runs: 256, μ: 6529031, ~: 6533263)
StablePairTest:testMintFee_NotCallableByOthers() (gas: 11708)
StablePairTest:testMintFee_WhenRampingA_PoolBalanced(uint256) (runs: 256, μ: 6692752, ~: 6692931)
StablePairTest:testMintFee_WhenRampingA_PoolUnbalanced(uint256) (runs: 256, μ: 6147278, ~: 6146879)
StablePairTest:testMintFee_WhenRampingA_PoolUnbalanced(uint256) (runs: 256, μ: 6147292, ~: 6146879)
StablePairTest:testMint_CalculationOverflowInStableMath() (gas: 5131262)
StablePairTest:testMint_NonOptimalProportion() (gas: 147613)
StablePairTest:testMint_NonOptimalProportion_ThenBurn() (gas: 307081)
StablePairTest:testMint_OnlyTransferOneToken() (gas: 5069175)
StablePairTest:testMint_PlatformFeeOff() (gas: 118997)
StablePairTest:testMint_Reenter() (gas: 54285)
StablePairTest:testMint_WhenRampingA(uint256,uint32) (runs: 256, μ: 420064, ~: 420250)
StablePairTest:testMint_WhenRampingA(uint256,uint32) (runs: 256, μ: 420102, ~: 420250)
StablePairTest:testOracle_ClampedPrice_NoDiffWithinLimit() (gas: 202546)
StablePairTest:testOracle_CorrectLiquidity(uint32) (runs: 256, μ: 5454670, ~: 5454671)
StablePairTest:testOracle_CorrectPrice(uint32) (runs: 256, μ: 5480690, ~: 5480691)
Expand All @@ -182,28 +182,28 @@ StablePairTest:testRampA_MaxSpeed_Halve() (gas: 26317)
StablePairTest:testRampA_OnlyFactory() (gas: 8756)
StablePairTest:testRampA_SetAtMaximum() (gas: 25006)
StablePairTest:testRampA_SetAtMinimum() (gas: 25006)
StablePairTest:testRampA_SwappingDuringRampingDown(uint256,uint256,uint256,uint256) (runs: 256, μ: 504910, ~: 509231)
StablePairTest:testRampA_SwappingDuringRampingUp(uint256,uint256,uint256,uint256) (runs: 256, μ: 505062, ~: 510408)
StablePairTest:testRampA_SwappingDuringRampingDown(uint256,uint256,uint256,uint256) (runs: 256, μ: 504909, ~: 509231)
StablePairTest:testRampA_SwappingDuringRampingUp(uint256,uint256,uint256,uint256) (runs: 256, μ: 505204, ~: 510567)
StablePairTest:testStopRampA() (gas: 33691)
StablePairTest:testStopRampA_Early(uint256,uint32) (runs: 256, μ: 42066, ~: 42192)
StablePairTest:testStopRampA_Late(uint256) (runs: 256, μ: 40598, ~: 40713)
StablePairTest:testStopRampA_Early(uint256,uint32) (runs: 256, μ: 42080, ~: 42316)
StablePairTest:testStopRampA_Late(uint256) (runs: 256, μ: 40584, ~: 40713)
StablePairTest:testStopRampA_OnlyFactory() (gas: 8449)
StablePairTest:testSwap() (gas: 86798)
StablePairTest:testSwap_BetterPerformanceThanConstantProduct() (gas: 128021)
StablePairTest:testSwap_DiffAs(uint256,uint256,uint256) (runs: 256, μ: 5311413, ~: 5311977)
StablePairTest:testSwap_DiffSwapFees(uint256) (runs: 256, μ: 5312895, ~: 5315261)
StablePairTest:testSwap_DiffAs(uint256,uint256,uint256) (runs: 256, μ: 5311204, ~: 5311937)
StablePairTest:testSwap_DiffSwapFees(uint256) (runs: 256, μ: 5312890, ~: 5315261)
StablePairTest:testSwap_ExactInExceedUint104() (gas: 79097)
StablePairTest:testSwap_ExactOutExceedReserves() (gas: 40972)
StablePairTest:testSwap_IncreasingSwapFees(uint256,uint256,uint256) (runs: 256, μ: 300528, ~: 300568)
StablePairTest:testSwap_IncreasingSwapFees(uint256,uint256,uint256) (runs: 256, μ: 300520, ~: 300444)
StablePairTest:testSwap_MinInt256() (gas: 21226)
StablePairTest:testSwap_Reenter() (gas: 89641)
StablePairTest:testSwap_Token0ExactOut(uint256) (runs: 256, μ: 118742, ~: 108147)
StablePairTest:testSwap_Token1ExactOut(uint256) (runs: 256, μ: 118494, ~: 108227)
StablePairTest:testSwap_VeryLargeLiquidity(uint256) (runs: 256, μ: 5282891, ~: 5282451)
StablePairTest:testSwap_VerySmallLiquidity(uint256,uint256,uint256) (runs: 256, μ: 5280893, ~: 5280534)
StablePairTest:testSwap_Token0ExactOut(uint256) (runs: 256, μ: 118933, ~: 108147)
StablePairTest:testSwap_Token1ExactOut(uint256) (runs: 256, μ: 119413, ~: 108227)
StablePairTest:testSwap_VeryLargeLiquidity(uint256) (runs: 256, μ: 5282858, ~: 5282108)
StablePairTest:testSwap_VerySmallLiquidity(uint256,uint256,uint256) (runs: 256, μ: 5280847, ~: 5280548)
StablePairTest:testSwap_ZeroInput() (gas: 14375)
StablePairTest:testWriteObservations() (gas: 241921)
StdMathTest:testPercentDelta() (gas: 578)
StdMathTest:testPercentDelta_MinusOne() (gas: 601)
StdMathTest:testPercentDelta_PlusOne() (gas: 536)
Uint31LibTest:testSub() (gas: 357)
Uint31LibTest:testSub() (gas: 357)

0 comments on commit 516a74e

Please sign in to comment.