Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Support ETH1_ADDRESS_WITHDRAWAL_PREFIX withdrawal credentials (0x01) #188

@hwwhww

Description

@hwwhww

Issue

Eth2 spec v1.0.1 enables a new withdrawal credential type that is a 20-byte eth1 address. (See ethereum/consensus-specs#2149). Currently, deposit-cli doesn't support it.

How to fix it

  1. Enable user to type their Eth1 address
  2. Check the given Eth1 address format
  3. Set withdrawal credential with Eth1 withdrawal credentials (0x01) consensus-specs#2149 rule
  4. Generate deposit data properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions