Revert "Enable optimizer when compiling Soldity files (#1226)"

This reverts commit b0e57b2768.
revert-1226-optimizer
Nikhil Parasaram 5 years ago committed by GitHub
parent b0e57b2768
commit 94fcb5d453
  1. 2
      mythril/ethereum/util.py

@ -33,7 +33,7 @@ def get_solc_json(file, solc_binary="solc", solc_settings_json=None):
:param solc_settings_json: :param solc_settings_json:
:return: :return:
""" """
cmd = [solc_binary, "--optimize", "--standard-json", "--allow-paths", "."] cmd = [solc_binary, "--standard-json", "--allow-paths", "."]
settings = json.loads(solc_settings_json) if solc_settings_json else {} settings = json.loads(solc_settings_json) if solc_settings_json else {}
settings.update( settings.update(

Loading…
Cancel
Save