Skip to content
Snippets Groups Projects
Unverified Commit eda5e5c3 authored by joe petrowski's avatar joe petrowski Committed by GitHub
Browse files

Fix Stuck Collator Funds (#4229)


Fixes https://github.com/paritytech/polkadot-sdk/issues/4206

In #1340 one of the storage types was changed from `Candidates` to
`CandidateList`. Since the actual key includes the hash of this value,
all of the candidates stored here are (a) "missing" and (b) unable to
unreserve their candidacy bond.

This migration kills the storage values and refunds the deposit held for
each candidate.

---------

Signed-off-by: default avatargeorgepisaltu <george.pisaltu@parity.io>
Co-authored-by: default avatargeorgepisaltu <52418509+georgepisaltu@users.noreply.github.com>
Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: default avatargeorgepisaltu <george.pisaltu@parity.io>
parent 118cd6f9
Branches
No related merge requests found
Pipeline #468629 passed with stages
in 1 hour, 9 minutes, and 59 seconds
Showing
with 256 additions and 8 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment