failed to decode eth1 config file: EOF
loocapro opened this issue · comments
Running:
docker run --rm --platform linux/x86_64 -it -u $UID -v $PWD/output:/data \
-v $PWD/config-example:/config \
ethpandaops/ethereum-genesis-generator:latest all
Getting:
Traceback (most recent call last):
File "/apps/el-gen/genesis_geth.py", line 53, in <module>
"shanghaiTime": int(data['genesis_timestamp']) + int(data['genesis_delay']) + (int(data['capella_fork_epoch']) * 32 * int(data['slot_duration_in_seconds'])),
~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'capella_fork_epoch'
So I have added capella_fork_epoch
to my envs and fixed it.
Next I am getting is:
+ genesis_args+=(--eth1-config /data/custom_config_data/genesis.json)
+ /usr/local/bin/eth2-testnet-genesis bellatrix --config /data/custom_config_data/config.yaml --additional-validators /data/all.txt --mnemonics '' --tranches-dir /data/custom_config_data/tranches --state-output /data/custom_config_data/genesis.ssz --eth1-config /data/custom_config_data/genesis.json
zrnt version: v0.30.0
failed to decode eth1 config file: EOF
My all.txt looks like this:
version https://git-lfs.github.com/spec/v1
oid sha256:ba977b5b1da180914c934623fce187860e1b54cff939e6208533b2cb5f589e07
size 239541186
https://raw.githubusercontent.com/eth-clients/holesky/main/public-keys/all.txt
I also tried to run without passing my own configs.
What am I missing?
We have 3 lines of releases now,
v1 -> bellatrix genesis
v2 -> capella genesis
v3 -> electra genesis
It seems that by using latest
, you mismatched the release lines and set a value that isn't respected in that release line. Please use a pinned version, that should solve the problem.