From bede269edda646c6c81c6e914fc94ca1ca7fb00f Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Mon, 16 Sep 2024 16:47:34 +0300 Subject: [PATCH 01/11] mark mxpy-up.py as deprecated --- mxpy-up.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/mxpy-up.py b/mxpy-up.py index 8cfacc3e..8c9a5c7b 100644 --- a/mxpy-up.py +++ b/mxpy-up.py @@ -21,9 +21,15 @@ def main(): parser.add_argument("--from-branch", help="use a branch of multiversx/mx-sdk-py-cli") parser.add_argument("--not-interactive", action="store_true", default=False) parser.add_argument("--verbose", action="store_true", default=False) + parser.add_argument("--ignore-deprecation", action="store_false", default=True, help="'mxpy-up.py' is obsolete, install using 'pipx': https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx") parser.set_defaults(modify_path=True) args = parser.parse_args() + if args.ignore_deprecation: + logger.warning("'mxpy-up.py' is deprecated. Check out the documentation on how to install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx.") + logger.warning("To install using 'mxpy-up.py' set the `--ignore-deprecation` flag.") + return + exact_version = args.exact_version from_branch = args.from_branch interactive = not args.not_interactive @@ -56,6 +62,8 @@ def main(): if interactive: guide_system_path_integration() + logger.warning("Installing `mxpy` using `mxpy-up.py` is deprecated. Check out the documentation on how to install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx") + def guard_non_root_user(): logger.debug("Checking user (should not be root).") @@ -260,7 +268,7 @@ def guide_system_path_integration(): return old_export_directive = f'export PATH="{Path("~/elrondsdk").expanduser()}:$PATH"\t# elrond-sdk' - new_export_directive = f'export PATH="${{HOME}}/multiversx-sdk:$PATH"\t# multiversx-sdk' + new_export_directive = 'export PATH="${{HOME}}/multiversx-sdk:$PATH"\t# multiversx-sdk' profile_files = get_profile_files() @@ -292,7 +300,7 @@ def guide_system_path_integration(): Your shell profile files: {profile_files_formatted} -The entry (entries) to remove: +The entry (entries) to remove: {old_export_directive} ############################################################################### Make sure you UNDERSTAND the above before proceeding further. @@ -306,12 +314,12 @@ def guide_system_path_integration(): ############################################################################### It seems that the path "~/multiversx-sdk" is already configured in shell profile. -To confirm this, CHECK the shell profile (now or after the installer script ends). +To confirm this, CHECK the shell profile (now or after the installer script ends). Your shell profile files: {profile_files_formatted} -The entry to check (it should be present): +The entry to check (it should be present): {new_export_directive}. ############################################################################### Make sure you UNDERSTAND the above before proceeding further. From acad3fc90a41c0d14e5c60cef916e18104be8ebc Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 10:46:37 +0300 Subject: [PATCH 02/11] fixes after review --- mxpy-up.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mxpy-up.py b/mxpy-up.py index 8c9a5c7b..20a3f33d 100644 --- a/mxpy-up.py +++ b/mxpy-up.py @@ -25,10 +25,10 @@ def main(): parser.set_defaults(modify_path=True) args = parser.parse_args() + logger.warning("'mxpy-up.py' is deprecated. Check out the documentation on how to install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx.") + if args.ignore_deprecation: - logger.warning("'mxpy-up.py' is deprecated. Check out the documentation on how to install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx.") - logger.warning("To install using 'mxpy-up.py' set the `--ignore-deprecation` flag.") - return + raise Exception("'mxpy-up.py' is deprecated, please install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx. If installing using 'mxpy-up` is mandatory, provide the `--ignore-deprecation` flag.") exact_version = args.exact_version from_branch = args.from_branch From e0aaf75565460e60300bec6de1e281743eda43bb Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 10:49:41 +0300 Subject: [PATCH 03/11] fixes after review --- mxpy-up.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mxpy-up.py b/mxpy-up.py index 20a3f33d..fd818b53 100644 --- a/mxpy-up.py +++ b/mxpy-up.py @@ -21,13 +21,13 @@ def main(): parser.add_argument("--from-branch", help="use a branch of multiversx/mx-sdk-py-cli") parser.add_argument("--not-interactive", action="store_true", default=False) parser.add_argument("--verbose", action="store_true", default=False) - parser.add_argument("--ignore-deprecation", action="store_false", default=True, help="'mxpy-up.py' is obsolete, install using 'pipx': https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx") + parser.add_argument("--ignore-deprecation", action="store_true", default=False, help="'mxpy-up.py' is obsolete, install using 'pipx': https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx") parser.set_defaults(modify_path=True) args = parser.parse_args() logger.warning("'mxpy-up.py' is deprecated. Check out the documentation on how to install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx.") - if args.ignore_deprecation: + if not args.ignore_deprecation: raise Exception("'mxpy-up.py' is deprecated, please install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx. If installing using 'mxpy-up` is mandatory, provide the `--ignore-deprecation` flag.") exact_version = args.exact_version From 09801f71368e72703650578f207d4e74b7711962 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 12:50:32 +0300 Subject: [PATCH 04/11] add amount for unjailing transactions & ask user to install sc-meta deps --- multiversx_sdk_cli/cli_delegation.py | 2 +- multiversx_sdk_cli/delegation/staking_provider.py | 4 +++- multiversx_sdk_cli/dependencies/modules.py | 4 ++-- multiversx_sdk_cli/tests/test_cli_staking_provider.py | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/multiversx_sdk_cli/cli_delegation.py b/multiversx_sdk_cli/cli_delegation.py index 9c49d158..eef8a357 100644 --- a/multiversx_sdk_cli/cli_delegation.py +++ b/multiversx_sdk_cli/cli_delegation.py @@ -171,7 +171,7 @@ def setup_parser(args: List[str], subparsers: Any) -> Any: "Create a delegation contract from validator data. Must be called by the node operator") sub.add_argument("--max-cap", required=True, help="total delegation cap in EGLD, fully denominated. Use value 0 for uncapped") - sub.add_argument("--fee", required=True, help=f"service fee as hundredths of percents. (e.g. a service fee of 37.45 percent is expressed by the integer 3745)") + sub.add_argument("--fee", required=True, help="service fee as hundredths of percents. (e.g. a service fee of 37.45 percent is expressed by the integer 3745)") _add_common_arguments(args, sub) sub.set_defaults(func=make_new_contract_from_validator_data) diff --git a/multiversx_sdk_cli/delegation/staking_provider.py b/multiversx_sdk_cli/delegation/staking_provider.py index 4d4834bb..418418dc 100644 --- a/multiversx_sdk_cli/delegation/staking_provider.py +++ b/multiversx_sdk_cli/delegation/staking_provider.py @@ -171,11 +171,13 @@ def prepare_transaction_for_unjailing_nodes(self, owner: IAccount, args: Any) -> delegation_contract = Address.new_from_bech32(args.delegation_contract) public_keys = self._load_validators_public_keys(args) + amount = int(args.value) tx = self._factory.create_transaction_for_unjailing_nodes( sender=owner.address, delegation_contract=delegation_contract, - public_keys=public_keys + public_keys=public_keys, + amount=amount ) tx.nonce = int(args.nonce) tx.version = int(args.version) diff --git a/multiversx_sdk_cli/dependencies/modules.py b/multiversx_sdk_cli/dependencies/modules.py index 6e778f44..7db8c1a5 100644 --- a/multiversx_sdk_cli/dependencies/modules.py +++ b/multiversx_sdk_cli/dependencies/modules.py @@ -10,7 +10,7 @@ myprocess, utils, workstation) from multiversx_sdk_cli.dependencies.resolution import ( DependencyResolution, get_dependency_resolution) -from multiversx_sdk_cli.ux import show_warning +from multiversx_sdk_cli.ux import show_message, show_warning logger = logging.getLogger("modules") @@ -241,7 +241,7 @@ def install(self, overwrite: bool) -> None: self._install_sc_meta() self._install_wasm_opt() self._install_twiggy() - self._install_sc_meta_deps() + show_message("Please also install all the necessary dependencies required for `sc-meta` to run properly bu running the following command: `sc-meta install all`.") def _check_install_env(self, apply_correction: bool = True): """ diff --git a/multiversx_sdk_cli/tests/test_cli_staking_provider.py b/multiversx_sdk_cli/tests/test_cli_staking_provider.py index 6921fe4b..a657c0d1 100644 --- a/multiversx_sdk_cli/tests/test_cli_staking_provider.py +++ b/multiversx_sdk_cli/tests/test_cli_staking_provider.py @@ -223,6 +223,7 @@ def test_unjail_nodes(capsys: Any): "staking-provider", "unjail-nodes", "--bls-keys", f"{first_bls_key},{second_bls_key}", "--delegation-contract", "erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqthllllsy5r6rh", + "--value", "5000000000000000000", "--pem", str(alice), "--chain", "T", "--nonce", "7", "--estimate-gas" @@ -235,6 +236,7 @@ def test_unjail_nodes(capsys: Any): assert transaction["sender"] == "erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th" assert transaction["receiver"] == "erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqthllllsy5r6rh" assert transaction["gasLimit"] == 13645500 + assert transaction["value"] == "5000000000000000000" def test_change_service_fee(capsys: Any): From 47111f826c49e317640e8e496f54f474a67a61db Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 12:54:05 +0300 Subject: [PATCH 05/11] small fix --- mxpy-up.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mxpy-up.py b/mxpy-up.py index fd818b53..24177d3a 100644 --- a/mxpy-up.py +++ b/mxpy-up.py @@ -28,7 +28,7 @@ def main(): logger.warning("'mxpy-up.py' is deprecated. Check out the documentation on how to install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx.") if not args.ignore_deprecation: - raise Exception("'mxpy-up.py' is deprecated, please install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx. If installing using 'mxpy-up` is mandatory, provide the `--ignore-deprecation` flag.") + raise Exception("'mxpy-up.py' is deprecated, please install using `pipx`: https://docs.multiversx.com/sdk-and-tools/sdk-py/installing-mxpy/#install-using-pipx. If installing using 'mxpy-up` is necessary, provide the `--ignore-deprecation` flag.") exact_version = args.exact_version from_branch = args.from_branch From f3daf91852abb59f99f83604246c70602d7bee79 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 14:49:20 +0300 Subject: [PATCH 06/11] fix flake errors --- multiversx_sdk_cli/cli_config.py | 2 +- multiversx_sdk_cli/docker.py | 2 +- .../ledger/ledger_app_handler.py | 2 +- multiversx_sdk_cli/localnet/config_part.py | 4 ++-- multiversx_sdk_cli/simulation.py | 2 ++ .../tests/local_verify_server.py | 4 ++-- multiversx_sdk_cli/validators/__init__.py | 21 +++++++------------ multiversx_sdk_cli/version.py | 2 +- 8 files changed, 18 insertions(+), 21 deletions(-) diff --git a/multiversx_sdk_cli/cli_config.py b/multiversx_sdk_cli/cli_config.py index d1439ac2..4e03879d 100644 --- a/multiversx_sdk_cli/cli_config.py +++ b/multiversx_sdk_cli/cli_config.py @@ -103,7 +103,7 @@ def list_configs(args: Any): def delete_config(args: Any): config_file = config.resolve_config_path() if not config_file.is_file(): - logger.info(f"Config file not found. Aborting...") + logger.info("Config file not found. Aborting...") return confirm_continuation(f"The file `{str(config_file)}` will be deleted. Do you want to continue? (y/n)") diff --git a/multiversx_sdk_cli/docker.py b/multiversx_sdk_cli/docker.py index b14e9ef2..02deb8bb 100644 --- a/multiversx_sdk_cli/docker.py +++ b/multiversx_sdk_cli/docker.py @@ -18,7 +18,7 @@ def is_docker_installed(): return True else: return False - except: + except Exception: logger.error("Something went wrong when checking if docker is installed!") diff --git a/multiversx_sdk_cli/ledger/ledger_app_handler.py b/multiversx_sdk_cli/ledger/ledger_app_handler.py index dde814ec..2ec9e955 100644 --- a/multiversx_sdk_cli/ledger/ledger_app_handler.py +++ b/multiversx_sdk_cli/ledger/ledger_app_handler.py @@ -30,7 +30,7 @@ class LedgerApp: def __init__(self): try: self.transport = Transport(interface="hid", debug=False) # Nano S/X using HID interface - except: + except Exception: raise LedgerError(CONNECTION_ERROR_MSG) def close(self): diff --git a/multiversx_sdk_cli/localnet/config_part.py b/multiversx_sdk_cli/localnet/config_part.py index e2df004f..cccdd17f 100644 --- a/multiversx_sdk_cli/localnet/config_part.py +++ b/multiversx_sdk_cli/localnet/config_part.py @@ -24,8 +24,8 @@ def _validate_overriding_entries(self, overriding: Dict[str, Any]) -> None: if unknown_entries: logger.error(f"""\ -Unknown localnet configuration entries: {unknown_entries}. -Please check the configuration of the localnet. +Unknown localnet configuration entries: {unknown_entries}. +Please check the configuration of the localnet. For "{self.get_name()}", the allowed entries are: {allowed_entries}.""") raise UnknownConfigurationError(f"Unknown localnet configuration entries: {unknown_entries}") diff --git a/multiversx_sdk_cli/simulation.py b/multiversx_sdk_cli/simulation.py index a6b1bbd4..bd5c41c6 100644 --- a/multiversx_sdk_cli/simulation.py +++ b/multiversx_sdk_cli/simulation.py @@ -1,5 +1,6 @@ from collections import OrderedDict from typing import Any, Dict, Protocol + from multiversx_sdk_cli.interfaces import ISimulateResponse, ITransaction from multiversx_sdk_cli.utils import ISerializable @@ -19,6 +20,7 @@ def to_dictionary(self) -> Dict[str, Any]: return dictionary + class Simulator(): def __init__(self, proxy: INetworkProvider) -> None: self.proxy = proxy diff --git a/multiversx_sdk_cli/tests/local_verify_server.py b/multiversx_sdk_cli/tests/local_verify_server.py index 010177c3..dbc989ab 100644 --- a/multiversx_sdk_cli/tests/local_verify_server.py +++ b/multiversx_sdk_cli/tests/local_verify_server.py @@ -1,5 +1,5 @@ -from http.server import HTTPServer, BaseHTTPRequestHandler import json +from http.server import BaseHTTPRequestHandler, HTTPServer HOST = 'localhost' PORT = 7777 @@ -14,7 +14,7 @@ def do_POST(self): if self.path == "/initialise": response = {'token': 7890} self.wfile.write(bytes(json.dumps(response), 'utf-8')) - + if self.path == "/verify": response = {'status': 'sent to verification'} self.wfile.write(bytes(json.dumps(response), 'utf-8')) diff --git a/multiversx_sdk_cli/validators/__init__.py b/multiversx_sdk_cli/validators/__init__.py index c66ffcba..74a11e54 100644 --- a/multiversx_sdk_cli/validators/__init__.py +++ b/multiversx_sdk_cli/validators/__init__.py @@ -1,16 +1,11 @@ -from multiversx_sdk_cli.validators.core import (prepare_args_for_change_reward_address, - prepare_args_for_claim, - prepare_args_for_stake, - prepare_args_for_unbond, - prepare_args_for_unjail, - prepare_args_for_unstake, - prepare_args_for_unstake_nodes, - prepare_args_for_unstake_tokens, - prepare_args_for_unbond_tokens, - prepare_args_for_unbond_nodes, - prepare_args_for_clean_registered_data, - prepare_args_for_restake_unstaked_nodes) - +from multiversx_sdk_cli.validators.core import ( + prepare_args_for_change_reward_address, prepare_args_for_claim, + prepare_args_for_clean_registered_data, + prepare_args_for_restake_unstaked_nodes, prepare_args_for_stake, + prepare_args_for_unbond, prepare_args_for_unbond_nodes, + prepare_args_for_unbond_tokens, prepare_args_for_unjail, + prepare_args_for_unstake, prepare_args_for_unstake_nodes, + prepare_args_for_unstake_tokens) from multiversx_sdk_cli.validators.validators_file import ValidatorsFile __all__ = ["prepare_args_for_stake", diff --git a/multiversx_sdk_cli/version.py b/multiversx_sdk_cli/version.py index fa7c33f3..df09e4ce 100644 --- a/multiversx_sdk_cli/version.py +++ b/multiversx_sdk_cli/version.py @@ -9,7 +9,7 @@ def get_version() -> str: try: # Works for local development return _get_version_from_pyproject() - except Exception as error: + except Exception: try: # Works for the installed package return _get_version_from_metadata() From 8d4e014e2f919b8428c539e8cb6dbabaebdf7819 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 15:10:32 +0300 Subject: [PATCH 07/11] update requirements --- pyproject.toml | 4 ++-- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ac423476..33a016c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,13 +21,13 @@ classifiers = [ dependencies = [ "toml>=0.10.2", - "requests", + "requests>=2.32.0,<3.0.0", "prettytable", "ledgercomm[hid]", "semver", "requests-cache", "rich==13.3.4", - "multiversx-sdk>=0.9.2,<1.0.0", + "multiversx-sdk==0.13.0", "argcomplete==3.2.2" ] diff --git a/requirements.txt b/requirements.txt index c6f46432..2048553c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ toml>=0.10.2 types-toml -requests~=2.31.0 +requests>=2.32.0,<3.0.0 types-requests prettytable types-prettytable @@ -10,4 +10,4 @@ requests-cache rich==13.3.4 argcomplete==3.2.2 -multiversx-sdk>=0.9.2,<1.0.0 +multiversx-sdk==0.13.0 From eea5966076a030a3f925c4e9f45884605bc454f7 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 16:00:45 +0300 Subject: [PATCH 08/11] revert alteration of installing sc-meta dependencies --- multiversx_sdk_cli/dependencies/modules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multiversx_sdk_cli/dependencies/modules.py b/multiversx_sdk_cli/dependencies/modules.py index 7db8c1a5..6e778f44 100644 --- a/multiversx_sdk_cli/dependencies/modules.py +++ b/multiversx_sdk_cli/dependencies/modules.py @@ -10,7 +10,7 @@ myprocess, utils, workstation) from multiversx_sdk_cli.dependencies.resolution import ( DependencyResolution, get_dependency_resolution) -from multiversx_sdk_cli.ux import show_message, show_warning +from multiversx_sdk_cli.ux import show_warning logger = logging.getLogger("modules") @@ -241,7 +241,7 @@ def install(self, overwrite: bool) -> None: self._install_sc_meta() self._install_wasm_opt() self._install_twiggy() - show_message("Please also install all the necessary dependencies required for `sc-meta` to run properly bu running the following command: `sc-meta install all`.") + self._install_sc_meta_deps() def _check_install_env(self, apply_correction: bool = True): """ From 2a4fbbe777215d62ae2b6e69a372a0c4f072fe49 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 16:04:06 +0300 Subject: [PATCH 09/11] show message to install sc-meta deps --- multiversx_sdk_cli/dependencies/modules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multiversx_sdk_cli/dependencies/modules.py b/multiversx_sdk_cli/dependencies/modules.py index 6e778f44..10bd5c05 100644 --- a/multiversx_sdk_cli/dependencies/modules.py +++ b/multiversx_sdk_cli/dependencies/modules.py @@ -10,7 +10,7 @@ myprocess, utils, workstation) from multiversx_sdk_cli.dependencies.resolution import ( DependencyResolution, get_dependency_resolution) -from multiversx_sdk_cli.ux import show_warning +from multiversx_sdk_cli.ux import show_message, show_warning logger = logging.getLogger("modules") @@ -241,7 +241,7 @@ def install(self, overwrite: bool) -> None: self._install_sc_meta() self._install_wasm_opt() self._install_twiggy() - self._install_sc_meta_deps() + show_message("Please also install all the necessary dependencies required for `sc-meta` to run properly by running the following command: `sc-meta install all`.") def _check_install_env(self, apply_correction: bool = True): """ From ce3892db37f68e27705dbf70b0914a0f452e4d21 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Tue, 17 Sep 2024 17:01:39 +0300 Subject: [PATCH 10/11] deprecate report command --- multiversx_sdk_cli/cli_contracts.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/multiversx_sdk_cli/cli_contracts.py b/multiversx_sdk_cli/cli_contracts.py index ab711caf..b9a76122 100644 --- a/multiversx_sdk_cli/cli_contracts.py +++ b/multiversx_sdk_cli/cli_contracts.py @@ -21,7 +21,7 @@ from multiversx_sdk_cli.interfaces import IAddress from multiversx_sdk_cli.projects.core import get_project_paths_recursively from multiversx_sdk_cli.projects.templates import Contract -from multiversx_sdk_cli.ux import show_message +from multiversx_sdk_cli.ux import show_message, show_warning logger = logging.getLogger("cli.contracts") @@ -302,10 +302,15 @@ def build(args: Any): def do_report(args: Any): + deprecation_message = "`mxpy contract report` is deprecated. Please use `sc-meta report` instead." + logger.warning(deprecation_message) + check_if_rust_is_installed() args_dict = args.__dict__ projects.do_report(args, args_dict) + show_warning(deprecation_message) + def run_tests(args: Any): check_if_rust_is_installed() From 4ceac173da797b2af9a977e93d25b18c0c4b0a5d Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Wed, 18 Sep 2024 09:43:54 +0300 Subject: [PATCH 11/11] change message --- multiversx_sdk_cli/dependencies/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiversx_sdk_cli/dependencies/modules.py b/multiversx_sdk_cli/dependencies/modules.py index 10bd5c05..3455b24d 100644 --- a/multiversx_sdk_cli/dependencies/modules.py +++ b/multiversx_sdk_cli/dependencies/modules.py @@ -241,7 +241,7 @@ def install(self, overwrite: bool) -> None: self._install_sc_meta() self._install_wasm_opt() self._install_twiggy() - show_message("Please also install all the necessary dependencies required for `sc-meta` to run properly by running the following command: `sc-meta install all`.") + show_message("To ensure sc-meta functions correctly, please install all the required dependencies by executing the following command: `sc-meta install all`.") def _check_install_env(self, apply_correction: bool = True): """