From 8f1cc04759a28d4683a2db741dd41b64b4e942b9 Mon Sep 17 00:00:00 2001 From: ChefMist <133624774+ChefMist@users.noreply.github.com> Date: Fri, 31 May 2024 10:39:50 +0800 Subject: [PATCH 1/2] feat: update forge-std and forge-gas-snapshot --- .forge-snapshots/BinHookTest#testBurnSucceedsWithHook.snap | 2 +- .../BinHookTest#testInitializeSucceedsWithHook.snap | 2 +- .forge-snapshots/BinHookTest#testMintSucceedsWithHook.snap | 2 +- .../BinPoolManagerTest#testExtLoadPoolActiveId.snap | 2 +- .../BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap | 2 +- .forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap | 2 +- .forge-snapshots/BinPoolManagerTest#testGasDonate.snap | 2 +- .forge-snapshots/BinPoolManagerTest#testSetProtocolFee.snap | 2 +- .forge-snapshots/BitMathTest#leastSignificantBitMaxUint128.snap | 2 +- .forge-snapshots/BitMathTest#leastSignificantBitMaxUint256.snap | 2 +- .../BitMathTest#leastSignificantBitSmallNumber.snap | 2 +- .../CLPoolManagerTest#addLiquidity_nativeToken.snap | 2 +- .forge-snapshots/CLPoolManagerTest#gasDonateOneToken.snap | 2 +- .../CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap | 2 +- .forge-snapshots/VaultTest#collectFee.snap | 2 +- .forge-snapshots/VaultTest#lockSettledWhenAddLiquidity.snap | 2 +- .forge-snapshots/VaultTest#lockSettledWhenFlashloan.snap | 2 +- .forge-snapshots/VaultTest#lockSettledWhenMultiHopSwap.snap | 2 +- .forge-snapshots/VaultTest#lockSettledWhenSwap.snap | 2 +- .forge-snapshots/VaultTest#registerPoolManager.snap | 2 +- lib/forge-gas-snapshot | 2 +- lib/forge-std | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.forge-snapshots/BinHookTest#testBurnSucceedsWithHook.snap b/.forge-snapshots/BinHookTest#testBurnSucceedsWithHook.snap index 318a3319..5f00a595 100644 --- a/.forge-snapshots/BinHookTest#testBurnSucceedsWithHook.snap +++ b/.forge-snapshots/BinHookTest#testBurnSucceedsWithHook.snap @@ -1 +1 @@ -180732 \ No newline at end of file +180720 \ No newline at end of file diff --git a/.forge-snapshots/BinHookTest#testInitializeSucceedsWithHook.snap b/.forge-snapshots/BinHookTest#testInitializeSucceedsWithHook.snap index e2aabd01..cd57fa26 100644 --- a/.forge-snapshots/BinHookTest#testInitializeSucceedsWithHook.snap +++ b/.forge-snapshots/BinHookTest#testInitializeSucceedsWithHook.snap @@ -1 +1 @@ -137462 \ No newline at end of file +137465 \ No newline at end of file diff --git a/.forge-snapshots/BinHookTest#testMintSucceedsWithHook.snap b/.forge-snapshots/BinHookTest#testMintSucceedsWithHook.snap index eb25fb91..623d8de0 100644 --- a/.forge-snapshots/BinHookTest#testMintSucceedsWithHook.snap +++ b/.forge-snapshots/BinHookTest#testMintSucceedsWithHook.snap @@ -1 +1 @@ -331249 \ No newline at end of file +331237 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testExtLoadPoolActiveId.snap b/.forge-snapshots/BinPoolManagerTest#testExtLoadPoolActiveId.snap index 49b43c45..420a359a 100644 --- a/.forge-snapshots/BinPoolManagerTest#testExtLoadPoolActiveId.snap +++ b/.forge-snapshots/BinPoolManagerTest#testExtLoadPoolActiveId.snap @@ -1 +1 @@ -1866 \ No newline at end of file +1860 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap b/.forge-snapshots/BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap index 23353c28..31fc91f1 100644 --- a/.forge-snapshots/BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap +++ b/.forge-snapshots/BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap @@ -1 +1 @@ -32545 \ No newline at end of file +32533 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap b/.forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap index 960d5d6f..8e96cfd1 100644 --- a/.forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap +++ b/.forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap @@ -1 +1 @@ -30417 \ No newline at end of file +30405 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testGasDonate.snap b/.forge-snapshots/BinPoolManagerTest#testGasDonate.snap index 7fd7d14b..49426e31 100644 --- a/.forge-snapshots/BinPoolManagerTest#testGasDonate.snap +++ b/.forge-snapshots/BinPoolManagerTest#testGasDonate.snap @@ -1 +1 @@ -119515 \ No newline at end of file +119503 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testSetProtocolFee.snap b/.forge-snapshots/BinPoolManagerTest#testSetProtocolFee.snap index 2397c98f..820df218 100644 --- a/.forge-snapshots/BinPoolManagerTest#testSetProtocolFee.snap +++ b/.forge-snapshots/BinPoolManagerTest#testSetProtocolFee.snap @@ -1 +1 @@ -34487 \ No newline at end of file +34475 \ No newline at end of file diff --git a/.forge-snapshots/BitMathTest#leastSignificantBitMaxUint128.snap b/.forge-snapshots/BitMathTest#leastSignificantBitMaxUint128.snap index 9d3f4170..ee2b8364 100644 --- a/.forge-snapshots/BitMathTest#leastSignificantBitMaxUint128.snap +++ b/.forge-snapshots/BitMathTest#leastSignificantBitMaxUint128.snap @@ -1 +1 @@ -455 \ No newline at end of file +456 \ No newline at end of file diff --git a/.forge-snapshots/BitMathTest#leastSignificantBitMaxUint256.snap b/.forge-snapshots/BitMathTest#leastSignificantBitMaxUint256.snap index 2da43253..7d4983b9 100644 --- a/.forge-snapshots/BitMathTest#leastSignificantBitMaxUint256.snap +++ b/.forge-snapshots/BitMathTest#leastSignificantBitMaxUint256.snap @@ -1 +1 @@ -457 \ No newline at end of file +458 \ No newline at end of file diff --git a/.forge-snapshots/BitMathTest#leastSignificantBitSmallNumber.snap b/.forge-snapshots/BitMathTest#leastSignificantBitSmallNumber.snap index 13ef0a79..a21cae36 100644 --- a/.forge-snapshots/BitMathTest#leastSignificantBitSmallNumber.snap +++ b/.forge-snapshots/BitMathTest#leastSignificantBitSmallNumber.snap @@ -1 +1 @@ -453 \ No newline at end of file +454 \ No newline at end of file diff --git a/.forge-snapshots/CLPoolManagerTest#addLiquidity_nativeToken.snap b/.forge-snapshots/CLPoolManagerTest#addLiquidity_nativeToken.snap index df39488c..187d7332 100644 --- a/.forge-snapshots/CLPoolManagerTest#addLiquidity_nativeToken.snap +++ b/.forge-snapshots/CLPoolManagerTest#addLiquidity_nativeToken.snap @@ -1 +1 @@ -245216 \ No newline at end of file +245219 \ No newline at end of file diff --git a/.forge-snapshots/CLPoolManagerTest#gasDonateOneToken.snap b/.forge-snapshots/CLPoolManagerTest#gasDonateOneToken.snap index f332cbad..63c2964a 100644 --- a/.forge-snapshots/CLPoolManagerTest#gasDonateOneToken.snap +++ b/.forge-snapshots/CLPoolManagerTest#gasDonateOneToken.snap @@ -1 +1 @@ -112426 \ No newline at end of file +112429 \ No newline at end of file diff --git a/.forge-snapshots/CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap b/.forge-snapshots/CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap index df3f7901..6e03401a 100644 --- a/.forge-snapshots/CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap +++ b/.forge-snapshots/CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap @@ -1 +1 @@ -32328 \ No newline at end of file +32316 \ No newline at end of file diff --git a/.forge-snapshots/VaultTest#collectFee.snap b/.forge-snapshots/VaultTest#collectFee.snap index 41e079df..5433623b 100644 --- a/.forge-snapshots/VaultTest#collectFee.snap +++ b/.forge-snapshots/VaultTest#collectFee.snap @@ -1 +1 @@ -25187 \ No newline at end of file +25184 \ No newline at end of file diff --git a/.forge-snapshots/VaultTest#lockSettledWhenAddLiquidity.snap b/.forge-snapshots/VaultTest#lockSettledWhenAddLiquidity.snap index 4b9ea1ed..c081b24a 100644 --- a/.forge-snapshots/VaultTest#lockSettledWhenAddLiquidity.snap +++ b/.forge-snapshots/VaultTest#lockSettledWhenAddLiquidity.snap @@ -1 +1 @@ -81469 \ No newline at end of file +81500 \ No newline at end of file diff --git a/.forge-snapshots/VaultTest#lockSettledWhenFlashloan.snap b/.forge-snapshots/VaultTest#lockSettledWhenFlashloan.snap index 30c979e2..9bf9fb43 100644 --- a/.forge-snapshots/VaultTest#lockSettledWhenFlashloan.snap +++ b/.forge-snapshots/VaultTest#lockSettledWhenFlashloan.snap @@ -1 +1 @@ -121465 \ No newline at end of file +121559 \ No newline at end of file diff --git a/.forge-snapshots/VaultTest#lockSettledWhenMultiHopSwap.snap b/.forge-snapshots/VaultTest#lockSettledWhenMultiHopSwap.snap index 4de5f0c6..9e1bc6b9 100644 --- a/.forge-snapshots/VaultTest#lockSettledWhenMultiHopSwap.snap +++ b/.forge-snapshots/VaultTest#lockSettledWhenMultiHopSwap.snap @@ -1 +1 @@ -45057 \ No newline at end of file +45088 \ No newline at end of file diff --git a/.forge-snapshots/VaultTest#lockSettledWhenSwap.snap b/.forge-snapshots/VaultTest#lockSettledWhenSwap.snap index 5a398939..d7f5b451 100644 --- a/.forge-snapshots/VaultTest#lockSettledWhenSwap.snap +++ b/.forge-snapshots/VaultTest#lockSettledWhenSwap.snap @@ -1 +1 @@ -45056 \ No newline at end of file +45084 \ No newline at end of file diff --git a/.forge-snapshots/VaultTest#registerPoolManager.snap b/.forge-snapshots/VaultTest#registerPoolManager.snap index d3457db4..223e86f2 100644 --- a/.forge-snapshots/VaultTest#registerPoolManager.snap +++ b/.forge-snapshots/VaultTest#registerPoolManager.snap @@ -1 +1 @@ -47916 \ No newline at end of file +47913 \ No newline at end of file diff --git a/lib/forge-gas-snapshot b/lib/forge-gas-snapshot index 774be221..9161f7c0 160000 --- a/lib/forge-gas-snapshot +++ b/lib/forge-gas-snapshot @@ -1 +1 @@ -Subproject commit 774be221e63df1a2b4e99b6fbf4d6770599f4068 +Subproject commit 9161f7c0b6c6788a89081e2b3b9c67592b71e689 diff --git a/lib/forge-std b/lib/forge-std index 1d9650e9..52715a21 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit 1d9650e951204a0ddce9ff89c32f1997984cef4d +Subproject commit 52715a217dc51d0de15877878ab8213f6cbbbab5 From daf8b1d7e9bc4c42c203628b09a541c7f06839ca Mon Sep 17 00:00:00 2001 From: ChefMist <133624774+ChefMist@users.noreply.github.com> Date: Fri, 31 May 2024 11:10:30 +0800 Subject: [PATCH 2/2] gas snapshot update --- .../BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap | 2 +- .forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap | 2 +- .../CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.forge-snapshots/BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap b/.forge-snapshots/BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap index 23353c28..31fc91f1 100644 --- a/.forge-snapshots/BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap +++ b/.forge-snapshots/BinPoolManagerTest#testFuzzUpdateDynamicLPFee.snap @@ -1 +1 @@ -32545 \ No newline at end of file +32533 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap b/.forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap index 960d5d6f..8e96cfd1 100644 --- a/.forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap +++ b/.forge-snapshots/BinPoolManagerTest#testFuzz_SetMaxBinStep.snap @@ -1 +1 @@ -30417 \ No newline at end of file +30405 \ No newline at end of file diff --git a/.forge-snapshots/CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap b/.forge-snapshots/CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap index 6e03401a..df3f7901 100644 --- a/.forge-snapshots/CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap +++ b/.forge-snapshots/CLPoolManagerTest#testFuzzUpdateDynamicLPFee.snap @@ -1 +1 @@ -32316 \ No newline at end of file +32328 \ No newline at end of file