From 62354dd55387d242b74cfcc80038d87fe22c8fa8 Mon Sep 17 00:00:00 2001 From: pullmerge Date: Sun, 14 Apr 2024 11:14:41 +0800 Subject: [PATCH] Fix some comments Signed-off-by: pullmerge --- crytic_compile/platform/solc.py | 6 +++--- crytic_compile/platform/waffle.py | 2 +- scripts/ci_test_truffle.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crytic_compile/platform/solc.py b/crytic_compile/platform/solc.py index ef8b93fa..528dd6b8 100644 --- a/crytic_compile/platform/solc.py +++ b/crytic_compile/platform/solc.py @@ -468,7 +468,7 @@ def _run_solc( solc_disable_warnings (bool): If True, disable solc warnings solc_arguments (Optional[str]): Additional solc cli arguments solc_remaps (Optional[Union[str, List[str]]], optional): Solc remaps. Can be a string where remap are separated with space, or list of str, or a list of. Defaults to None. - env (Optional[Dict]): Environement variable when solc is run. Defaults to None. + env (Optional[Dict]): Environment variable when solc is run. Defaults to None. working_dir (Optional[Union[Path, str]]): Working directory when solc is run. Defaults to None. force_legacy_json (bool): Force to use the legacy json format. Defaults to False. @@ -607,7 +607,7 @@ def _run_solcs_path( solc_disable_warnings (bool): If True, disable solc warnings solc_arguments (str): Additional solc cli arguments solc_remaps (Optional[Union[str, List[str]]], optional): Solc remaps. Can be a string where remap are separated with space, or list of str, or a list of. Defaults to None. - env (Optional[Dict]): Environement variable when solc is run. Defaults to None. + env (Optional[Dict]): Environment variable when solc is run. Defaults to None. working_dir (Optional[Union[Path, str]], optional): Working directory when solc is run. Defaults to None. force_legacy_json (bool): Force to use the legacy json format. Defaults to False. @@ -697,7 +697,7 @@ def _run_solcs_env( solc_disable_warnings (bool): If True, disable solc warnings solc_arguments (str): Additional solc cli arguments solc_remaps (Optional[Union[str, List[str]]], optional): Solc remaps. Can be a string where remap are separated with space, or list of str, or a list of. Defaults to None. - env (Optional[Dict], optional): Environement variable when solc is run. Defaults to None. + env (Optional[Dict], optional): Environment variable when solc is run. Defaults to None. working_dir (Optional[Union[Path, str]], optional): Working directory when solc is run. Defaults to None. solcs_env (Optional[List[str]]): List of solc env variable to try. Defaults to None. force_legacy_json (bool): Force to use the legacy json format. Defaults to False. diff --git a/crytic_compile/platform/waffle.py b/crytic_compile/platform/waffle.py index 053bc7c3..56fa9543 100755 --- a/crytic_compile/platform/waffle.py +++ b/crytic_compile/platform/waffle.py @@ -321,7 +321,7 @@ def _load_config(config_file: str) -> Dict: def _get_version(compiler: str, cwd: str, config: Optional[Dict] = None) -> str: - """Return the solidity verison used + """Return the solidity version used Args: compiler (str): compiler used diff --git a/scripts/ci_test_truffle.sh b/scripts/ci_test_truffle.sh index dc0b117a..816fbab3 100755 --- a/scripts/ci_test_truffle.sh +++ b/scripts/ci_test_truffle.sh @@ -14,7 +14,7 @@ then echo "Truffle test failed" exit 255 fi -# TODO: for some reason truffle output is not deterministc +# TODO: for some reason truffle output is not deterministic # The assigned id changes #cd - #