浏览代码

common/compiler: remove "--add-std" arg, deprecated in solidity 0.4.21

Jeffery Robert Walsh 7 年之前
父节点
当前提交
a25561dfb4
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      common/compiler/solidity.go

+ 0 - 1
common/compiler/solidity.go

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