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

Validator --show-deposit-data not working #13609

Closed
radubuciuceanu opened this issue Feb 12, 2024 · 2 comments
Closed

Validator --show-deposit-data not working #13609

radubuciuceanu opened this issue Feb 12, 2024 · 2 comments
Labels
Bug Something isn't working custom devnet custom chains

Comments

@radubuciuceanu
Copy link

radubuciuceanu commented Feb 12, 2024

Describe the bug

I have a 2 nodes POS private chain configured as here but adjusted to run on k8s. When I try to create a validator wallet on my second node, I have no way to get the deposit data and the withdrawal public key. Here is what the docs from here sais:

image

And here is what I get in reality:

image

Has this worked before in a previous version?

I don't know.

🔬 Minimal Reproduction

Taking this config file:

CONFIG_NAME: interop
PRESET_BASE: interop

# Genesis
GENESIS_FORK_VERSION: 0x20000089

# Altair
ALTAIR_FORK_EPOCH: 0
ALTAIR_FORK_VERSION: 0x20000090

# Merge
BELLATRIX_FORK_EPOCH: 0
BELLATRIX_FORK_VERSION: 0x20000091
TERMINAL_TOTAL_DIFFICULTY: 0

# Capella
CAPELLA_FORK_EPOCH: 0
CAPELLA_FORK_VERSION: 0x20000092
MAX_WITHDRAWALS_PER_PAYLOAD: 16

DENEB_FORK_VERSION: 0x20000093

# Time parameters
SECONDS_PER_SLOT: 12
SLOTS_PER_EPOCH: 6

# Deposit contract
DEPOSIT_CONTRACT_ADDRESS: 0x4242424242424242424242424242424242424242

And having the consensus layer (prysm beacon-chain) and the execution layer (geth) running in the same k8s pod (meaning it's on the same localhost network).

  1. Run prysm validator --datadir ./ --chain-config-file ./consensus.config.yml wallet create --wallet-dir .
  2. Run prysm validator --datadir . --chain-config-file ./consensus.config.yml accounts list --wallet-dir . --show-deposit-data

Error

No withdrawal data being shown.
No deposit data being shown.

Platform(s)

Linux (x86)

What version of Prysm are you running? (Which release)

v4.1.1

Anything else relevant (validator index / public key)?

Have tried with main net, got the same behaviour.

Can provide the genesis.json file as well if it's really needed.

@radubuciuceanu radubuciuceanu added the Bug Something isn't working label Feb 12, 2024
@james-prysm james-prysm added the custom devnet custom chains label Feb 12, 2024
@james-prysm
Copy link
Contributor

It seems like the docs page is out of date, this command no longer shows the deposit data since 2022 and possibly before the merge.

@james-prysm
Copy link
Contributor

After talking to the team the deposit information should align with the original creation of the keys ( we will not support displaying it), information about the withdrawal address can be reviewed https://docs.prylabs.network/docs/wallet/withdraw-validator. you can get the data via beacon API or using a tool like https://github.com/wealdtech/ethdo. sorry it may not be the answer you were hoping for. I have opened a separate issue for documents and will be closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working custom devnet custom chains
Projects
None yet
Development

No branches or pull requests

2 participants