10-minute briefing · Walnut: Source-Level Debugging for Solidity, ethdebug in solc
Total 11 min · Official snapshot 2026-11-26
Summary
1 min · Applicant statement
solc does not emit the debug information debuggers need, so every tool reverse-engineers compiler behavior and breaks when the compiler changes. This funds implementing the ethdebug format directly in solc, with debug data that survives the full optimizer pipeline so it works on production builds.
Why this matters
1 min · Applicant statement
Official proposal, Why this matters
Debugging Solidity is a longstanding pain point, and the root cause is structural. The compiler (solc) does not emit the rich debug information debuggers need: variable types, scopes, and runtime locations. Without a standard for that data, every debugging tool reverse-engineers compiler behavior, which breaks whenever the compiler changes. The 2025 Solidity Developer Survey (925 responses) re-confirmed this. The three most requested improvements, step-through debugging, variable and state inspection, and transaction replay, map directly to what a standard debug format enables. The need is sharpest in production, where deployed contracts are immutable and the cost of not understanding behavior is highest. This RFP funds implementing the [ethdebug format](https://ethdebug.github.io/format/) directly in solc. The end state: * solc emits standardized debug data covering storage variables, local variables, memory, calldata, and per-instruction context * That data survives the full compilation pipeline, including all optimizer passes, so it works on production builds * Debuggers, frameworks, monitoring tools, explorers, and agents can read one shared standard instead of reconstructing compiler internals
In scope
1 min · Applicant statement
* The full six-milestone implementation of ethdebug in solc, from test infrastructure through the optimized production pipeline * Complete debug data covering storage variables, local variables, memory, calldata, and per-instruction context * Upstreaming the implementation into solc and documenting how tools consume the emitted data
Out of scope
1 min · Applicant statement
Official proposal, Out of scope
* Building end-user debugger UIs. This funds the compiler-level data, not the tools that read it. Walnut is building soldb, the first ETHDebug consumer - a CLI-based debugger and tracer for Solidity. * The ethdebug format specification itself, which Argot maintains separately. * Ongoing maintenance beyond the grant period, beyond the maintenance plan required below.
Milestones and criteria
2 min · Applicant statement
- Milestone 1: Testing and validation infrastructure
- Automated test and validation infrastructure for ethdebug output in place, running in public CI
- Milestone 2: Internal debug data specification
- Internal specification for how solc represents and propagates debug data, published for review
- Milestone 3: Yul serialization
- Debug info survives compilation round-trips through Yul, demonstrated by automated tests in public CI
- Milestone 4: Full unoptimized pipeline
- solc emits ethdebug-format debug data for unoptimized builds, covering storage variables, local variables, memory, calldata, and per-instruction context
- Output validates against the ethdebug schemas in an automated public CI check
- Implementation is merged into solc, or is an open pull request under active review by the Solidity team, linkable by URL
- A published walkthrough showing a debugger or test harness consuming the emitted data on a sample contract
- Milestone 5: Optimized pipeline
- Debug data extended through all optimizer passes, correct on optimized production builds
- Public test suite demonstrates debug data accuracy on optimized builds, with results published
- Implementation merged into solc, or an open pull request under active review, linkable by URL
- Published maintenance plan for keeping ethdebug output current across future solc and optimizer changes
- Milestone 6: Adoption evidence
- soldb debugs optimized production builds end-to-end (tracing, source-level stepping, variable inspection) using solc's ETHDebug output alone - no source-map fallback. Results published and reproducible: pinned solc/soldb versions, sample contracts, run instructions.
- Integration engagement is completed with at least 3 of the 5 providers (Tenderly, Foundry, Hardhat, Medusa, Remix) - anywhere from confirmed interest to active work. Each engagement is evidenced in writing and names an indicative, non-binding timeframe (e.g. a target quarter).
Commitments
1 min · Applicant statement
Official proposal, Commitments
1. **Open source.** All work merged under solc's existing license, no closed-source dependencies. 2. **Upstream, not a fork.** Deliverables land in the official solc repository, or are open pull requests under active review by the Solidity team. A private fork does not count. 3. **Machine-checkable acceptance.** Debug data output is validated by an automated test suite in public CI against the ethdebug format schemas. 4. **Production coverage proven.** Final acceptance requires debug data demonstrated correct on optimized builds. 5. **Maintenance plan.** A documented plan for keeping ethdebug output current as solc and the optimizer evolve.
The team
1 min · Applicant statement
This RFP is a co-sponsorship opportunity brought by **Argot Collective** and **Walnut**. The ethdebug format is developed by Argot engineer Nicholas D'Andrea. The solc implementation is done by Walnut. We expect them to do this work. This is not a competitive tender in the usual sense. The project is already in progress with the first three milestones funded and underway, so there is no open challenge window. A challenger just doesn’t make sense in this case. Argot Collective is the anchor backer. A public goods nonprofit, Argot has committed up to $151,000 of the $279,000 project budget. This RFP raises the remaining $127,000: $85,500 to finish the project and additional $43,000 to ensure ecosystem adoption by every user of the solc compiler.
Links in the proposal
1 min · Applicant statement
- ethdebug format · Link · Proposal section: Why this matters
- ethdebug/format · Repo · Proposal section: Why a grant: what already exists
- github.com/argotorg/solidity/pull/16727 · Repo · Proposal section: milestone:0
- github.com/argotorg/solidity/pull/16780 · Repo · Proposal section: milestone:1
Round 1 history
1 min · Independent evidence
- soldb - Open-Source Solidity Debugger
- Total received in Round 1: 2.3617 ETH Independent evidence
Evidence card
1 min · Optional
TheDAO API record · GitHub API · TheDAO transparency report · Official proposal
- Shipped work
- Official site: walnut.dev. Source: TheDAO API record, checked 2026-11-26 Official data
- Repository: ethdebug/format. Source: GitHub API, checked 2026-11-26 Independent evidence
- Funding
- Pledged (outstanding): . Source: TheDAO API record, checked 2026-11-26 Official data
- Received pledges: . Source: TheDAO API record, checked 2026-11-26 Official data
- Donated (confirmed): . Source: TheDAO API record, checked 2026-11-26 Official data
- Backer (pledged): Argot Collective. Source: TheDAO API pledge record, checked 2026-11-26 Official data
- Prior funding
- Round 1: See Round 1 history: 1 record (1 match). Source: TheDAO transparency report, checked 2026-11-27 Independent evidence
- Funding statement: Argot: The implementation is underway at Walnut, with the first three milestones below funded by Argot.. Source: Official proposal, checked 2026-11-27 Applicant statement
- Team and track record
- Recipient team: Walnut. Source: TheDAO API record, checked 2026-11-26 Official data
- Not found
- Not found: No release published. Source: GitHub API, checked 2026-11-26 Independent evidence
- Not found: No public team profile linked in the proposal. Source: Official proposal, checked 2026-11-26 Official data
- Not found: No public audit report linked. Source: Official proposal, checked 2026-11-26 Official data