Skip to content

ethlambda v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 22:03
5340a08

ethlambda 2.0.0 is a single-binary Ethereum node: the default build now runs ethrex inside the beacon node's process as its execution client, which the 1.0 notes announced as next. The validator client gains slashing protection, remote signing and MEV-Boost. This release is needed to follow Hoodi through Glamsterdam on December 15, and it fixes a crash and two memory issues that a connected peer could trigger.

Important

This release fixes a crash a connected peer could trigger, and two ways a peer could drive up a node's memory use. Upgrading is strongly recommended.

Warning

Hoodi: upgrade before 2026-12-15 19:12:24 UTC. v1.0.0 does not schedule Glamsterdam on Hoodi (epoch 143616) and stops following the chain there at the fork. An external ethrex on Hoodi must be v33.0.0 or later.

The default binaries and images now embed ethrex. Without --execution-endpoint, ethlambda beacon starts ethrex and snap-syncs the execution chain into <data-dir>/ethrex (hundreds of GB on mainnet), where v1.0.0 ran with no execution client. To keep running without one, switch to the -minimal artifacts. With --execution-endpoint nothing changes.

The validator client refuses to start with a key that has no slashing-protection record. v1.0.0 kept none, so every key that ran on v1.0.0 is affected. The error reads validator key(s) have no slashing-protection record. To upgrade from v1.0.0:

  1. Stop the v1.0.0 validator client.
  2. Wait at least two epochs (about 13 minutes) with those keys running nowhere.
  3. Start v2.0.0 once with --init-slashing-protection.
  4. Remove the flag for every later start. The client warns while it is still set.

--init-slashing-protection registers a key as never having signed. That rules out a double vote, not a surround of an older vote, so a key that another client ran before should bring its history instead: ethlambda slashing-protection import --validators-dir <dir> <interchange.json>.

ethlambda beacon --bootnodes no longer takes a file. It takes ENRs and multiaddrs, comma-separated, and adds them to the network's own bootnodes instead of replacing them.

Note

What's new

  • Embedded ethrex (v34.0.0-rc.1, matching v33.0.0 plus runtime ENR updates): one binary is a beacon node and its execution client. -minimal builds without it are published beside every artifact
  • Validator client: EIP-3076 slashing protection, Web3Signer, doppelganger protection, MEV-Boost before Gloas, voluntary exits, health-ranked beacon node failover, and distributed validator mode
  • Glamsterdam on Hoodi, and Gloas at consensus-specs v1.7.0-beta.5
  • Fast Confirmation Rule, feeding the execution client's safe block
  • Fixes for a remote crash and for peer-driven memory growth

No resync. The database format is unchanged: a v1.0.0 data directory is reused as it is.

Beacon Chain (ethlambda beacon)

  • Embedded ethrex: the default build runs ethrex v34.0.0-rc.1 (v33.0.0 plus lock-free runtime ENR editing) in the beacon node's process, and the Engine API becomes direct calls with no socket and no JWT. --ethrex.* flags configure it, and --ethrex.http-port turns on its eth_ JSON-RPC. See docs/ethrex.md.
  • Forks: Glamsterdam is scheduled on Hoodi. Gloas follows consensus-specs v1.7.0-beta.5, whose test vectors pass on the mainnet and minimal presets. The served discv5 ENR's eth2 entry and /eth/v1/node/identity update automatically at fork boundaries without requiring a restart.
  • One binary for both presets: the preset is read from the network's PRESET_BASE at startup, so the same binary and image run mainnet and a minimal-preset devnet.
  • Fast Confirmation Rule: runs every slot; its confirmed block is the execution client's safe block and feeds a fast_confirmation event.
  • Builders: --builder runs the MEV-Boost flow before Gloas (registrations, bids, blinded blocks). From Gloas, proposer preferences are published and gossip bids compete with the local build by default.
  • Data availability: a block's missing data columns can be rebuilt from the execution client's blob pool. A node with validators attached records the custody group count they require and starts with it from the next restart.
  • Beacon API: /eth/v1/node/peers, /peers/{peer_id} and /peer_count; the Gloas events, head_v2, single_attestation and payload_attributes on /eth/v1/events; the Gloas routes that were missing.
  • Operations: SIGTERM now shuts the node down gracefully, so docker stop and systemd need no special signal. A generated node key is stored in the data directory, so the PeerId survives restarts. --telemetry.clickhouse-url writes per-block timing rows to ClickHouse.
  • HTTPS: every HTTP client uses rustls and trusts the system certificate store as well as the built-in roots, so an endpoint behind a private CA works once the CA is in the system store. The image ships a CA store.

