Closed sampocs closed 1 year ago
You have successfully added a new CodeQL configuration .github/workflows/codeql-analysis.yml:analyze
. As part of the setup process, we have scanned this repository and found 2 existing alerts. Please check the repository Security tab to see all alerts.
moment on this one -- I am going to do a bunch of branch tidying and get this in.
Thank you so much.
@sampocs -- I am not 100% sure about this one.
I think that I may prefer a tax to a cap.
wdyt?
Moved ADR to #66 so we can include a static link for the proposal
Context
As an additional safety measure for liquid staking, this PR introduces a global liquid staking cap. For instance, a cap of 0.3 means only 30% of staked ATOM can be liquid staked. The liquid staking volume is determined by tracking tokenized shares and/or delegations from ICA accounts. The total stake is calculated from the total balance of the Bonded pool.
ADR (courtesy of @riley-stride)
Action Item: There is still 1 small required change to the evidence module to handle tombstoned validators (see ADR/Spec)
Brief Changelog
global_liquid_staking_cap
parameterValidatorBond
unit test and added additional test cases