Skip to content

Commit

Permalink
Compile for Homestead (switch this back when private net on byzantine) (
Browse files Browse the repository at this point in the history
  • Loading branch information
TuitionCoin authored Jul 3, 2018
1 parent 50217e2 commit 0da727b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/compiler/solidity.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ type solcOutput struct {
func (s *Solidity) makeArgs() []string {
p := []string{
"--combined-json", "bin,abi,userdoc,devdoc",
"--optimize", // code optimizer switched on
"--optimize",
"--evm-version", "homestead", // code optimizer switched on
}
if s.Major > 0 || s.Minor > 4 || s.Patch > 6 {
p[1] += ",metadata"
Expand Down

0 comments on commit 0da727b

Please sign in to comment.