EIPs Explained

EIP-2657 · Stagnant · Meta · 2020-04-19

EIP-2657: Ephemeral Testnet Yolo

Defined YOLO, a short-lived developer testnet from 2020 used by client teams to test candidate EVM changes (BLS12-381 precompiles and subroutines) before any mainnet decision.

What problem does it solve?

Before a protocol change goes to mainnet, several independent client implementations (Geth, Besu, Nethermind, OpenEthereum and others at the time) must agree on its behaviour. Running those changes together on a live network catches consensus bugs that unit tests miss.

In 2020 core developers wanted a quick, disposable network for that purpose. EIP-2657 is the meta document describing it: what the network was called, which EIP versions it ran, and which clients were participating. It is explicitly not a promise that those EIPs would ship to mainnet, and not a place to deploy dapps.

How it works

  • Name / ID: Yolo, YOLO-v1.
  • Contents: two candidate EIPs, each pinned to a specific commit of its spec text:
    • EIP-2537: precompiles for BLS12-381 curve operations.
    • EIP-2315: simple subroutines for the EVM.
  • Lifecycle: deployed on June 3rd, 2020, with the stated intention that it would be "nuked" (shut down) later.
  • Client tracking: a table recorded each client's progress through four stages: Signal (intends to participate), Spec (agrees with the spec), Merged (implementation ready) and Syncing (follows the network). At the time of writing only Geth had reached all four.

Pinning each EIP to a commit hash matters because draft EIPs change often; every client had to implement exactly the same text.

Sample code

Illustrative description of what a client needed to enable. The spec states Geth exposed it via a --yolov1 flag on its master branch at the time:

{
  "network": "YOLO-v1",
  "type": "ephemeral-devnet",
  "eips": [
    { "eip": 2537, "spec_commit": "5edff4ae6ff62c7e0bbfad624fc3d0ba7dc84392" },
    { "eip": 2315, "spec_commit": "e8accf22cdc5562d6982c560080c6cd6b7f94867" }
  ],
  "deployed": "2020-06-03",
  "for_dapps": false
}
# Historical; the network no longer runs
geth --yolov1

Things to know

  • Status is Stagnant. The network was temporary and is no longer running, so the URLs, genesis file and bootnode listed in the spec should be treated as historical.
  • Inclusion on YOLO did not decide mainnet inclusion. EIP-2315 was later withdrawn, while BLS12-381 precompiles (EIP-2537) only reached mainnet years later.
  • The pattern of short-lived devnets for testing upgrade candidates continues today, with each upgrade typically going through several devnets before public testnets.

#testnet #meta #client #testing #infrastructure

Details

Authors
James Hancock (@madeoftin)
Status
Stagnant
Type
Meta
Created
2020-04-19

Machine-readable: Markdown · JSON