Closed Leibniz137 closed 4 years ago
Hi @Leibniz137 was able to reproduce and was able to fix by using the following flags:
bazel run //tools/genesis-state-gen --define=ssz=mainnet -- \
--output-ssz /tmp/genesis.ssz \
--num-validators 64 \
--genesis-time 1567542540 \
--mainnet-config
could you try that out?
yes that worked, thank you!
Problem Description:
I use the following script to (attempt to) generate a genesis state in ssz format:
Which produces the following output:
YAML works fine!
Interestingly, I am able to produce yaml genesis state:
Looking at the source
It appears that the ssz.Marshal function doesn't like the genesis state that is produced:
https://github.com/prysmaticlabs/prysm/blob/master/tools/genesis-state-gen/main.go#L44
A temporary workaround would be great too. I hit this issue in the process of trying to create a genesis state for use in a toy-sized, standalone testnet (no eth1 chain).
🙏