Skip to content

Commit

Permalink
qtum only supports constantinople evm
Browse files Browse the repository at this point in the history
  • Loading branch information
hayeah committed Oct 10, 2020
1 parent 322a620 commit 22f852a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (c *Compiler) execSolc() (*rawCompilerOutput, error) {

filename := c.Filename

args := []string{filename, "--combined-json", "bin,metadata"}
args := []string{filename, "--combined-json", "bin,metadata", "--evm-version", "constantinople"}

if !opts.NoOptimize {
args = append(args, "--optimize")
Expand Down

0 comments on commit 22f852a

Please sign in to comment.