From 443fb5e1d6c7213691cf9de1ec6ada23ccd43d0c Mon Sep 17 00:00:00 2001 From: Fausto Carvalho Date: Tue, 26 Mar 2024 17:11:33 -0300 Subject: [PATCH] Remove optimize as it was reducing coverage report --- pkg/solc/compiler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/solc/compiler.go b/pkg/solc/compiler.go index aa9a3d0..9aabe44 100644 --- a/pkg/solc/compiler.go +++ b/pkg/solc/compiler.go @@ -133,7 +133,7 @@ func (c *solidityCompiler) downloadSolcBinaryBasedOnVersion(version *semver.Vers func buildArgs(version *semver.Version) []string { p := []string{ "--combined-json", "ast,bin,bin-runtime,srcmap,srcmap-runtime,abi,userdoc,devdoc", - "--optimize", // code optimizer switched on + //"--optimize", // code optimizer switched on "--allow-paths", "., ./, ../", // default to support relative path: ./ ../ . } version0_4_6, _ := semver.NewVersion("0.4.6")