Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main in feat/next #446

Merged
merged 8 commits into from
Sep 19, 2024
2 changes: 1 addition & 1 deletion multiversx_sdk_cli/cli_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def setup_parser(args: List[str], subparsers: Any) -> Any:
_add_build_options_args(sub)
sub.add_argument("--docker-image", required=True, type=str,
help="the docker image tag used to build the contract")
sub.add_argument("--contract", type=str, help="relative path of the contract in the project")
sub.add_argument("--contract", type=str, help="contract to build (contract name, as found in Cargo.toml)")
sub.add_argument("--no-docker-interactive", action="store_true", default=False)
sub.add_argument("--no-docker-tty", action="store_true", default=False)
sub.add_argument("--no-default-platform", action="store_true", default=False,
Expand Down
10 changes: 2 additions & 8 deletions multiversx_sdk_cli/localnet/node_config_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,8 @@ def patch_config(data: ConfigDict, config: ConfigRoot):
data['EpochStartConfig'].update(epoch_start_config)

# Always use the latest VM
virtual_machine: Dict[str, Any] = dict()
virtual_machine['Execution'] = dict()
virtual_machine['Execution']['WasmVMVersions'] = [{'StartEpoch': 0, 'Version': '*'}]
virtual_machine['Querying'] = dict()
virtual_machine['Querying']['NumConcurrentVMs'] = 1
virtual_machine['Querying']['WasmVMVersions'] = [{'StartEpoch': 0, 'Version': '*'}]

data['VirtualMachine'].update(virtual_machine)
data['VirtualMachine']['Execution']['WasmVMVersions'] = [{'StartEpoch': 0, 'Version': '*'}]
data['VirtualMachine']['Querying']['WasmVMVersions'] = [{'StartEpoch': 0, 'Version': '*'}]


def patch_api(data: ConfigDict, config: ConfigRoot):
Expand Down
2 changes: 1 addition & 1 deletion multiversx_sdk_cli/localnet/step_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def new_config(configfile: Path):
configfile = configfile.expanduser().resolve()

if configfile.exists():
logger.warning(f"Configuration file already exists: {configfile}")
logger.info(f"Configuration file already exists: {configfile}")
return

config = ConfigRoot()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "multiversx-sdk-cli"
version = "9.6.0"
version = "9.6.2"
authors = [
{ name="MultiversX" },
]
Expand Down
Loading