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

LST price doesn't reflect deposited stake before the epoch after next #9

Closed
DrZoltanFazekas opened this issue Nov 11, 2024 · 0 comments · Fixed by #13
Closed

LST price doesn't reflect deposited stake before the epoch after next #9

DrZoltanFazekas opened this issue Nov 11, 2024 · 0 comments · Fixed by #13
Labels
bug Something isn't working

Comments

@DrZoltanFazekas
Copy link
Contributor

The amount of ZIL currently being staked is used to topup the the deposit, but will only become part of it in the epoch after next. Since getRewards() returns the deposit in the current epoch, the staked amount is not taken into account when calculating the LST price and amount to be minted on staking.

@DrZoltanFazekas DrZoltanFazekas added the bug Something isn't working label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant