Proposal Overview
Lido contributors proposed to improve the safety check for the accounting report in the case of a negative rebase, reducing the possible impact size, but with the requirement for a second opinion for extreme cases. It is described in LIP-23 and was adopted by the DAO in 2024.
This proposal suggests deploying a standalone instance of the Second Opinion ZK Oracle on Ethereum mainnet using Succinct SP1 zkVM technology, initially not connected to the Lido on Ethereum protocol. Integration may be considered after the Fusaka/Glamsterdam hardfork taking into consideration community feedback, accumulated experience, and ongoing protocol development. In the meantime, the oracle’s published reports will serve as an independent, publicly available, and trustlessly posted data feed of Lido-participating validator balances.
The sections below provide details on the ZK Oracle’s functionality and the proposed execution plan.
Motivation
The AccountingOracle contract aggregates all Lido validators’ Beacon Chain balances and Withdrawal Vault balance (clBalanceGwei and withdrawalVaultBalance in the report) to the protocol, critical for the daily rebase of the stETH token. It uses a committee of nine Oracle daemons, with a consensus required from at least five, to ensure data integrity.
The protocol could be harmed if this committee is compromised, malfunctions, or colludes. This risk is acknowledged and constrained by a sanity check that restricts the possible discrepancy in the balance that Oracle can report. The current approach to sanity checking allows the Oracle committee a 0.109 ETH decrease per active validator over an 18-day period (0.101 ETH for attestation penalties and 0.008 ETH for initial slashing penalty). Please note, at the adoption of LIP-23 the sanity checker parameters were at 1.101 ETH, but the parameters were changed later because of the Pectra upgrade. This value, drawn from Ethereum specifications, addresses two out of four cases of ‘Natural CLBalance decrease’ — attestation penalties and the initial slashing penalty. To increase the versatility of the negative rebase check it’s proposed to have a Second Opinion Oracle based on ZK technology, as it was initially proposed in LIP-23.
The Second Opinion ZK Oracle is a safeguard mechanism for the Lido protocol, designed to provide an additional layer of verification for critical balance data. It leverages zero-knowledge technology to independently compute and prove validator balances and withdrawal vault balances. Its primary role is to serve as a “second opinion” to confirm unusually large negative rebases for stETH, thereby reducing the risk of erroneous or malicious oracle reports. The system includes components such as Rust-based programs running inside SP1, a service layer that schedules and executes proofs, Solidity contracts to interface with the protocol, and monitoring endpoints for operational health. The details of the technical design for Second Opinion ZK Oracle can be found here.
Proposed execution plan
-
The second opinion oracle was developed, reviewed internally, and covered by the test suite.
-
It was deployed on Hoodi testnet and has been working since August 2025.
-
The audits were conducted for the pre-Fusaka applicable contract and ZK Program.
-
The ZK Oracle contract will be deployed and verified on mainnet being a standalone (initially not connected to the protocol) public trustless data feed reporting Lido-participating validator balances
-
Drawing on community feedback, accumulated experience, and ongoing protocol development, a governance vote will be initiated to integrate the zkOracle — or its evolved version — into the protocol.
Summary
As a continuation of efforts to enhance the negative rebase sanity checker, the proposal introduces the Second Opinion ZK Oracle. This oracle leverages Succinct Labs’ SP1 technology to provide Zero-Knowledge proofs for the data it supplies, ensuring cryptographic integrity and verifiability. Backed by long-term operation on multiple testnets, an independent audit conducted by Nethermind Security, and independent trustless data feed mode on mainnet, the Second Opinion ZK Oracle aims to provide an additional layer of robustness and security to the Lido on Ethereum protocol.