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

prysmctl: Add support for writing signed validator exits to disk #12262

Merged
merged 7 commits into from
Apr 17, 2023

Conversation

prestonvanloon
Copy link
Member

What type of PR is this?

Other

What does this PR do? Why is it needed?

Adds support for saving validator exits as a JSON file.

This is intended to be used with lido ejector in messages mode

Which issues(s) does this PR fix?

Other notes for review

@prestonvanloon prestonvanloon marked this pull request as ready for review April 17, 2023 14:53
@prestonvanloon prestonvanloon requested a review from a team as a code owner April 17, 2023 14:53
@prestonvanloon prestonvanloon requested review from saolyn and potuz April 17, 2023 14:53
@@ -230,6 +230,12 @@ var (
Name: "force-exit",
Usage: "Exit without displaying the confirmation prompt",
}
VoluntaryExitJSONOutputPath = &cli.StringFlag{
Copy link
Contributor

Choose a reason for hiding this comment

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

you need to add this to the usage.go file I believe otherwise it won't show up in help

Copy link
Member Author

@prestonvanloon prestonvanloon Apr 17, 2023

Choose a reason for hiding this comment

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

It only applies to subcommands in prysmctl and validator. I put this flag everywhere that ForceExit appears

Copy link
Member Author

Choose a reason for hiding this comment

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

Screenshot from 2023-04-17 11-54-46

Copy link
Contributor

@james-prysm james-prysm left a comment

Choose a reason for hiding this comment

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

LGTM i didn't see anything that stood out.

@prylabs-bulldozer prylabs-bulldozer bot merged commit 0c7292b into develop Apr 17, 2023
@james-prysm james-prysm deleted the prysmctl-write-exit-json branch April 17, 2023 18:33
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.

2 participants