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

Inject local keys as authorities and backup old ones #12

Open
3 tasks
mustermeiszer opened this issue Mar 4, 2022 · 0 comments
Open
3 tasks

Inject local keys as authorities and backup old ones #12

mustermeiszer opened this issue Mar 4, 2022 · 0 comments
Labels
I8-enhancement An additional feature. P2-nice-to-have Issue is worth doing. Q5-hard Can be done by an experienced coder with a good knowledge of the codebase.

Comments

@mustermeiszer
Copy link
Collaborator

For a lot of actions, especially between relay-chain and parachain there is signing involved from the current block authoring entity.
E.g. the bitfields must be signed by the authority of this block.

In order to actually create valid signatures each Builder structure must expose some functionitliy to:

  • Replace all authorities for block production and validation with the builders key
  • Store the old authorities in the builder somewhere
  • Restore old authorities state if wanted via methods

Builder struct tasks:

  • Build builder with keystore and a given pub-key to be sign stuff with
  • Expose method to switch authorities
  • Expose method to restore old-authorities
@mustermeiszer mustermeiszer added Q5-hard Can be done by an experienced coder with a good knowledge of the codebase. I8-enhancement An additional feature. P5-soon Issue should be addressed soon. labels Mar 4, 2022
@mustermeiszer mustermeiszer added P2-nice-to-have Issue is worth doing. and removed P5-soon Issue should be addressed soon. labels Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I8-enhancement An additional feature. P2-nice-to-have Issue is worth doing. Q5-hard Can be done by an experienced coder with a good knowledge of the codebase.
Projects
None yet
Development

No branches or pull requests

1 participant