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

Add --key-config-path alias #188

Merged
merged 4 commits into from
Jul 25, 2023
Merged

Conversation

bgravenorst
Copy link
Contributor

@bgravenorst bgravenorst commented Jul 12, 2023

Add --key-config-path as a preferred alias for key-store-path.
Update ConsenSys -> Consensys

fixes #185

Signed-off-by: bgravenorst <[email protected]>
@vercel
Copy link

vercel bot commented Jul 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
doc-web3signer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2023 1:10am

@@ -40,7 +40,7 @@ const redocusaurus = [

/** @type {import('@docusaurus/types').Config} */
const config = {
title: "ConsenSys Web3Signer",
title: "Consensys Web3Signer",
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure which way is correct but maybe this should be Web3signer too

Copy link
Contributor Author

@bgravenorst bgravenorst Jul 13, 2023

Choose a reason for hiding this comment

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

Maybe we should do Web3Signer -> Web3signer in a separate PR? We'll need to ensure the codebase gets updated as well, see: https://github.com/Consensys/web3signer/blob/master/CONTRIBUTING.md

Let me know what you think. I'll gladly fix it up throughout this document if you feel I should go ahead with the changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know which is better/more correct. If there's a requirement to change it though then agree separate PR is best

Copy link
Contributor Author

@bgravenorst bgravenorst Jul 19, 2023

Choose a reason for hiding this comment

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

Will confirm which is the preferred name, and update it (if required) in a seperate PR. Could you please approve the PR @siladu?

Copy link
Contributor

Choose a reason for hiding this comment

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

@bgravenorst just submitted more comments

@@ -83,7 +83,7 @@ data-path: "/Users/me/my_node/data"

Directory in which to store temporary files.

### `key-store-path`
### `key-store-path`, `key-config-path`
Copy link
Contributor

Choose a reason for hiding this comment

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

key-config-path is the preferred name so maybe this should come first?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure updating the title is the right thing either. Compare to other options with an alias... https://doc-web3signer-git-fork-bgravenorst-web-185-infura-web.vercel.app/Reference/CLI/options#logging

Copy link
Contributor Author

@bgravenorst bgravenorst Jul 23, 2023

Choose a reason for hiding this comment

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

I'll make key-config-path first (I just copied how it is in the CLI output). We do the aliases for --logging | -l, --version | -V, and '--help | -h` differently due to the single dash (-) used by the alias.

But generally we update the title to display the aliases. For example, in Teku.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On a seperate note, shouldn't we also create an alias for --key-store-config-file-max-size?

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @bgravenorst that makes sense. Yes, maybe we should create that alias too, good spot, I'll bring it up with the team

Copy link
Contributor

@siladu siladu left a comment

Choose a reason for hiding this comment

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

LGTM

@bgravenorst bgravenorst merged commit dab9dff into Consensys:main Jul 25, 2023
7 checks passed
@bgravenorst bgravenorst deleted the WEB-185 branch July 25, 2023 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --key-config-path as preferred alias to --key-store-path
2 participants