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

Allow voluntary exit command to write to file rather than publish #8168

Merged
merged 5 commits into from
Apr 5, 2024

Conversation

rolfyone
Copy link
Contributor

@rolfyone rolfyone commented Apr 4, 2024

The advantage of this is that the message can avoid epoch validation, and also it can separate the submission of the exit from creation, so if something fails, it can have further investigation.

The format saved to json will allow it to be posted directly to the voluntary exits beacon-api POST endpoint.

Assists with #8158 but only as a potential workaround, allowing us to avoid setting up the keymanager-api to generate an exit.

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.

The advantage of this is that the message can avoid epoch validation, and also it can separate the submission of the exit from creation, so if something fails, it can have further investigation.

The format saved to json will allow it to be posted directly to the voluntary exits beacon-api POST endpoint.

Assists with Consensys#8158 but only as a potential workaround, allowing us to avoid setting up the keymanager-api to generate an exit.

Signed-off-by: Paul Harris <paul.harris@consensys.net>
Signed-off-by: Paul Harris <paul.harris@consensys.net>
rolfyone added a commit to rolfyone/doc.teku that referenced this pull request Apr 4, 2024
Copy link
Contributor

@tbenr tbenr left a comment

Choose a reason for hiding this comment

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

Just some nits and a prettyPrint suggestion

Copy link
Member

@lucassaldanha lucassaldanha left a comment

Choose a reason for hiding this comment

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

LGTM. Just need a follow-up docs PR.

Signed-off-by: Paul Harris <paul.harris@consensys.net>
@rolfyone rolfyone enabled auto-merge (squash) April 5, 2024 06:47
@rolfyone rolfyone merged commit 489168b into Consensys:master Apr 5, 2024
16 checks passed
@rolfyone rolfyone deleted the voluntary-exit-export branch April 5, 2024 07:28
alexandratran added a commit to Consensys/doc.teku that referenced this pull request Apr 5, 2024
* Documented the save-exits-path for Voluntary exit

Documented the flag added in Consensys/teku#8168

* edits for clarity

---------

Co-authored-by: Alexandra Tran <alexandratran@protonmail.com>
Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com>
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