-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add chain_spec_key_types support for custom session keys #478
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
Conversation
c03ba4c to
8eb7b3f
Compare
|
|
||
| pub fn get_default_chain_spec_key_types(is_asset_hub_polkadot: bool) -> Vec<ChainSpecKeyType> { | ||
| let predefined_schemes = get_predefined_schemes(is_asset_hub_polkadot); | ||
| let default_keys = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can refactor this to convert the resulting HashMap into the Vec directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, right, actually this fn isn’t used in the codebase; I removed it.
pepoviola
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some small comments inline.
Thx!
…sion-keys # Conflicts: # crates/orchestrator/src/generators/chain_spec.rs # crates/orchestrator/src/network_spec.rs
|
thanks @DenzelPenzel !! |
close #473
chain_spec_key_typesfield inNodeConfigandNodeSpecto specify session key types for chain spec injectionchain_spec_key_typesmodule for parsing key type specifications