diff --git a/.forge-snapshots/BinHookTest#testDonateSucceedsWithHook.snap b/.forge-snapshots/BinHookTest#testDonateSucceedsWithHook.snap index 3bf6d680..f1685993 100644 --- a/.forge-snapshots/BinHookTest#testDonateSucceedsWithHook.snap +++ b/.forge-snapshots/BinHookTest#testDonateSucceedsWithHook.snap @@ -1 +1 @@ -135044 \ No newline at end of file +135043 \ No newline at end of file diff --git a/.forge-snapshots/BinHookTest#testInitializeSucceedsWithHook.snap b/.forge-snapshots/BinHookTest#testInitializeSucceedsWithHook.snap index 325864e7..feed235a 100644 --- a/.forge-snapshots/BinHookTest#testInitializeSucceedsWithHook.snap +++ b/.forge-snapshots/BinHookTest#testInitializeSucceedsWithHook.snap @@ -1 +1 @@ -108917 \ No newline at end of file +108914 \ No newline at end of file diff --git a/.forge-snapshots/BinHookTest#testSwapSucceedsWithHook.snap b/.forge-snapshots/BinHookTest#testSwapSucceedsWithHook.snap index 9dccce33..b3a4b1df 100644 --- a/.forge-snapshots/BinHookTest#testSwapSucceedsWithHook.snap +++ b/.forge-snapshots/BinHookTest#testSwapSucceedsWithHook.snap @@ -1 +1 @@ -139137 \ No newline at end of file +139136 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testBurnNativeCurrency.snap b/.forge-snapshots/BinPoolManagerTest#testBurnNativeCurrency.snap index e534d85b..f57e6954 100644 --- a/.forge-snapshots/BinPoolManagerTest#testBurnNativeCurrency.snap +++ b/.forge-snapshots/BinPoolManagerTest#testBurnNativeCurrency.snap @@ -1 +1 @@ -90480 \ No newline at end of file +90479 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testMintNativeCurrency.snap b/.forge-snapshots/BinPoolManagerTest#testMintNativeCurrency.snap index cf653eca..ff78ebe9 100644 --- a/.forge-snapshots/BinPoolManagerTest#testMintNativeCurrency.snap +++ b/.forge-snapshots/BinPoolManagerTest#testMintNativeCurrency.snap @@ -1 +1 @@ -319342 \ No newline at end of file +319341 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testNoOpGas_Donate.snap b/.forge-snapshots/BinPoolManagerTest#testNoOpGas_Donate.snap index 2c5918be..ca967971 100644 --- a/.forge-snapshots/BinPoolManagerTest#testNoOpGas_Donate.snap +++ b/.forge-snapshots/BinPoolManagerTest#testNoOpGas_Donate.snap @@ -1 +1 @@ -19391 \ No newline at end of file +19392 \ No newline at end of file diff --git a/.forge-snapshots/BinPoolManagerTest#testNoOpGas_Swap.snap b/.forge-snapshots/BinPoolManagerTest#testNoOpGas_Swap.snap index ab95b12f..e75d7399 100644 --- a/.forge-snapshots/BinPoolManagerTest#testNoOpGas_Swap.snap +++ b/.forge-snapshots/BinPoolManagerTest#testNoOpGas_Swap.snap @@ -1 +1 @@ -22508 \ No newline at end of file +22507 \ No newline at end of file diff --git a/src/pool-bin/libraries/BinPoolParametersHelper.sol b/src/pool-bin/libraries/BinPoolParametersHelper.sol index 4c9dfe82..b60a4526 100644 --- a/src/pool-bin/libraries/BinPoolParametersHelper.sol +++ b/src/pool-bin/libraries/BinPoolParametersHelper.sol @@ -28,7 +28,7 @@ library BinPoolParametersHelper { * @dev Helper method to set bin step in the encoded pair parameter * @return The new encoded pair parameter */ - function setBinStep(bytes32 params, uint16 binStep) external pure returns (bytes32) { + function setBinStep(bytes32 params, uint16 binStep) internal pure returns (bytes32) { return params.set(binStep, Encoded.MASK_UINT16, OFFSET_BIN_STEP); } } diff --git a/src/pool-cl/libraries/CLPoolParametersHelper.sol b/src/pool-cl/libraries/CLPoolParametersHelper.sol index e338985e..b8c9dd18 100644 --- a/src/pool-cl/libraries/CLPoolParametersHelper.sol +++ b/src/pool-cl/libraries/CLPoolParametersHelper.sol @@ -33,7 +33,7 @@ library CLPoolParametersHelper { * @dev Helper method to set tick spacing in the encoded pair parameter * @return The new encoded pair parameter */ - function setTickSpacing(bytes32 params, int24 tickSpacing) external pure returns (bytes32) { + function setTickSpacing(bytes32 params, int24 tickSpacing) internal pure returns (bytes32) { return params.set(uint24(tickSpacing), Encoded.MASK_UINT24, OFFSET_TICK_SPACING); } }