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.

Enable an easy way to unbond, if you are not *exposed* #8436

Closed
@kianenigma

Description

@kianenigma

For numerous reasons, we might have nominators who don't end up in the exposure, because of resource limits of the offchain solution submitted to the chain. So the setting is:

  1. They still do get their opinion imposed on the election result.
  2. They cannot be slashed.
  3. Nor can they be rewarded, both because they are not in anyone's Exposure.

We can, in practice, let someone who's unbonding off the hook (and let them not wait the whole BondingDuration) if we know that they are not in the Exposure of any validator, both in the current era and all the previous BondingDuration eras.

With the current storage layout, doing this is quite expensive. I think that transaction would cost a lot -- potentially not even fitting into a single block, so you probably have a better time waiting for the BondingDuration.

That being said, I want to open this meta-issue to bring up that this is a matter that could be improved here. Usually, I would say that this is a matter of UX, and good UX is not the main priority of the protocol. Nonetheless, it would be good to discuss if any other options exist to achieve this, without sacrificing security.

Inspired by comment from @horaciob paritytech/polkadot#2418 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.J2-unconfirmedIssue might be valid, but it’s not yet known.U3-nice_to_haveIssue is worth doing eventually.

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions