You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a discrepancy in the function signatures of afterAddLiquidity and afterRemoveLiquidity between the v4-periphery and v4-core repositories.
Expected Behavior
The function signatures in v4-periphery should be updated to match those in v4-core, including the BalanceDelta feesAccrued parameter. This ensures consistency and compatibility between the core and periphery layers.
In v4-core, both functions take an additional parameter: BalanceDelta feesAccrued.
The v4-periphery implementation lacks this parameter, which leads to incompatibility issues.
This discrepancy is present in the v4-periphery repository, specifically in the file: src/base/hooks/BaseHook.sol.
The text was updated successfully, but these errors were encountered:
Hi! Yes we have to manually update the core commit that is used in periphery. We changed core a few days ago so need to manually update in periphery. Will aim to get that in today or tomorrow for you :)
Hi! Yes we have to manually update the core commit that is used in periphery. We changed core a few days ago so need to manually update in periphery. Will aim to get that in today or tomorrow for you :)
Hi! Thank you for the quick response!
I appreciate the update and will look forward to the changes being implemented in the periphery repository.
Thanks again! 😊
Describe the bug
There is a discrepancy in the function signatures of afterAddLiquidity and afterRemoveLiquidity between the v4-periphery and v4-core repositories.
Expected Behavior
The function signatures in v4-periphery should be updated to match those in v4-core, including the BalanceDelta feesAccrued parameter. This ensures consistency and compatibility between the core and periphery layers.
To Reproduce
v4-core: afterAddLiquidity
v4-periphery: afterAddLiquidity
v4-core: afterRemoveLiquidity
v4-periphery: afterRemoveLiquidity
Additional context
In v4-core, both functions take an additional parameter: BalanceDelta feesAccrued.
The v4-periphery implementation lacks this parameter, which leads to incompatibility issues.
This discrepancy is present in the v4-periphery repository, specifically in the file: src/base/hooks/BaseHook.sol.
The text was updated successfully, but these errors were encountered: