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

cmd: add exit commands #2934

Merged
merged 16 commits into from
Apr 3, 2024
Merged

Commits on Mar 3, 2024

  1. cmd: add exit commands

    This PR adds exit-related commands under the `exit` subcommand:
    
     - `submit-partial-exit`, which signs and submit to an instance of Obol API a partial exit for a given DV in a given cluster lock
     - `broadcast`, which downloads a full exit from an instance of Obol API for a given validator if available, and broadcasts it to the configured beacon node
     - `active-validator-list`, which returns the list of validators which are `ACTIVE_ONGOING` contained in the specified cluster lock (useful for scripting).
    
    Moved `obolapi` mock implementation to `testutil/obolapimock` so other tests can use it.
    
    Added a few utility functions in `eth2util/keystore`, taken from `lido-dv-exit`: since it depends on Charon, we can migrate them.
    gsora committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    9b1c071 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Configuration menu
    Copy the full SHA
    ce6efde View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Merge branch 'main' into gsora/exitcmd-submit-partial-exit

    Gianguido Sora committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    c629f12 View commit details
    Browse the repository at this point in the history
  2. refactor to allow individually specifying cluster lock, validar_keys …

    …and enr privkey paths
    Gianguido Sora committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    8b64f3a View commit details
    Browse the repository at this point in the history
  3. refactor exit submit cmd to "sign"

    Gianguido Sora committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    b2368c7 View commit details
    Browse the repository at this point in the history
  4. add "exit fetch" command

    need to adapt `broadcast` to read from a static file
    Gianguido Sora committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    eae226b View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. wire broadcast to read from file, if specified

    Gianguido Sora committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    8c0eb8e View commit details
    Browse the repository at this point in the history
  2. address review comments

    Gianguido Sora committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    a02c49c View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Update exit_fetch.go

    Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
    gsora and OisinKyne authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    b983026 View commit details
    Browse the repository at this point in the history
  2. Update exit_fetch.go

    Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
    gsora and OisinKyne authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    7388a71 View commit details
    Browse the repository at this point in the history
  3. Update exit.go

    Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
    gsora and OisinKyne authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    fac09a5 View commit details
    Browse the repository at this point in the history
  4. Update exit.go

    Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
    gsora and OisinKyne authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    31e599d View commit details
    Browse the repository at this point in the history
  5. Update exit_sign.go

    Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
    gsora and OisinKyne authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    83422ad View commit details
    Browse the repository at this point in the history
  6. Update exit_broadcast.go

    Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
    gsora and OisinKyne authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    ddcf018 View commit details
    Browse the repository at this point in the history
  7. Update exit_sign.go

    Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
    gsora and OisinKyne authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    05d252d View commit details
    Browse the repository at this point in the history
  8. Update keystore.go

    Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
    gsora and OisinKyne authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    c101faa View commit details
    Browse the repository at this point in the history