Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Store historical (round_id, public key, public_key_signature) before killing the storage in pallet-dkg-metadata #114

Closed
Tracked by #92
drewstone opened this issue Jan 21, 2022 · 0 comments · Fixed by #123
Assignees

Comments

@drewstone
Copy link
Contributor

drewstone commented Jan 21, 2022

Overview

Adding a new historical storage item to the pallet. We will need to take care that we represent the data correctly and the key signing said data. Recall that a refresh proposal is Sign(concat(round_id, next_key), signing_key).

pub type HistoricalKeyStorage<T: Config> = StorageDoubleMap<_, Blake2_256, (RoundId), (PreviousKey, NextKey, Signature)>;
@drewstone drewstone changed the title [TASK] Store historical (round_id, public key, public_key_signature) before killing the storage. [TASK] Store historical (round_id, public key, public_key_signature) before killing the storage in pallet-dkg-metadata Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
2 participants