Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove double call to modifyLiquidity when user add/remove liquidity #35

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

ChefMist
Copy link
Collaborator

@ChefMist ChefMist commented Jun 7, 2024

resolves pancakeswap/pancake-v4-periphery#33

A very small PR by just removing the calls to resetAccumulatedFee when user add/remove liquidity.

@ChefMist ChefMist requested a review from chefburger June 7, 2024 02:05
@@ -1 +1 @@
54579
Copy link
Collaborator Author

@ChefMist ChefMist Jun 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will raise a different PR on core/periphery soon around updating gas snapshot. these value kept getting updated as there are snapshot test with fuzzing input. so its likely the gas snapshot changes depending on the input

@ChefMist ChefMist changed the title chore: remove double call to modifyLiquidity chore: remove double call to modifyLiquidity when user add/remove liquidity Jun 7, 2024
Copy link
Collaborator

@chefburger chefburger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ChefMist ChefMist merged commit 95b158a into main Jun 7, 2024
2 checks passed
@ChefMist ChefMist deleted the feat/remove-double-call-modifyLiqudiity branch June 7, 2024 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove accumulateFee()
2 participants