Validator client (ethlambda validator)

  • Slashing protection: an EIP-3076 record, written to disk before every block and attestation signature, with import and export.
  • Remote signing: Web3Signer keys, from validator_definitions.yml or the Keymanager API's /eth/v1/remotekeys.
  • Doppelganger protection: --enable-doppelganger-protection holds a key's signatures until the chain shows it is not live elsewhere.
  • Beacon node failover: v1.0.0 tried its beacon nodes in list order. Now every node is checked each slot, ranked by health and held to one chain. --broadcast sends signed messages to all of them, and --network holds them to a named network.
  • Builder proposals: --builder-proposals signs blinded blocks before Gloas; --self-build-only refuses builder bids from Gloas.
  • Voluntary exits: the ethlambda voluntary-exit command and the Keymanager API route.
  • Distributed validators: --distributed, for middleware such as Charon. Run so far against Charon v1.11.4 on a local devnet.
  • Per-validator settings: fee recipient, graffiti and gas limit persist in validator_definitions.yml; a graffiti file is read again before every proposal; the default gas limit comes from the network's GAS_LIMIT_SCHEDULE.
  • Monitoring: /health reports whether the client can do its duties; each validator's duty outcomes are counted; slashed validators are detected, and the client can stop when one is. SIGINT and SIGTERM both stop the client cleanly.

Security fixes

  • Crash: a deep chain of blocks parked for a missing parent overflowed the chain thread's stack when it was discarded. Such a chain could be built from blocks with no valid signature (#810).
  • Memory: gossipsub stored every topic a peer subscribed to, of any name and any length. Subscriptions are now kept only for topics the node can use (#924).
  • Memory and bandwidth: one execution_payload_envelopes_by_range or by_root request could make the node load and send about 1 GiB. Answers are bounded at 16 MiB (#895).
  • Signature first: a block's signature is now verified before the block waits for its parent or its columns.

Performance

Block import does more of its work in parallel and repeats less of it: a block's signatures are verified in one batch, the state transition runs while the execution client verifies the payload, and more of the state is kept in persistent trees. Payload building starts a third of a slot ahead.

Lean Ethereum (ethlambda node)

No notable changes. It is the same binary, and embedded ethrex does not affect it.

Known limitations

  • No builder API from Gloas: Gloas bids come from gossip or the Beacon API, not from a relay.
  • Slashing protection keeps minimal watermarks, not the full signing history. See Spec Deviations.
  • execution_optimistic on finalized blocks from Gloas: on a network past Gloas, Beacon API answers for finalized blocks report execution_optimistic: true although they are validated. Head answers and /eth/v1/node/syncing are correct.
  • The default build always runs an execution client: embedded ethrex, or the one at --execution-endpoint. Use a -minimal build to run without one.

Getting it

  • Docker: ghcr.io/lambdaclass/ethlambda:2.0.0 (also latest) with ethrex embedded, and 2.0.0-minimal (also latest-minimal) without it, for amd64 and arm64.
  • Binaries: attached below with their SHA256SUMS, as ethlambda-<platform> (ethrex embedded) and ethlambda-minimal-<platform>: linux-x86_64 (glibc 2.35+, needs AVX2), linux-aarch64 (glibc 2.35+) and macos-aarch64.
  • Verifying: the binaries and the images carry GitHub build provenance attestations. See RELEASE.md.
  • Homebrew: the ethlambda (ethrex embedded) and ethlambda-minimal formulas in lambdaclass/tap are updated shortly after this release is published.
  • Quickstart: the README.

If you run a node or a validator, try it and tell us your experience. Issues, pull requests and questions are welcome. You can also join our Telegram: https://t.me/ethlambda

Changes since v1.0.0

✨ New Features

🐛 Bug Fixes

⚡ Performance Improvements