Commit 2b654ab
committed
feat(cli): add automatic-generate-keys command and improve key generation UX
- Introduced command to partner-chains-cli:
- Generates and saves session keys by connecting to a running node via RPC ()
- Decodes session keys using the runtime API, supports modern and legacy formats, and saves to keystore and JSON
- Provides fallback and error handling for various runtime formats
- Integrated the new command into the CLI as an alternative to for all roles (Governance Authority, Registered Validator, Permissioned Validator)
- Updated CLI help message and workflow documentation to clearly present both key generation methods and when to use each
- Added comprehensive test suite for SCALE decoding and key handling logic
- Updated changelog with details of the new feature and related improvements
- Updated Cargo.toml and workspace dependencies for , (with serde), and related requirements1 parent 4012015 commit 2b654ab
File tree
7 files changed
+612
-18
lines changed- toolkit/partner-chains-cli
- src
- automatic_generate_keys
7 files changed
+612
-18
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
7 | 17 | | |
8 | 18 | | |
9 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
0 commit comments