-
Notifications
You must be signed in to change notification settings - Fork 11
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: make stkxprt staking respect and update global liquid staking cap #770
Conversation
@xlab your pull request is missing a changelog! |
Coverage after merging f/stkxprt-global-cap into main
Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I see any of the SafelyIncreaseTotalLiquidStakedTokens
and DecreaseTotalLiquidStakedTokens
messes with the validator specific liquid shares. We really need to make sure of it.
Also, that all entrypoints (Delegate, Undelegate, StakeToLP) are covered by this.
If that is the case, then add tests and we good to go.
should we also add it to the rebalancing (i don't think so), auto compounding (yes).. |
autocompounding uses |
Coverage after merging f/stkxprt-global-cap into main
Coverage Report
|
1. Overview
Replaced direct calls to stakingKeeper with a wrapper that does updates on global liquid stake accounting and checks the caps.