Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Change to use the same subcommand syntax as subkey #8678

Merged
merged 3 commits into from
May 4, 2021

Conversation

nuke-web3
Copy link
Contributor

For consistency between the two tools, the subcommand for <node bin> key inspect-key is changed to match subkey syntax ( subkey inspect)

This may need modification of downstream dependencies in Polkadot and other code bases. I do not see this is the case, bu would be good to have a double-check on that and a companion PR made if so.

Alternatively to this PR, changing the subkey inspect command to inspect-key would have the same (but more verbose) effect.

Compliments/Related to #8674

@nuke-web3 nuke-web3 added A0-please_review Pull request needs code review. B5-clientnoteworthy C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Apr 27, 2021
@nuke-web3 nuke-web3 requested a review from tomusdrw April 27, 2021 17:29
Copy link
Contributor

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me!

@nuke-web3
Copy link
Contributor Author

@bkchr I compiled and this is working with the substrate key inspect command as desired, with the struct reverted as requested.

@nuke-web3 nuke-web3 requested a review from bkchr May 3, 2021 16:07
@bkchr bkchr merged commit b094eda into master May 4, 2021
@bkchr bkchr deleted the node-key-inspect-subcommand branch May 4, 2021 09:50
HCastano added a commit to paritytech/parity-bridges-common that referenced this pull request May 4, 2021
HCastano added a commit to paritytech/parity-bridges-common that referenced this pull request May 4, 2021
* Bump Substrate to commit `b094edafd1cd5d26e49ecbf92b0ce7553cfad717`

* Remove unsafe random seed method

See: paritytech/substrate#8718

* Update Subkey syntax

See: paritytech/substrate#8678
nazar-pc pushed a commit to autonomys/substrate that referenced this pull request Aug 8, 2021
* Change to use the same subcommand syntax as subkey

* Update client/cli/src/commands/inspect_key.rs

* revert to InspectKeyCmd struct
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants