-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
I8-enhancementAn additional feature.An additional feature.P2-nice-to-haveIssue is worth doing.Issue is worth doing.Q5-hardCan be done by an experienced coder with a good knowledge of the codebase.Can be done by an experienced coder with a good knowledge of the codebase.
Description
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
Metadata
Metadata
Assignees
Labels
I8-enhancementAn additional feature.An additional feature.P2-nice-to-haveIssue is worth doing.Issue is worth doing.Q5-hardCan be done by an experienced coder with a good knowledge of the codebase.Can be done by an experienced coder with a good knowledge of the codebase.