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.

Parameterise locked stake everywhere + Lock for all WithdrawReasons #3564

@kianenigma

Description

@kianenigma

#3364 (comment)

election-phragmen is already fixed.
election needs to allow a value parameter with vote and then be reverted.
staking needs to be reverted.

Henceforth and generally speaking, for the reason mentioned in the link above, substrate will NOT make any exceptions for paying tx fees when locking an account. It is the responsibility of the user + help of the UI to warn them that they should not lock up everything.

Once done, also bring back the WithdrawReason to ::all().

cc @jacogr @joepetrowski

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.Z6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions