OffchainLabs / eth-pos-devnet

MIT License
103 stars 124 forks source link

Fix race between prysmctl and geth genesis #21

Closed kasey closed 1 year ago

kasey commented 1 year ago

If geth initializes genesis before prysmctl completes, it will most likely startup with the a shanghai fork timestamp in the past, causing it to ignore beacon node FCU from bellatrix and creating a split between the two services. This change makes a service order dependency between geth-genesis and create-beacon-chain-genesis to make sure all services see the same relative timestamps.