You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
emostov opened this issue
Feb 4, 2022
· 2 comments
Labels
Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coderZ2-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.Z6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.
A pool can become "invalid" if the ratio of points to balance becomes too high. (This is because it increases the risk of saturating arithmetic - more details in the pallet docs.)
There should be a permissionless extrinsic that allows the destroy process to start (stop nominating and block any new joiners, etc) if the points to balance ratio becomes too high. In the future there may be other things we need to check as well.
Should wait until #10694 is merged to start working on this.
The text was updated successfully, but these errors were encountered:
emostov
added
Z2-medium
Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
Z1-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder
Z6-mentor
An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
labels
Feb 4, 2022
emostov
changed the title
pallet-nominations: Add extrinsic to start destroying a invalid pool
nomination-pools: Add extrinsic to start destroying a invalid pool
Feb 4, 2022
Thinking about this more, we could just have a set_state_other that can be permissionlessly called when the pool is a. cannot be joined due to bad points:balance ratio and b. the state being set is destroying
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coderZ2-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.Z6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.
A pool can become "invalid" if the ratio of points to balance becomes too high. (This is because it increases the risk of saturating arithmetic - more details in the pallet docs.)
There should be a permissionless extrinsic that allows the destroy process to start (stop nominating and block any new joiners, etc) if the points to balance ratio becomes too high. In the future there may be other things we need to check as well.
Should wait until #10694 is merged to start working on this.
The text was updated successfully, but these errors were encountered: