-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Create Pcli #5644
Create Pcli #5644
Conversation
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.
Just couple of comment updates. Looks good otherwise.
Co-Authored-By: Victor Farazdagi <[email protected]>
Co-Authored-By: Victor Farazdagi <[email protected]>
tools/pcli/main.go
Outdated
Destination: &blockPath, | ||
}, | ||
&cli.StringFlag{ | ||
Name: "preStatePath", |
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.
our cli flags are using dashes usually
Name: "preStatePath", | |
Name: "pre-state-path", |
tools/pcli/README.md
Outdated
|
||
|
||
*State Transition Flags:* | ||
--blockPath value Path to block file(ssz) |
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.
--blockPath value Path to block file(ssz) | |
--block-path value Path to block file(ssz) |
tools/pcli/README.md
Outdated
*State Transition Flags:* | ||
--blockPath value Path to block file(ssz) | ||
--preStatePath value Path to pre state file(ssz) | ||
--expectedPostStatePath value Path to expected post state file(ssz) |
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.
--expectedPostStatePath value Path to expected post state file(ssz) | |
--expected-post-state-path value Path to expected post state file(ssz) |
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.
only flag naming comments. that is going to be a great tool
Thanks
What type of PR is this?
Feature
What does this PR do? Why is it needed?
This creates a prysm specific cli, through which we can perform all the useful eth2 utilities.
Analogous to zcli,lcli,ncli for the other eth2 clients. This utility will help in debugging any state
root bugs. Currently it just performs manual state transitions.
Which issues(s) does this PR fix?
N.A
Other notes for review
N.A