API inconsistencies found in Ethereum clients, 72 bugs uncovered
APIDiffer automatically detects API bugs across Ethereum clients, revealing 72 bugs
Software arXiv 6 Mar 2026 Method Prototype evidence
Published as “When Specifications Meet Reality: Uncovering API Inconsistencies in Ethereum Infrastructure”
Why it matters
Improving API consistency across Ethereum clients reduces financial misreporting and strengthens the reliability of the broader Ethereum ecosystem.
Summary
APIDiffer automatically discovers API bugs across Ethereum clients, uncovering 72 bugs with 90.28% confirmed or fixed, and improves test coverage by up to 89.67% while cutting false positives by 37.38%. It does this by generating tests directly from official specifications, using live blockchain data for semantic validity, and filtering results with large language models. The evaluation spans all 11 major Ethereum clients, showing pervasive inconsistencies. Evidence is strong but depends on specification quality and LLM accuracy, which the authors acknowledge as limitations.
What they found 3
- APIDiffer uncovered 72 bugs, 90.28% of which have been confirmed or fixed by developers.
“APIDiffer uncovered 72 bugs, with 90.28% already confirmed or fixed by developers”
- APIDiffer achieves up to 89.67% higher code coverage than existing tools.
“APIDiffer achieves up to 89.67% higher code coverage than existing tools”
- APIDiffer reduces false positive rates by 37.38%.
“reduces false positive rates by 37.38%”
Caveats 7
- Reliance on LLMs for false-positive filtering may misclassify genuine bugs as false positives, potentially under-counting bugs.
- The approach does not incorporate runtime feedback such as coverage data, which may limit test comprehensiveness.
- Effectiveness depends on the quality of the API specifications; specification bugs or ambiguities can cause missed inconsistencies.
- Specification Quality Dependency. Our approach’s effectiveness is tied to the quality of the underlying API specifications.
- Semantic Test Generation. ... generating valid cryptographic parameters ... remains difficult.
- Choice of Black-box Testing. ... we prioritize the generality offered by black-box testing.
- Inherent Limitations of Differential Testing. ... differential testing is fundamentally constrained by the oracle problem when all targets exhibit identical erroneous behavior.
What’s new here 4
- Supports both execution-layer (EL) and consensus-layer (CL) client APIs, whereas prior tools only covered EL APIs.
- Generates test inputs automatically from official API specifications rather than relying on DSLs or manual cases.
- Enriches test inputs with real-time blockchain data to create semantically meaningful requests.
- Uses large language models to filter false positives by interpreting specification semantics.