From 2e245e0c6f7c8ddf908bbf4fda189e88a89f98cb Mon Sep 17 00:00:00 2001 From: "g. nicholas d'andrea" Date: Mon, 21 Sep 2026 20:21:20 -0400 Subject: [PATCH] conformance: select ast-id alongside ethdebug for solc solc's develop branch rejects `debugInfo: ["ethdebug"]` since argotorg/solidity#16961 (merged 2026-09-19): "To use 'ethdebug' with settings.debug.debugInfo you must select also 'ast-id'." Every conformance run against a solc built after that date fails at compilation. The adapter now selects both. --- packages/conformance/src/adapters/solc.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/conformance/src/adapters/solc.ts b/packages/conformance/src/adapters/solc.ts index f1cfb5b0e0..c3de1ae4fa 100644 --- a/packages/conformance/src/adapters/solc.ts +++ b/packages/conformance/src/adapters/solc.ts @@ -107,7 +107,9 @@ export async function compileSolc( experimental: true, viaIR: options.viaIR ?? true, debug: { - debugInfo: ["ethdebug"], + // solc requires ast-id alongside ethdebug since + // argotorg/solidity#16961 (2026-09-19) + debugInfo: ["ethdebug", "ast-id"], }, outputSelection: { "*": {