Ethereum’s Medalla testnet set for August 4 genesis, subject to validator deposits

Ethereum’s Medalla testnet set for August 4 genesis, subject to validator deposits

Ethereum Foundation researcher Danny Ryan set August 4, 2020, at 13:00 UTC as the earliest start time for Medalla, Ethereum’s next multi-client eth2 testnet, in an update published on July 23. The chain would only begin once it also reached the required minimum of 16,384 validators, representing 524,288 ETH in deposits.

Medalla was planned as a community-built and community-maintained network, a change from earlier multi-client devnets that client teams and Ethereum Foundation members had run primarily themselves. Its stability and health would therefore depend largely on community participation, Ryan wrote.

Genesis depended on two conditions

The network’s MIN_GENESIS_TIME was set to Unix timestamp 1596546000, equivalent to August 4 at 13:00 UTC. That timestamp marked the earliest possible start, not a guaranteed launch time. Medalla also needed at least 16,384 validator deposits; if that threshold was not met by August 2 at 13:00 UTC, 48 hours before the minimum genesis time, the start would be delayed.

Genesis was due 48 hours after both conditions were satisfied. The update said a validator Launchpad version for Medalla, described as an educational interface for making deposits, was also in preparation, with further details still to come.

At least four clients were expected to be running at genesis: Lighthouse, Nimbus, Prysm and Teku. Ryan encouraged participants to use different clients, and expected Lodestar to join the network in some capacity. The update also said Medalla would issue special POAPs to launch participants, without giving further details.

Three testnets opened for security testing

Three testnets opened for security testing

The update reported the launch of three beta-0 attacknets: lighthouse-attack-0, prysm-attack-0 and teku-attack-0. Each offered a $5,000 bounty for disrupting finality for at least 16 consecutive epochs. Finality is the point at which a network treats blocks as confirmed under its consensus process.

Each initial attacknet ran a single client across four nodes. The projects were deliberately small and simple, with plans to increase their size and complexity and introduce more demanding challenges with larger bounties after beta-0.

Ryan also credited Jonny of TXRX with finding a critical bug in Lighthouse’s discovery process on lighthouse-attack-0. The finding did not disrupt the testnet’s finality; Age of Sigma Prime provided a fix.

Merger work moved towards an end-to-end simulation

Merger work moved towards an end-to-end simulation

The update described ongoing work to integrate the existing eth1 chain into eth2 consensus as a shard. In this design, eth2 clients would handle consensus while eth1 clients would provide the user layer.

Guillaume’s Catalyst, a version of Geth that defers consensus to calls from an eth2 client, was built and ready to use. Separately, Mikhail’s Phase 1 implementation was running sharded eth2 simulations in which selected shards delegated block production and validity calls to a local, stubbed eth1 engine. The next planned step was to connect the two components in an end-to-end eth1–eth2 simulation.