From b8f428dd5166abe36ea31b89fcb9ad4ded497635 Mon Sep 17 00:00:00 2001 From: Stefano <68118972+cipst@users.noreply.github.com> Date: Thu, 4 Sep 2025 16:37:42 +0200 Subject: [PATCH] Add `msg.sender` to callback data for plugin's hooks --- src/periphery/contracts/libraries/PoolInteraction.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/periphery/contracts/libraries/PoolInteraction.sol b/src/periphery/contracts/libraries/PoolInteraction.sol index 7d18f1e7..53ca1af9 100644 --- a/src/periphery/contracts/libraries/PoolInteraction.sol +++ b/src/periphery/contracts/libraries/PoolInteraction.sol @@ -36,6 +36,6 @@ library PoolInteraction { int24 tickUpper, uint128 liquidity ) internal returns (uint256 amount0, uint256 amount1) { - return pool.burn(tickLower, tickUpper, liquidity, '0x0'); + return pool.burn(tickLower, tickUpper, liquidity, abi.encode(msg.sender)); } }