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 as preferred alias to key-store-path #826

Merged
merged 10 commits into from
Jun 29, 2023

Conversation

siladu
Copy link
Contributor

@siladu siladu commented Jun 27, 2023

PR Description

Built on top of #825

Easier diff for this PR: siladu/web3signer@support-aliases...siladu:web3signer:key-config-path-alias

Fixed Issue(s)

#586

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Testing

  • I thought about testing these changes in a realistic/non-local environment.

@siladu siladu added the doc-change-required Indicates an issue or PR that requires doc to be updated label Jun 27, 2023
final String key = stripPrefix(optionSpec.longestName()).replace("-", "_").toUpperCase();
final String qualifiedKey = qualifiedPrefix + "_" + key;
return environment.get(qualifiedKey);

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is also coming through your other PR ... might cause merge conflict.

Copy link
Contributor

@usmansaleem usmansaleem left a comment

Choose a reason for hiding this comment

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

LGTM

…lias

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
@siladu siladu merged commit b72477c into Consensys:master Jun 29, 2023
2 checks passed
@siladu siladu deleted the key-config-path-alias branch June 29, 2023 01:01
@bgravenorst bgravenorst removed the doc-change-required Indicates an issue or PR that requires doc to be updated label Jul 11, 2023
@bgravenorst
Copy link

Added to Doc backlog and removed label.

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.

3 participants