Skip to content

Commit

Permalink
Back with optimize in solc as vandal dont like it
Browse files Browse the repository at this point in the history
  • Loading branch information
faustocarva committed Apr 4, 2024
1 parent dc1dee9 commit ab74b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/solc/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,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")
Expand Down

0 comments on commit ab74b30

Please sign in to comment.