Add abi to the combined output expected for a contract

pull/310/head
Konrad Weiss 6 years ago
parent c8ad82bc87
commit 3535248b81
  1. 2
      mythril/ether/util.py

@ -18,7 +18,7 @@ def safe_decode(hex_encoded_string):
def get_solc_json(file, solc_binary="solc", solc_args=None): def get_solc_json(file, solc_binary="solc", solc_args=None):
cmd = [solc_binary, "--combined-json", "bin,bin-runtime,srcmap-runtime", '--allow-paths', "."] cmd = [solc_binary, "--combined-json", "bin,bin-runtime,srcmap-runtime,abi", '--allow-paths', "."]
if solc_args: if solc_args:
cmd.extend(solc_args.split(" ")) cmd.extend(solc_args.split(" "))

Loading…
Cancel
Save