Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds committed Jun 9, 2023
1 parent 6787cc9 commit b305d04
Showing 1 changed file with 73 additions and 31 deletions.
104 changes: 73 additions & 31 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
HooksTest:testAfterDonateInvalidReturn() (gas: 442860)
HooksTest:testAfterInitializeInvalidReturn() (gas: 875883)
HooksTest:testAfterModifyPositionInvalidReturn() (gas: 323571)
HooksTest:testAfterSwapInvalidReturn() (gas: 159397)
HooksTest:testBeforeDonateInvalidReturn() (gas: 442880)
HooksTest:testBeforeInitializeInvalidReturn() (gas: 844168)
HooksTest:testBeforeModifyPositionInvalidReturn() (gas: 133157)
HooksTest:testBeforeSwapInvalidReturn() (gas: 134132)
HooksTest:testDonateSucceedsWithHook() (gas: 532112)
HooksTest:testAfterDonateInvalidReturn() (gas: 441987)
HooksTest:testAfterInitializeInvalidReturn() (gas: 875882)
HooksTest:testAfterModifyPositionInvalidReturn() (gas: 323560)
HooksTest:testAfterSwapInvalidReturn() (gas: 159107)
HooksTest:testBeforeDonateInvalidReturn() (gas: 442007)
HooksTest:testBeforeInitializeInvalidReturn() (gas: 844189)
HooksTest:testBeforeModifyPositionInvalidReturn() (gas: 132850)
HooksTest:testBeforeSwapInvalidReturn() (gas: 133833)
HooksTest:testDonateSucceedsWithHook() (gas: 531091)
HooksTest:testGas() (gas: 38344)
HooksTest:testInitializeSucceedsWithHook() (gas: 6150819)
HooksTest:testInitializeSucceedsWithHook() (gas: 6204741)
HooksTest:testInvalidIfNoFlags() (gas: 907)
HooksTest:testIsValidHookAddressAnyFlags() (gas: 1827)
HooksTest:testIsValidHookAddressZeroAddress() (gas: 382)
HooksTest:testIsValidIfDynamicFee() (gas: 622)
HooksTest:testModifyPositionSucceedsWithHook() (gas: 280468)
HooksTest:testSwapSucceedsWithHook() (gas: 109590)
HooksTest:testModifyPositionSucceedsWithHook() (gas: 280024)
HooksTest:testSwapSucceedsWithHook() (gas: 108810)
HooksTest:testValidateHookAddressAfterDonate(uint152) (runs: 256, μ: 1846, ~: 1846)
HooksTest:testValidateHookAddressAfterInitialize(uint152) (runs: 256, μ: 1847, ~: 1847)
HooksTest:testValidateHookAddressAfterModify(uint152) (runs: 256, μ: 1827, ~: 1827)
Expand All @@ -28,27 +28,69 @@ HooksTest:testValidateHookAddressBeforeDonate(uint152) (runs: 256, μ: 1804, ~:
HooksTest:testValidateHookAddressBeforeInitialize(uint152) (runs: 256, μ: 1829, ~: 1829)
HooksTest:testValidateHookAddressBeforeModify(uint152) (runs: 256, μ: 1855, ~: 1855)
HooksTest:testValidateHookAddressBeforeSwap(uint152) (runs: 256, μ: 1848, ~: 1848)
HooksTest:testValidateHookAddressFailsAllHooks(uint152,uint8) (runs: 256, μ: 4729, ~: 4676)
HooksTest:testValidateHookAddressFailsNoHooks(uint152,uint8) (runs: 256, μ: 4777, ~: 4719)
HooksTest:testValidateHookAddressFailsAllHooks(uint152,uint8) (runs: 256, μ: 4727, ~: 4676)
HooksTest:testValidateHookAddressFailsNoHooks(uint152,uint8) (runs: 256, μ: 4775, ~: 4719)
HooksTest:testValidateHookAddressNoHooks(uint152) (runs: 256, μ: 1837, ~: 1837)
OwnedTest:testConstructor(address) (runs: 256, μ: 159767, ~: 159767)
OwnedTest:testSetOwnerFromNonOwner(address,address) (runs: 256, μ: 160839, ~: 160925)
OwnedTest:testSetOwnerFromOwner(address,address) (runs: 256, μ: 162840, ~: 162996)
PoolManagerTest:testDonateFailsIfNoLiquidity(uint160) (runs: 256, μ: 105142, ~: 105302)
PoolManagerTest:testDonateFailsIfNotInitialized() (gas: 69697)
PoolManagerTest:testDonateSucceedsForNativeTokensWhenPoolHasLiquidity() (gas: 501153)
PoolManagerTest:testDonateSucceedsWhenPoolHasLiquidity() (gas: 558994)
PoolManagerTest:testDonateSucceedsWithBeforeAndAfterHooks() (gas: 1194549)
PoolManagerTest:testGasDonateOneToken() (gas: 513158)
PoolManagerTest:testLockEmitsCorrectId() (gas: 47971)
PoolManagerTest:testNoOpLockIsOk() (gas: 87143)
PoolManagerTest:testPoolManagerInitialize((address,address,uint24,int24,address),uint160) (runs: 256, μ: 16346, ~: 13378)
PoolTest:testModifyPosition(uint160,(address,int24,int24,int128,int24)) (runs: 256, μ: 20335, ~: 6980)
PoolTest:testPoolInitialize(uint160,uint8) (runs: 256, μ: 12969, ~: 5591)
PoolTest:testSwap(uint160,(uint24,int24,bool,int256,uint160)) (runs: 256, μ: 777267, ~: 7290)
SafeCastTest:testToInt128(int256) (runs: 256, μ: 1331, ~: 489)
SafeCastTest:testToInt256(uint256) (runs: 256, μ: 961, ~: 429)
SafeCastTest:testToUint160(uint256) (runs: 256, μ: 1241, ~: 432)
PoolManagerTest:testDonateFailsIfNoLiquidity(uint160) (runs: 256, μ: 104874, ~: 105038)
PoolManagerTest:testDonateFailsIfNotInitialized() (gas: 69323)
PoolManagerTest:testDonateFailsWithIncorrectSelectors() (gas: 1103240)
PoolManagerTest:testDonateSucceedsForNativeTokensWhenPoolHasLiquidity() (gas: 500356)
PoolManagerTest:testDonateSucceedsWhenPoolHasLiquidity() (gas: 558289)
PoolManagerTest:testDonateSucceedsWithCorrectSelectors() (gas: 981840)
PoolManagerTest:testExtsloadForPoolPrice() (gas: 76014)
PoolManagerTest:testExtsloadMultipleSlots() (gas: 7333225)
PoolManagerTest:testGasDonateOneToken() (gas: 512324)
PoolManagerTest:testGasMint() (gas: 319940)
PoolManagerTest:testGasMintWithHooks() (gas: 802768)
PoolManagerTest:testGasMintWithNative() (gas: 305008)
PoolManagerTest:testGasPoolManagerInitialize() (gas: 72812)
PoolManagerTest:testGasSwap() (gas: 196573)
PoolManagerTest:testGasSwapAgainstLiq() (gas: 668537)
PoolManagerTest:testGasSwapAgainstLiqWithNative() (gas: 710056)
PoolManagerTest:testGasSwapWithHooks() (gas: 641207)
PoolManagerTest:testGasSwapWithNative() (gas: 196625)
PoolManagerTest:testLockEmitsCorrectId() (gas: 47981)
PoolManagerTest:testMintFailsIfNotInitialized() (gas: 70529)
PoolManagerTest:testMintFailsWithIncorrectSelectors() (gas: 872989)
PoolManagerTest:testMintSucceedsForNativeTokensIfInitialized(uint160) (runs: 256, μ: 260555, ~: 274683)
PoolManagerTest:testMintSucceedsIfInitialized(uint160) (runs: 256, μ: 263786, ~: 265288)
PoolManagerTest:testMintSucceedsWithCorrectSelectors() (gas: 809654)
PoolManagerTest:testMintSucceedsWithHooksIfInitialized(uint160) (runs: 256, μ: 806544, ~: 804021)
PoolManagerTest:testNoOpLockIsOk() (gas: 87210)
PoolManagerTest:testPoolManagerFeeControllerSet() (gas: 35330)
PoolManagerTest:testPoolManagerFetchFeeWhenController(uint160) (runs: 256, μ: 108234, ~: 108394)
PoolManagerTest:testPoolManagerInitialize((address,address,uint24,int24,address),uint160) (runs: 256, μ: 18051, ~: 13442)
PoolManagerTest:testPoolManagerInitializeFailsIfTickSpaceNeg(uint160) (runs: 256, μ: 15323, ~: 15323)
PoolManagerTest:testPoolManagerInitializeFailsIfTickSpaceTooLarge(uint160) (runs: 256, μ: 16271, ~: 16271)
PoolManagerTest:testPoolManagerInitializeFailsIfTickSpaceZero(uint160) (runs: 256, μ: 15324, ~: 15324)
PoolManagerTest:testPoolManagerInitializeFailsWithIncorrectSelectors() (gas: 578101)
PoolManagerTest:testPoolManagerInitializeForNativeTokens(uint160) (runs: 256, μ: 57782, ~: 58110)
PoolManagerTest:testPoolManagerInitializeSucceedsWithCorrectSelectors() (gas: 578125)
PoolManagerTest:testPoolManagerInitializeSucceedsWithEmptyHooks(uint160) (runs: 256, μ: 543521, ~: 543687)
PoolManagerTest:testPoolManagerInitializeSucceedsWithHooks(uint160) (runs: 256, μ: 608222, ~: 608372)
PoolManagerTest:testPoolManagerInitializeSucceedsWithMaxTickSpacing(uint160) (runs: 256, μ: 49734, ~: 49893)
PoolManagerTest:testSwapFailsIfNotInitialized(uint160) (runs: 256, μ: 72844, ~: 72844)
PoolManagerTest:testSwapFailsWithIncorrectSelectors() (gas: 948595)
PoolManagerTest:testSwapMintERC1155IfOutputNotTaken() (gas: 535548)
PoolManagerTest:testSwapSucceedsIfInitialized() (gas: 107208)
PoolManagerTest:testSwapSucceedsWithCorrectSelectors() (gas: 845733)
PoolManagerTest:testSwapSucceedsWithHooksIfInitialized() (gas: 649679)
PoolManagerTest:testSwapSucceedsWithNativeTokensIfInitialized() (gas: 105500)
PoolManagerTest:testSwapUse1155AsInput() (gas: 713157)
PoolTest:testModifyPosition(uint160,(address,int24,int24,int128,int24)) (runs: 256, μ: 20321, ~: 6980)
PoolTest:testPoolInitialize(uint160,uint8) (runs: 256, μ: 12709, ~: 5591)
PoolTest:testSwap(uint160,(uint24,int24,bool,int256,uint160)) (runs: 256, μ: 776640, ~: 7290)
SafeCastTest:testToInt128(int256) (runs: 256, μ: 1342, ~: 511)
SafeCastTest:testToInt128(uint256) (runs: 256, μ: 1344, ~: 390)
SafeCastTest:testToInt256(uint256) (runs: 256, μ: 993, ~: 450)
SafeCastTest:testToUint160(uint256) (runs: 256, μ: 1231, ~: 454)
TestBalanceDelta:testAdd(int128,int128,int128,int128) (runs: 256, μ: 4750, ~: 4750)
TestBalanceDelta:testSub(int128,int128,int128,int128) (runs: 256, μ: 4724, ~: 4724)
TestBalanceDelta:testToBalanceDelta() (gas: 968)
TestBalanceDelta:testToBalanceDelta(int128,int128) (runs: 256, μ: 613, ~: 613)
TestBitMath:testLeastSignificantBit(uint256) (runs: 256, μ: 3954, ~: 3748)
TestBitMath:testLeastSignificantBitMaxUint256() (gas: 697)
TestBitMath:testLeastSignificantBitOne() (gas: 715)
Expand All @@ -68,5 +110,5 @@ TestDelegateCall:testCannotDelegateCallPrivateMethodWithModifier() (gas: 8641)
TestDelegateCall:testDelegateCallNoModifier() (gas: 5734)
TestDelegateCall:testDelegateCallWithModifier() (gas: 8575)
TestDelegateCall:testGasOverhead() (gas: 13709)
TestDynamicFees:testSwapFailsWithTooLargeFee() (gas: 99301)
TestDynamicFees:testSwapWorks() (gas: 104889)
TestDynamicFees:testSwapFailsWithTooLargeFee() (gas: 98959)
TestDynamicFees:testSwapWorks() (gas: 104227)

0 comments on commit b305d04

Please sign in to comment.