Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

nomination-pools: Add extrinsic to start destroying a invalid pool #10793

@emostov

Description

@emostov

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.

Metadata

Metadata

Assignees

No one assigned

    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.

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions