Lean Client, the Solana validator written in the Lean 4 proof language, now gives the same result as Agave on all 47,071 test fixtures that Agave and Firedancer share, according to its developer. The result is self-reported and has not yet been reproduced outside the project.
The figure arrived in two steps on 3 December 2026. At 17:38 UTC the project's X account reported that 46,809 of the 47,071 fixtures matched Agave, with the remaining 262 "being worked right now". A later commit, f2efbf5, titled "Every one of the 47,071 shared conformance fixtures agrees with Agave", fixed those 262, and the project's README now reads "All 47,071 agree". The client, built by a developer posting as MidTermDev, started voting on Solana mainnet earlier this week with about 1
SOL of stake.
What the Agave and Firedancer conformance fixtures check
Conformance fixtures are recorded test cases for single program instructions. Each one holds an input and the result the reference client produced, so a new client can be graded against an answer key. Lean Client used the test-vectors repository maintained by the Firedancer team, which covers instruction execution, the sBPF virtual machine, system calls and program loading.
For each fixture, the project compares three things with Anza's Agave client: whether the instruction succeeds or fails, which accounts it changes and how, and how many compute units are left. The first run, committed as dd43cd5, feeds every fixture through the same execution code the client uses to replay mainnet blocks.
| Fixture group (test-vectors 1c5e39d) | Matched in dd43cd5 | Matched after f2efbf5 |
|---|---|---|
| System program, compute budget, precompiles, ZK proofs, loaders v1/v2/v4, unknown programs | 32,506 of 32,506 | 32,506 of 32,506 |
| sBPF programs | 3,211 of 3,399 | 3,399 of 3,399 |
| Vote program and loader v3 | 11,092 of 11,166 | 11,166 of 11,166 |
Figures are from the dd43cd5 commit message and the README.
How Lean Client closed the last 262 differences
The dd43cd5 message split the 262 mismatches into 188 sBPF programs, 71 loader v3 cases and 3 vote-program cases. According to the f2efbf5 commit message, the fixes changed the client's execution model in five places:
- The program loader now finds relocations and symbols through an ELF file's dynamic table, as Agave's parser does, rather than by section name. Before, a program whose relocations sat elsewhere had its system calls read as calls to itself.
- Deploying, upgrading and extending a program now runs the checks Agave's deployment loader applies, such as rejecting unknown system calls.
- The system calls that read sysvars now refuse programs from the first loader, addresses inside account memory and misaligned addresses.
- A vote account's authorised voters are now held in epoch order, as Agave holds them.
- The test harness can run with a mainnet feature switched off (the vote program's custom commission collector) where the fixtures were generated that way. The commit says this setting is empty on a live chain.
Running the fixtures had already turned up three earlier gaps, fixed before the first run was published: lamport balances overflowing past 64 bits, Agave's general rent formula, and little-endian alt_bn128 compression. The project said "none of them could change a mainnet block, but a trusted model should match Agave exactly."
What 47,071 matching fixtures do not prove about Lean Client
The fixtures test one instruction at a time. Agreement on them shows Lean Client executes individual instructions the way Agave does across a wide sample; it does not show that whole blocks, fees or consensus behave identically over the chain's history. The README also says the fixtures were generated without sixteen features that mainnet has turned on. Fourteen of those, per the README, "cannot change what one instruction does" (slot times, Alpenglow, version-1 transactions, block limits, fee and rent rates). Of the rest, the vote program's custom commission collector is switched off in the run to match how the fixtures were made.
For whole blocks, the project points to a different test. Each of the day's commits lists "400 heavy mainnet blocks with every bank hash matching" among its gates. A bank hash is a fingerprint of the ledger's state after a block, so matching it means the client computed the same state as the network. Per the README, anyone can repeat the fixture run with make conformance. We found no public comment on the results from Anza or the Firedancer team.
A code review, an Anza engineer's doubt and Lean Client's leanc compiler
The results drew scrutiny within hours. At 18:30 UTC a reviewer posting as davidrhodus replied that, having read dd43cd5, he would prioritise two fixes "before adding stake": failing closed when the vote and leader records cannot be read, and checking received blocks for duplicate transactions and cost limits before voting on them. Commit 4f1490a answers both. Before it, the commit message says, an unreadable vote record "read as 'no votes yet'", so the node could vote again on something it had already voted for.
Alessandro Decina, an engineer at Anza, which builds the Agave client Lean Client measures itself against, questioned the project's broadest claim: that the entire validator is written in Lean. "The whole validator? doubtful," he wrote in a thread about the project. MidTermDev answered that "every line of the client is Lean", covering networking, signature checks, the executor, the sBPF interpreter and JIT, Alpenglow voting and QUIC/TLS.
That claim rests on leanc, the project's own compiler. Per the README, leanc turns Lean source directly into a static x86-64 Linux binary, with no LLVM, no generated C and no libc, and refuses to finish a build unless every array access is proven in bounds. The compiler itself is written in C, about 8,000 lines of it including a 1,420-line prover, and produces a 240 KB binary. The developer suggested anyone check the build by running make without a C compiler installed and confirming the client folders hold only .lean files.
Where Lean Client stands on Solana mainnet
Lean Client can vote but cannot yet lead slots; the project's site calls block production what it is building next. Its stake has grown since it started voting. Our validator data for the Lean Client vote account shows about 183 SOL active in epoch 1104 on 3 December 2026, up from 1 SOL two epochs earlier, with a further 331 SOL activating, though its share of network stake still rounds to zero.
The conformance run gives anyone a way to grade Lean Client's instruction execution against Agave with one command, and the day's review-and-fix cycle played out in public on GitHub. The developments to watch are a re-run of the fixtures and the block-replay tests by someone outside the project, any response from the Agave and Firedancer teams, and the first block Lean Client produces on Solana
SOL$69.25-2.2% mainnet.