Merge pull request #16289 from jeffwalsh/remove-add-std-arg

common/compiler: remove "--add-std" arg, deprecated in solidity 0.4.21
pull/16293/head
Péter Szilágyi 7 years ago committed by GitHub
commit 38e2071df8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      common/compiler/solidity.go

@ -65,7 +65,6 @@ type solcOutput struct {
func (s *Solidity) makeArgs() []string { func (s *Solidity) makeArgs() []string {
p := []string{ p := []string{
"--combined-json", "bin,abi,userdoc,devdoc", "--combined-json", "bin,abi,userdoc,devdoc",
"--add-std", // include standard lib contracts
"--optimize", // code optimizer switched on "--optimize", // code optimizer switched on
} }
if s.Major > 0 || s.Minor > 4 || s.Patch > 6 { if s.Major > 0 || s.Minor > 4 || s.Patch > 6 {

Loading…
Cancel
Save