Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrower95 committed Dec 17, 2024
1 parent 9e23c37 commit e5cf07c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cli/commands/queueWithdrawal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check failure on line 22 in cli/commands/queueWithdrawal.go

View workflow job for this annotation

GitHub Actions / test

_dm declared and not used

Check failure on line 22 in cli/commands/queueWithdrawal.go

View workflow job for this annotation

GitHub Actions / lint

_dm declared and not used) (typecheck)

Check failure on line 22 in cli/commands/queueWithdrawal.go

View workflow job for this annotation

GitHub Actions / test

_dm declared and not used
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))
Expand Down

0 comments on commit e5cf07c

Please sign in to comment.