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

[slashing] Withdrawal support in CLI #163

Merged
merged 26 commits into from
Dec 18, 2024
Merged

Conversation

jbrower95
Copy link
Contributor

@jbrower95 jbrower95 commented Dec 17, 2024

New Commands

  • ./cli queue-withdrawal --sender <pk> [--amountWei <amount>] --podAddress <pod> --execNode $NODE_ETH --beaconNode $NODE_BEACON [--gas | -g]
    usage: Queues a full withdrawal of any shares you may have in the native ETH strategy. Optionally estimate gas with -g. If amountWei is set, the withdrawal will be at-most amountWei in size.
  • ./cli complete-all-withdrawals --sender <pk> --podAddress <pod> --execNode $NODE_ETH --beaconNode $NODE_BEACON
    usage: Completes all withdrawals for any shares you may have in the native ETH strategy. Optionally estimate gas with -g.
  • ./cli show-withdrawals --podAddress <pod> --execNode $NODE_ETH --beaconNode $NODE_BEACON
    usage: Lists all withdrawals associated with the pod's owner. (regardless of strategy).

Test Plan:

  • ✅ Queue a withdrawal on preprod (Transaction)
  • View the withdrawal in the CLI
  • ✅ Complete the withdrawal (Transaction)

@jbrower95 jbrower95 changed the title [wip] Withdrawal support in CLI Withdrawal support in CLI Dec 18, 2024
@jbrower95 jbrower95 changed the title Withdrawal support in CLI [slashing] Withdrawal support in CLI Dec 18, 2024
@jbrower95 jbrower95 requested a review from gpsanant December 18, 2024 20:43
@jbrower95 jbrower95 requested a review from gpsanant December 18, 2024 21:28
@jbrower95 jbrower95 merged commit e7cc883 into slashing-magnitudes Dec 18, 2024
3 checks passed
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