-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 support for account new --save-to-file #3425
base: staging
Are you sure you want to change the base?
Add support for account new --save-to-file #3425
Conversation
d251e51
to
9a88d43
Compare
9a88d43
to
dfd83e3
Compare
969e5ab
to
18df382
Compare
One more thing I forgot before: we need to adjust the file's permissions too; see this PR for reference. |
8ce2982
to
ef05e86
Compare
85de9df
to
739d635
Compare
739d635
to
fbde50f
Compare
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.
LGTM 👌
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.
LGTM
it is failing the Windows CI for some reason: |
I can see the problem in the CI. I will fix 👍 |
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.
Left one suggestion, other than that LGTM 👍.
bdb6400
to
35a1b4e
Compare
35a1b4e
to
3b097a2
Compare
3b097a2
to
302cb55
Compare
@zkxuerb I fixed the formatting that was detected by the CI ( |
Motivation
When creating ephemeral networks for integration testing, it is convenient to be able to generate accounts programmatically and save the account information into files, especially the private-key-file for a new account.
Therefore, we introduce the command line switch
--save-to-file
.This feature, will create good synergy with the existing feature to use the command-line switch
--private-key-file
.The PR is split into two commits
Test Plan
Make sure that you can use the switches
--save-to-file
and--private-key-file
together when using the command-line interface (cli).Related PRs