From 99ffc3c609e362e33ee9cf9d138829ef34487648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 3 Jan 2024 21:21:44 +0200 Subject: [PATCH 1/8] Bump version. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fd2e3ac..36a95ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 # Constants -ARG BUILDER_NAME="multiversx/sdk-rust-contract-builder:v5.4.0" +ARG BUILDER_NAME="multiversx/sdk-rust-contract-builder:v5.4.1" ARG VERSION_RUST="nightly-2023-05-26" ARG VERSION_BINARYEN="version_112" ARG DOWNLOAD_URL_BINARYEN="https://github.com/WebAssembly/binaryen/releases/download/${VERSION_BINARYEN}/binaryen-${VERSION_BINARYEN}-x86_64-linux.tar.gz" From 27c7cb1a3747d905d370023efa2d0b03c8e2bf6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 10 Jan 2024 23:09:37 +0200 Subject: [PATCH 2/8] Do not exclude "meta/Cargo.lock" (important if the project is not a Cargo workspace). --- multiversx_sdk_rust_contract_builder/source_code.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/multiversx_sdk_rust_contract_builder/source_code.py b/multiversx_sdk_rust_contract_builder/source_code.py index ce21b15..cb8ec5c 100644 --- a/multiversx_sdk_rust_contract_builder/source_code.py +++ b/multiversx_sdk_rust_contract_builder/source_code.py @@ -61,8 +61,6 @@ def get_source_code_files( def _is_source_code_file(path: Path) -> bool: if path.suffix == ".rs": return True - if path.parent.name == "meta" and path.name == "Cargo.lock": - return False if path.name in ["Cargo.toml", "Cargo.lock", "multicontract.toml", "sc-config.toml", CONTRACT_CONFIG_FILENAME]: return True return False From ed3e0d6ed11f3485969dcdff9166554ce4a6967d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 10 Jan 2024 23:10:40 +0200 Subject: [PATCH 3/8] The whole packaged source code is the default one. The partial one now of secondary importance, exotic, less promoted. --- .../build_outcome.py | 1 + multiversx_sdk_rust_contract_builder/builder.py | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/multiversx_sdk_rust_contract_builder/build_outcome.py b/multiversx_sdk_rust_contract_builder/build_outcome.py index 8c7be03..d6cf911 100644 --- a/multiversx_sdk_rust_contract_builder/build_outcome.py +++ b/multiversx_sdk_rust_contract_builder/build_outcome.py @@ -70,6 +70,7 @@ def many_from_folders(cls, build_folder: Path, output_folder: Path) -> Dict[str, entry.codehash = find_file_in_folder(output_folder, f"{contract_name}.codehash.txt").read_text() entry.bytecode_path = BuildArtifact.find_in_output(f"{contract_name}.wasm", output_folder) entry.abi_path = BuildArtifact.find_in_output(f"{contract_name}.abi.json", output_folder) + # This is the whole project source code. The file *.partial.source.json is not listed here - so that it's advertised as little as possible. entry.src_package_path = BuildArtifact.find_in_output("*.source.json", output_folder) result[contract_name] = entry diff --git a/multiversx_sdk_rust_contract_builder/builder.py b/multiversx_sdk_rust_contract_builder/builder.py index 0ff3cc8..01db068 100644 --- a/multiversx_sdk_rust_contract_builder/builder.py +++ b/multiversx_sdk_rust_contract_builder/builder.py @@ -75,13 +75,23 @@ def build_project( # The bundle (packaged source code) is created after build, so that Cargo.lock files are included (if previously missing). create_packaged_source_code( parent_project_folder=project_within_build_folder, - package_whole_project_src=package_whole_project_src, + package_whole_project_src=True, contract_folder=contract_build_subfolder, output_folder=output_subfolder, build_metadata=metadata.to_dict(), build_options=options.to_dict(), + package_filename=f"{contract_name}-{contract_version}.source.json" ) + create_packaged_source_code( + parent_project_folder=project_within_build_folder, + package_whole_project_src=False, + contract_folder=contract_build_subfolder, + output_folder=output_subfolder, + build_metadata=metadata.to_dict(), + build_options=options.to_dict(), + package_filename=f"{contract_name}-{contract_version}.partial.source.json" + ) outcome.gather_artifacts(contract_build_subfolder, output_subfolder) return outcome @@ -168,7 +178,8 @@ def create_packaged_source_code( contract_folder: Path, output_folder: Path, build_metadata: Dict[str, Any], - build_options: Dict[str, Any] + build_options: Dict[str, Any], + package_filename: str ): source_code_files = source_code.get_source_code_files( project_folder=parent_project_folder, @@ -185,7 +196,7 @@ def create_packaged_source_code( ) package = PackagedSourceCode.from_filesystem(metadata, parent_project_folder, source_code_files) - package_path = output_folder / f"{contract_name}-{contract_version}.source.json" + package_path = output_folder / package_filename package.save_to_file(package_path) size_of_file = package_path.stat().st_size From 922f31d3b0a1772dd8d3bc423214d3d5b93b2600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 10 Jan 2024 23:31:23 +0200 Subject: [PATCH 4/8] Do not use flag anymore - not possible to switch between partial and whole packaged source code anymore. --- build_with_docker.py | 6 +----- integration_tests/shared.py | 4 ---- .../test_previous_builds_are_reproducible.py | 1 - ...t_project_folder_and_packaged_src_are_equivalent.py | 10 ++-------- multiversx_sdk_rust_contract_builder/build_options.py | 5 ++--- multiversx_sdk_rust_contract_builder/builder.py | 6 +----- 6 files changed, 6 insertions(+), 26 deletions(-) diff --git a/build_with_docker.py b/build_with_docker.py index e56da1d..b639fc8 100644 --- a/build_with_docker.py +++ b/build_with_docker.py @@ -20,7 +20,7 @@ def main(cli_args: List[str]): parser.add_argument("--packaged-src", type=str, help="source code packaged in a JSON file") parser.add_argument("--contract", type=str) parser.add_argument("--output", type=str, default=Path(os.getcwd()) / "output") - parser.add_argument("--package-whole-project-src", action="store_true", default=False, help="include all project files in *.source.json (default: %(default)s)") + parser.add_argument("--package-whole-project-src", action="store_true", default=False, help="deprecated parameter, not used anymore") parser.add_argument("--cargo-target-dir", help="deprecated parameter, not used anymore") parser.add_argument("--no-wasm-opt", action="store_true", default=False, help="do not optimize wasm files after the build (default: %(default)s)") parser.add_argument("--build-root", type=str, required=False, help="root path (within container) for the build (default: %(default)s)") @@ -35,7 +35,6 @@ def main(cli_args: List[str]): packaged_src_path = Path(parsed_args.packaged_src).expanduser().resolve() if parsed_args.packaged_src else None contract_path = parsed_args.contract output_path = Path(parsed_args.output).expanduser().resolve() - package_whole_project_src = parsed_args.package_whole_project_src no_wasm_opt = parsed_args.no_wasm_opt build_root = Path(parsed_args.build_root) if parsed_args.build_root else None cargo_verbose = parsed_args.cargo_verbose @@ -97,9 +96,6 @@ def main(cli_args: List[str]): if build_root: entrypoint_args.extend(["--build-root", str(build_root)]) - if package_whole_project_src: - entrypoint_args.append("--package-whole-project-src") - # Run docker container args = docker_general_args + docker_mount_args + docker_env_args + [image] + entrypoint_args logger.info(f"Running docker: {args}") diff --git a/integration_tests/shared.py b/integration_tests/shared.py index 678d143..54dcd0e 100644 --- a/integration_tests/shared.py +++ b/integration_tests/shared.py @@ -31,7 +31,6 @@ def download_packaged_src(json_url: str, name: str) -> Path: def run_docker( project_path: Optional[Path], - package_whole_project_src: bool, packaged_src_path: Optional[Path], contract_name: Optional[str], image: str, @@ -66,9 +65,6 @@ def run_docker( if project_path: entrypoint_args.extend(["--project", "project"]) - if package_whole_project_src: - entrypoint_args.append("--package-whole-project-src") - if packaged_src_path: entrypoint_args.extend(["--packaged-src", "packaged-src.json"]) diff --git a/integration_tests/test_previous_builds_are_reproducible.py b/integration_tests/test_previous_builds_are_reproducible.py index 020b730..5d142a3 100644 --- a/integration_tests/test_previous_builds_are_reproducible.py +++ b/integration_tests/test_previous_builds_are_reproducible.py @@ -41,7 +41,6 @@ def main(cli_args: List[str]): run_docker( project_path=project_path, - package_whole_project_src=False, packaged_src_path=packaged_src_path, contract_name=build.contract_name, image=build.docker_image, diff --git a/integration_tests/test_project_folder_and_packaged_src_are_equivalent.py b/integration_tests/test_project_folder_and_packaged_src_are_equivalent.py index 9be650a..b35de45 100644 --- a/integration_tests/test_project_folder_and_packaged_src_are_equivalent.py +++ b/integration_tests/test_project_folder_and_packaged_src_are_equivalent.py @@ -14,11 +14,8 @@ def main(cli_args: List[str]): project_path = download_project_repository(f"{repository_url}/archive/refs/tags/v{tag}.zip", archve_subfolder) project_path = project_path / archve_subfolder - # Only package_whole_project_src = True works. - # package_whole_project_src = False does not work, since a missing Cargo.lock at the workspace level leads to build errors. check_project_folder_and_packaged_src_are_equivalent( project_path=project_path, - package_whole_project_src=True, parent_output_folder=PARENT_OUTPUT_FOLDER, contracts=["adder", "multisig"], ) @@ -26,12 +23,11 @@ def main(cli_args: List[str]): def check_project_folder_and_packaged_src_are_equivalent( project_path: Path, - package_whole_project_src: bool, parent_output_folder: Path, contracts: List[str]): for contract in contracts: - output_using_project = parent_output_folder / "using-project" / contract / ("whole" if package_whole_project_src else "truncated") - output_using_packaged_src = parent_output_folder / "using-packaged-src" / contract / ("whole" if package_whole_project_src else "truncated") + output_using_project = parent_output_folder / "using-project" / contract + output_using_packaged_src = parent_output_folder / "using-packaged-src" / contract shutil.rmtree(output_using_project, ignore_errors=True) shutil.rmtree(output_using_packaged_src, ignore_errors=True) @@ -41,7 +37,6 @@ def check_project_folder_and_packaged_src_are_equivalent( run_docker( project_path=project_path, - package_whole_project_src=package_whole_project_src, packaged_src_path=None, contract_name=contract, image="sdk-rust-contract-builder:next", @@ -52,7 +47,6 @@ def check_project_folder_and_packaged_src_are_equivalent( run_docker( project_path=None, - package_whole_project_src=package_whole_project_src, packaged_src_path=packaged_src_path, contract_name=contract, image="sdk-rust-contract-builder:next", diff --git a/multiversx_sdk_rust_contract_builder/build_options.py b/multiversx_sdk_rust_contract_builder/build_options.py index 8455ef4..63a9624 100644 --- a/multiversx_sdk_rust_contract_builder/build_options.py +++ b/multiversx_sdk_rust_contract_builder/build_options.py @@ -6,13 +6,11 @@ class BuildOptions: def __init__( self, - package_whole_project_src: bool, specific_contract: str, cargo_target_dir: Path, no_wasm_opt: bool, build_root_folder: Path, ) -> None: - self.package_whole_project_src = package_whole_project_src self.specific_contract = specific_contract self.cargo_target_dir = cargo_target_dir self.no_wasm_opt = no_wasm_opt @@ -20,7 +18,8 @@ def __init__( def to_dict(self) -> Dict[str, Any]: return { - "packageWholeProjectSrc": self.package_whole_project_src, + # "packageWholeProjectSrc" is kept due to compatibility reasons. + "packageWholeProjectSrc": True, "specificContract": self.specific_contract, "cargoTargetDir": str(self.cargo_target_dir), "noWasmOpt": self.no_wasm_opt, diff --git a/multiversx_sdk_rust_contract_builder/builder.py b/multiversx_sdk_rust_contract_builder/builder.py index 01db068..48fa7d2 100644 --- a/multiversx_sdk_rust_contract_builder/builder.py +++ b/multiversx_sdk_rust_contract_builder/builder.py @@ -5,7 +5,7 @@ from pathlib import Path from typing import Any, Dict, List, Set -from multiversx_sdk_rust_contract_builder import cargo_toml, source_code +from multiversx_sdk_rust_contract_builder import source_code from multiversx_sdk_rust_contract_builder.build_metadata import BuildMetadata from multiversx_sdk_rust_contract_builder.build_options import BuildOptions from multiversx_sdk_rust_contract_builder.build_outcome import BuildOutcome @@ -31,7 +31,6 @@ def build_project( project_folder = project_folder.expanduser().resolve() parent_output_folder = parent_output_folder.expanduser().resolve() cargo_target_dir = options.cargo_target_dir.expanduser().resolve() - package_whole_project_src = options.package_whole_project_src no_wasm_opt = options.no_wasm_opt specific_contract = options.specific_contract build_root_folder = options.build_root_folder @@ -45,9 +44,6 @@ def build_project( # We copy the whole project folder to the build path, to ensure that all local dependencies are available. project_within_build_folder = copy_project_folder_to_build_folder(project_folder, build_root_folder) - if not package_whole_project_src: - cargo_toml.remove_dev_dependencies_sections_from_all(project_within_build_folder) - for contract_folder in sorted(contracts_folders): contract_name, contract_version = get_contract_name_and_version(contract_folder) logging.info(f"Contract = {contract_name}, version = {contract_version}") From 9089c4be633aea91ef810d537cda58f55913c6e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 10 Jan 2024 23:31:50 +0200 Subject: [PATCH 5/8] Dev dependencies not removed anymore. --- .../cargo_toml.py | 19 ------------------- multiversx_sdk_rust_contract_builder/main.py | 4 +--- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/multiversx_sdk_rust_contract_builder/cargo_toml.py b/multiversx_sdk_rust_contract_builder/cargo_toml.py index 6cd4f16..27ae161 100644 --- a/multiversx_sdk_rust_contract_builder/cargo_toml.py +++ b/multiversx_sdk_rust_contract_builder/cargo_toml.py @@ -1,12 +1,9 @@ -import logging import shutil from pathlib import Path from typing import Tuple import toml -from multiversx_sdk_rust_contract_builder.filesystem import get_all_files - def get_contract_name_and_version(contract_folder: Path) -> Tuple[str, str]: file = contract_folder / "Cargo.toml" @@ -21,19 +18,3 @@ def promote_cargo_lock_to_contract_folder(build_folder: Path, contract_folder: P from_path = build_folder / "wasm" / "Cargo.lock" to_path = contract_folder / "wasm" / "Cargo.lock" shutil.copy(from_path, to_path) - - -def remove_dev_dependencies_sections_from_all(folder: Path): - logging.info(f"remove_dev_dependencies_sections_from_all({folder})") - - all_files = get_all_files(folder, lambda file: file.name == "Cargo.toml") - for file in all_files: - remove_dev_dependencies_sections(file) - - -def remove_dev_dependencies_sections(file: Path): - data = toml.loads(file.read_text()) - - if "dev-dependencies" in data: - del data["dev-dependencies"] - file.write_text(toml.dumps(data)) diff --git a/multiversx_sdk_rust_contract_builder/main.py b/multiversx_sdk_rust_contract_builder/main.py index ebd7c58..755eefa 100644 --- a/multiversx_sdk_rust_contract_builder/main.py +++ b/multiversx_sdk_rust_contract_builder/main.py @@ -24,7 +24,7 @@ def main(cli_args: List[str]): parser = ArgumentParser() parser.add_argument("--project", type=str, required=False, help="source code folder (project)") - parser.add_argument("--package-whole-project-src", action="store_true", default=False, help="include all project files in *.source.json (default: %(default)s)") + parser.add_argument("--package-whole-project-src", action="store_true", default=False, help="deprecated parameter, not used anymore") parser.add_argument("--packaged-src", type=str, required=False, help="source code packaged in a JSON file") parser.add_argument("--contract", type=str, required=False, help="contract to build from within the source code folder; should be relative to the project path") parser.add_argument("--output", type=str, required=True) @@ -34,7 +34,6 @@ def main(cli_args: List[str]): parsed_args = parser.parse_args(cli_args) project_path = Path(parsed_args.project).expanduser().resolve() if parsed_args.project else None - package_whole_project_src = parsed_args.package_whole_project_src packaged_src_path = Path(parsed_args.packaged_src).expanduser().resolve() if parsed_args.packaged_src else None parent_output_folder = Path(parsed_args.output) specific_contract = parsed_args.contract @@ -55,7 +54,6 @@ def main(cli_args: List[str]): metadata = BuildMetadata.from_env() options = BuildOptions( - package_whole_project_src=package_whole_project_src, specific_contract=specific_contract, cargo_target_dir=cargo_target_dir, no_wasm_opt=no_wasm_opt, From 004503cf7077860b73c524e5fc35c8dc3084e720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Thu, 11 Jan 2024 12:13:46 +0200 Subject: [PATCH 6/8] Fix filenames. --- multiversx_sdk_rust_contract_builder/build_outcome.py | 2 +- multiversx_sdk_rust_contract_builder/builder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multiversx_sdk_rust_contract_builder/build_outcome.py b/multiversx_sdk_rust_contract_builder/build_outcome.py index d6cf911..7f7450b 100644 --- a/multiversx_sdk_rust_contract_builder/build_outcome.py +++ b/multiversx_sdk_rust_contract_builder/build_outcome.py @@ -70,7 +70,7 @@ def many_from_folders(cls, build_folder: Path, output_folder: Path) -> Dict[str, entry.codehash = find_file_in_folder(output_folder, f"{contract_name}.codehash.txt").read_text() entry.bytecode_path = BuildArtifact.find_in_output(f"{contract_name}.wasm", output_folder) entry.abi_path = BuildArtifact.find_in_output(f"{contract_name}.abi.json", output_folder) - # This is the whole project source code. The file *.partial.source.json is not listed here - so that it's advertised as little as possible. + # This is the whole project source code. The file *.partial-source.json is not listed here - so that it's advertised as little as possible. entry.src_package_path = BuildArtifact.find_in_output("*.source.json", output_folder) result[contract_name] = entry diff --git a/multiversx_sdk_rust_contract_builder/builder.py b/multiversx_sdk_rust_contract_builder/builder.py index 48fa7d2..6915b32 100644 --- a/multiversx_sdk_rust_contract_builder/builder.py +++ b/multiversx_sdk_rust_contract_builder/builder.py @@ -86,7 +86,7 @@ def build_project( output_folder=output_subfolder, build_metadata=metadata.to_dict(), build_options=options.to_dict(), - package_filename=f"{contract_name}-{contract_version}.partial.source.json" + package_filename=f"{contract_name}-{contract_version}.partial-source.json" ) outcome.gather_artifacts(contract_build_subfolder, output_subfolder) From af04dcac1df1fa30673f7506da83a75519d139dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Thu, 11 Jan 2024 12:14:55 +0200 Subject: [PATCH 7/8] Additional tests. --- .../workflows/run_long_integration_tests.yml | 2 +- integration_tests/previous_builds.py | 20 +++++++++++++++++-- ..._folder_and_packaged_src_are_equivalent.py | 10 +++++----- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run_long_integration_tests.yml b/.github/workflows/run_long_integration_tests.yml index a230dfc..13f1198 100644 --- a/.github/workflows/run_long_integration_tests.yml +++ b/.github/workflows/run_long_integration_tests.yml @@ -22,7 +22,7 @@ jobs: - name: Build run: | export PYTHONPATH=. - python ./integration_tests/test_previous_builds_are_reproducible.py --selected-builds "a.1" "a.2" "a.3" + python ./integration_tests/test_previous_builds_are_reproducible.py --selected-builds "a.1" "a.2" "a.3" "a.4" - name: Save artifacts uses: actions/upload-artifact@v3 diff --git a/integration_tests/previous_builds.py b/integration_tests/previous_builds.py index 757d05c..2f9c83f 100644 --- a/integration_tests/previous_builds.py +++ b/integration_tests/previous_builds.py @@ -59,6 +59,22 @@ def __init__(self, name: str, "multisig-view": "3993cf3fb5cd18102e2b8946ea1997f6f1cc512537f453265ba1afd7378fc0c6", "lottery-esdt": "e06b1a5c7fb71181a79e9be6b86d8ad154e5c2def4da6d2f0aa5266163823291" }, - docker_image="multiversx/sdk-rust-contract-builder:v5.4.0" - ) + docker_image="multiversx/sdk-rust-contract-builder:v5.4.1" + ), + PreviousBuild( + name="a.4", + project_archive_url="https://github.com/multiversx/mx-contracts-rs/archive/refs/tags/v0.45.2.1-reproducible.zip", + project_relative_path_in_archive="mx-contracts-rs-0.45.2.1-reproducible", + packaged_src_url=None, + contract_name=None, + expected_code_hashes={ + "adder": "384b680df7a95ebceca02ffb3e760a2fc288dea1b802685ef15df22ae88ba15b", + "multisig": "b82f074c02e308b80cfb7144d7dc959bfac73e14dc3291837fdd8b042a7739cf", + "multisig-full": "44a0eafb3bedfd671d1df586313f716924e2e4ef00ae7bf26df2c11eb4291389", + "multisig-view": "d3e8328d525fcf196bb5bb4ce0741d9146dccb475461a693c407cdfa02334789", + "lottery-esdt": "e06b1a5c7fb71181a79e9be6b86d8ad154e5c2def4da6d2f0aa5266163823291", + "ping-pong-egld": "9283ca2f077edf2704053f0973fdd1eb90ee871ddcd672f962de4ba4422df84b" + }, + docker_image="sdk-rust-contract-builder:next" + ), ] diff --git a/integration_tests/test_project_folder_and_packaged_src_are_equivalent.py b/integration_tests/test_project_folder_and_packaged_src_are_equivalent.py index b35de45..70afe6c 100644 --- a/integration_tests/test_project_folder_and_packaged_src_are_equivalent.py +++ b/integration_tests/test_project_folder_and_packaged_src_are_equivalent.py @@ -8,16 +8,16 @@ def main(cli_args: List[str]): - repository_url = "https://github.com/multiversx/mx-reproducible-contract-build-example-sc" - tag = "0.4.7" - archve_subfolder = f"mx-reproducible-contract-build-example-sc-{tag}" + repository_url = "https://github.com/multiversx/mx-contracts-rs" + tag = "0.45.2.1-reproducible" + archve_subfolder = f"mx-contracts-rs-{tag}" project_path = download_project_repository(f"{repository_url}/archive/refs/tags/v{tag}.zip", archve_subfolder) project_path = project_path / archve_subfolder check_project_folder_and_packaged_src_are_equivalent( project_path=project_path, parent_output_folder=PARENT_OUTPUT_FOLDER, - contracts=["adder", "multisig"], + contracts=["adder", "multisig", "lottery-esdt"], ) @@ -43,7 +43,7 @@ def check_project_folder_and_packaged_src_are_equivalent( output_folder=output_using_project ) - packaged_src_path = output_using_project / f"{contract}/{contract}-0.0.0.source.json" + packaged_src_path = next((output_using_project / contract).glob("*.source.json")) run_docker( project_path=None, From bf937dd0c142e5472ece413b049be9ea0c85019e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Thu, 11 Jan 2024 12:21:39 +0200 Subject: [PATCH 8/8] Adjust version. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 36a95ec..a4b5964 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 # Constants -ARG BUILDER_NAME="multiversx/sdk-rust-contract-builder:v5.4.1" +ARG BUILDER_NAME="multiversx/sdk-rust-contract-builder:v5.5.0" ARG VERSION_RUST="nightly-2023-05-26" ARG VERSION_BINARYEN="version_112" ARG DOWNLOAD_URL_BINARYEN="https://github.com/WebAssembly/binaryen/releases/download/${VERSION_BINARYEN}/binaryen-${VERSION_BINARYEN}-x86_64-linux.tar.gz"