Skip to content

conformance: track SolDB reading sources only from resources - #417

Merged
gnidan merged 1 commit into
mainfrom
conformance-soldb-compilation
Nov 16, 2026
Merged

gnidan merged 1 commit into
mainfrom
conformance-soldb-compilation

Conversation

@gnidan

@gnidan gnidan commented Nov 16, 2026

Copy link
Copy Markdown
Member

Tracks #416.

SolDB reads source contents only from the compilation inside its resources file. Since argotorg/solidity#17179, solc emits the compilation on its own, so #414 merges it into the ethdebug.json the harness writes for SolDB. This marks that merge in ethdebugResources as the shim for #416 and adds the tripwire that goes with it, as described under "Expected failures" in the conformance README.

The tripwire writes the debug directory the way solc's --ethdebug output does: ethdebug_resources.json without a compilation and ethdebug_compilation.json next to it, plus the program files. It runs soldb info resources --json on it and expects no sources. Today SolDB rejects that resources file ("does not contain resources or compilation"). The test fails once SolDB reports the compilation's sources from that directory, and the message names the shim and #416.

Mark the compilation merge in the SolDB adapter as a shim for #416 and
add a tripwire: SolDB gets the debug directory as solc writes it, with
the compilation in its own file, and the test fails once SolDB reports
the sources from it.
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-16 22:35 UTC

@gnidan
gnidan merged commit efee7eb into main Nov 16, 2026
14 of 15 checks passed
@gnidan
gnidan deleted the conformance-soldb-compilation branch November 16, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant