From 258ce1c06d377ada409afe365881185169b2aafe Mon Sep 17 00:00:00 2001 From: Cyrill Leutwiler Date: Wed, 28 Jan 2026 18:03:51 +0100 Subject: [PATCH 1/2] resolc: Request the bytecode in the output selection Signed-off-by: Cyrill Leutwiler --- crates/compiler/src/revive_resolc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/compiler/src/revive_resolc.rs b/crates/compiler/src/revive_resolc.rs index 734f19e..ad6a684 100644 --- a/crates/compiler/src/revive_resolc.rs +++ b/crates/compiler/src/revive_resolc.rs @@ -172,7 +172,7 @@ impl SolidityCompiler for Resolc { .collect(), }, remappings: BTreeSet::::new(), - output_selection: SolcStandardJsonInputSettingsSelection::new_required(), + output_selection: SolcStandardJsonInputSettingsSelection::new_required_for_tests(), via_ir: Some(true), optimizer: SolcStandardJsonInputSettingsOptimizer::new( optimization From 73c3314ba4ff18941914d65b40d2366bc21d5c4e Mon Sep 17 00:00:00 2001 From: Cyrill Leutwiler Date: Wed, 28 Jan 2026 18:09:09 +0100 Subject: [PATCH 2/2] fmt Signed-off-by: Cyrill Leutwiler --- crates/compiler/src/revive_resolc.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/compiler/src/revive_resolc.rs b/crates/compiler/src/revive_resolc.rs index ad6a684..fe3ae2f 100644 --- a/crates/compiler/src/revive_resolc.rs +++ b/crates/compiler/src/revive_resolc.rs @@ -172,7 +172,8 @@ impl SolidityCompiler for Resolc { .collect(), }, remappings: BTreeSet::::new(), - output_selection: SolcStandardJsonInputSettingsSelection::new_required_for_tests(), + output_selection: + SolcStandardJsonInputSettingsSelection::new_required_for_tests(), via_ir: Some(true), optimizer: SolcStandardJsonInputSettingsOptimizer::new( optimization