From 7832ac7a6c8b6b86930c00485e960a6b1b116c56 Mon Sep 17 00:00:00 2001 From: Josselin Date: Fri, 22 Nov 2019 19:02:34 +0100 Subject: [PATCH] Update to crytic-compile b0a1b268e230320dea78c79ee7dd34cced37c0b0 --- setup.py | 5 +++-- slither/utils/command_line.py | 6 ++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index f7328171c..1d4bdcfd0 100644 --- a/setup.py +++ b/setup.py @@ -10,8 +10,9 @@ setup( python_requires='>=3.6', install_requires=['prettytable>=0.7.2', 'pysha3>=1.0.2', - 'crytic-compile>=0.1.5'], -# dependency_links=['git+https://github.com/crytic/crytic-compile.git@master#egg=crytic-compile'], + #'crytic-compile>=0.1.5'], + 'crytic-compile'], + dependency_links=['git+https://github.com/crytic/crytic-compile.git@master#egg=crytic-compile'], license='AGPL-3.0', long_description=open('README.md').read(), entry_points={ diff --git a/slither/utils/command_line.py b/slither/utils/command_line.py index 2ead86223..348a7752b 100644 --- a/slither/utils/command_line.py +++ b/slither/utils/command_line.py @@ -1,11 +1,9 @@ -import os -import logging import json import os import logging from collections import defaultdict from prettytable import PrettyTable -from crytic_compile.cryticparser.defaults import defaults_flag_in_config as defaults_flag_in_config_crytic_compile +from crytic_compile.cryticparser.defaults import DEFAULTS_FLAG_IN_CONFIG as DEFAULTS_FLAG_IN_CONFIG_CRYTIC_COMPILE from slither.detectors.abstract_detector import classification_txt from .colors import yellow, red @@ -35,7 +33,7 @@ defaults_flag_in_config = { # debug command 'legacy_ast': False, 'ignore_return_value': False, - **defaults_flag_in_config_crytic_compile + **DEFAULTS_FLAG_IN_CONFIG_CRYTIC_COMPILE } def read_config_file(args):