From 6da1d3417584af3d0bd172e8537f084b998a19d7 Mon Sep 17 00:00:00 2001 From: Fusee Date: Wed, 13 Mar 2024 00:59:56 +0100 Subject: [PATCH 1/4] added amd64 lib cp --- containers/localnet/Dockerfile | 2 +- containers/localnet/run.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/containers/localnet/Dockerfile b/containers/localnet/Dockerfile index 5b7ea9e..e6024ec 100644 --- a/containers/localnet/Dockerfile +++ b/containers/localnet/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/gfusee/mx-testnet-docker:0.0.2 +FROM --platform=linux/amd64 ghcr.io/gfusee/mx-testnet-docker:0.0.2 STOPSIGNAL SIGTERM diff --git a/containers/localnet/run.sh b/containers/localnet/run.sh index 018a130..ba29029 100644 --- a/containers/localnet/run.sh +++ b/containers/localnet/run.sh @@ -25,6 +25,7 @@ setup() { # Workarounds because mxpy doesn't copy arm libs yet sudo cp /home/ubuntu/mx-chain-vm-go/wasmer2/libvmexeccapi.so /usr/lib/libvmexeccapi.so sudo cp /home/ubuntu/mx-chain-vm-go/wasmer2/libvmexeccapi_arm.so /usr/lib/libvmexeccapi_arm.so + sudo cp /home/ubuntu/mx-chain-vm-go/wasmer/libwasmer_linux_amd64.so /usr/lib/libwasmer_linux_amd64.so sudo cp /home/ubuntu/mx-chain-vm-go/wasmer/libwasmer_linux_arm64_shim.so /usr/lib/libwasmer_linux_arm64_shim.so cp read_result.py localnet/read_result.py From 1f577bdcba6a6af16444a4864192e6455078ea5c Mon Sep 17 00:00:00 2001 From: Fusee Date: Wed, 13 Mar 2024 02:00:21 +0100 Subject: [PATCH 2/4] wip: trace logs --- containers/localnet/replace_localnet_toml.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/containers/localnet/replace_localnet_toml.py b/containers/localnet/replace_localnet_toml.py index 59aa839..2937601 100644 --- a/containers/localnet/replace_localnet_toml.py +++ b/containers/localnet/replace_localnet_toml.py @@ -4,6 +4,9 @@ num_shards = sys.argv[1] toml_file_content = f""" +[general] +log_level = "*:TRACE" + [networking] port_proxy = 7950 From 275a3c7d13204a57b247a664aaece69871ddb587 Mon Sep 17 00:00:00 2001 From: Fusee Date: Wed, 13 Mar 2024 03:25:11 +0100 Subject: [PATCH 3/4] wip: trace logs --- containers/localnet/replace_localnet_toml.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/containers/localnet/replace_localnet_toml.py b/containers/localnet/replace_localnet_toml.py index 2937601..59aa839 100644 --- a/containers/localnet/replace_localnet_toml.py +++ b/containers/localnet/replace_localnet_toml.py @@ -4,9 +4,6 @@ num_shards = sys.argv[1] toml_file_content = f""" -[general] -log_level = "*:TRACE" - [networking] port_proxy = 7950 From aff14354a880f407b3fc4de5e2ca778aa3c7f415 Mon Sep 17 00:00:00 2001 From: Fusee Date: Wed, 13 Mar 2024 15:25:19 +0100 Subject: [PATCH 4/4] removed platform enforcement --- containers/localnet/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/localnet/Dockerfile b/containers/localnet/Dockerfile index e6024ec..5b7ea9e 100644 --- a/containers/localnet/Dockerfile +++ b/containers/localnet/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/amd64 ghcr.io/gfusee/mx-testnet-docker:0.0.2 +FROM ghcr.io/gfusee/mx-testnet-docker:0.0.2 STOPSIGNAL SIGTERM