From e5cf07cbb6f0d729360d5e1fe78a57af505dda14 Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Tue, 17 Dec 2024 18:17:42 -0500 Subject: [PATCH] save --- cli/commands/queueWithdrawal.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/commands/queueWithdrawal.go b/cli/commands/queueWithdrawal.go index d793bd6..8e365b3 100644 --- a/cli/commands/queueWithdrawal.go +++ b/cli/commands/queueWithdrawal.go @@ -15,10 +15,12 @@ type TQueueWithdrawallArgs struct { } func QueueWithdrawalCommand(args TQueueWithdrawallArgs) error { - // TODO: IDelegationManager.queueWithdrawals ctx := context.Background() eth, _, chainId, err := core.GetClients(ctx, args.EthNode, args.BeaconNode, false /* isVerbose */) - dm, err := IDelegationManager.NewIDelegationManager(DelegationManager(chainId), eth) + core.PanicOnError("failed to dial nodes", err) + + _dm, err := IDelegationManager.NewIDelegationManager(DelegationManager(chainId), eth) + core.PanicOnError("failed to reach delegation manager", err) // TODO: wait for G's conversion function from deposit[ed] shares to depositShares // bound the withdrawals by REG - (sum(allWithdrawalsQueued))