forked from cerc-io/plugeth
common/compiler: remove "--add-std" arg, deprecated in solidity 0.4.21
This commit is contained in:
parent
b2f53f9621
commit
a25561dfb4
@ -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…
Reference in New Issue
Block a user