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

Fix: update pool on deposit #85

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

pr0n00gler
Copy link
Collaborator

The incentives contract claims rewards on LP Deposit: https://github.com/astroport-fi/astroport-core/blob/514d83331da3232111c5c590fd8086ef62025ca9/contracts/tokenomics/incentives/src/execute.rs#L190
Thus we need to update pool info after the deposit otherwise there will be unaccounted rewards on PCL lockdrop during users migration

@pr0n00gler
Copy link
Collaborator Author

@sotnikov-s sotnikov-s merged commit 1028cd2 into feat/pcl-lp-migration Mar 29, 2024
9 checks passed
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.

2 participants