From 3293fb1f0513056e29fed4d8476ccdb541dbcd75 Mon Sep 17 00:00:00 2001 From: Slava <20563034+veaceslavdoina@users.noreply.github.com> Date: Mon, 4 Nov 2024 08:37:33 +0200 Subject: [PATCH] Update Codex to latest release (#37) * Update Testnet Marketplace address (https://github.com/codex-storage/nim-codex/issues/983) * Update Codex to the latest release (https://github.com/codex-storage/nim-codex/issues/983) --- SETUP_HOME.md | 2 +- docker-compose.yaml | 2 +- forcodexers/run_host.sh | 2 +- scripts/utils.sh | 2 +- scripts/windows/download-online.bat | 2 +- scripts/windows/download.bat | 2 +- scripts/windows/run-client.bat | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SETUP_HOME.md b/SETUP_HOME.md index 135fce7..414474f 100644 --- a/SETUP_HOME.md +++ b/SETUP_HOME.md @@ -94,7 +94,7 @@ These options are required to join the testnet: - `--eth-private-key=FILE` - Set FILE to your private key file. - `--eth-provider=URL` - Set URL to the "Geth Public RPC" found [here](https://docs.codex.storage/networks/testnet) The marketplace address should default to the correct testnet deployment. You can override it with: - - `--marketplace-address=ADDR` - Set ADDR to `0x3F9Cf3F40F0e87d804B776D8403e3d29F85211f4` + - `--marketplace-address=ADDR` - Set ADDR to `0x5Bd66fA15Eb0E546cd26808248867a572cFF5706` The above options allow you to join the testnet, exchange data, and purchase storage in the network. If you wish to *sell storage space* to the network, you must include one additional argument: - `prover` - Tells the node we want to enable storage space selling diff --git a/docker-compose.yaml b/docker-compose.yaml index 76ecc3e..7f52478 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,7 +1,7 @@ services: # Codex Node codex: - image: codexstorage/nim-codex:0.1.7 + image: codexstorage/nim-codex:0.1.8 container_name: codex command: - codex diff --git a/forcodexers/run_host.sh b/forcodexers/run_host.sh index 0ffed48..241055a 100755 --- a/forcodexers/run_host.sh +++ b/forcodexers/run_host.sh @@ -17,7 +17,7 @@ BOOTSPR=$(curl http://localhost:8078/api/codex/v1/spr | cut -d '"' -f4) persistence \ --eth-private-key=eth.key \ --eth-provider=https://rpc.testnet.codex.storage \ - --marketplace-address=0x3F9Cf3F40F0e87d804B776D8403e3d29F85211f4 \ + --marketplace-address=0x5Bd66fA15Eb0E546cd26808248867a572cFF5706 \ prover \ & diff --git a/scripts/utils.sh b/scripts/utils.sh index e4db088..2b00a66 100755 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -2,7 +2,7 @@ # Variables NETWORK="${NETWORK:-testnet}" -VERSION="${VERSION:-v0.1.7}" +VERSION="${VERSION:-v0.1.8}" LOG_LEVEL="${LOG_LEVEL:-info}" DOWNLOAD="${DOWNLOAD}" diff --git a/scripts/windows/download-online.bat b/scripts/windows/download-online.bat index 9f43fa6..4c1c200 100644 --- a/scripts/windows/download-online.bat +++ b/scripts/windows/download-online.bat @@ -9,7 +9,7 @@ set "OS=windows" call :get_arch ARCH set "ARCHIVE_EXT=.zip" set "EXE_EXT=.exe" -set "VERSION=v0.1.7" +set "VERSION=v0.1.8" set "BASE_URL=https://github.com/codex-storage/nim-codex/releases/download/%VERSION%" set "EXTRACT_DIR=.\" set "BINARY_NAMES=codex" diff --git a/scripts/windows/download.bat b/scripts/windows/download.bat index 59dee00..3c1a2c4 100644 --- a/scripts/windows/download.bat +++ b/scripts/windows/download.bat @@ -9,7 +9,7 @@ set "OS=windows" call :get_arch ARCH set "ARCHIVE_EXT=.zip" set "EXE_EXT=.exe" -set "VERSION=v0.1.7" +set "VERSION=v0.1.8" set "BASE_URL=http://192.168.88.253:8080" set "EXTRACT_DIR=.\" set "BINARY_NAMES=codex" diff --git a/scripts/windows/run-client.bat b/scripts/windows/run-client.bat index 79c272c..5b8e3b5 100644 --- a/scripts/windows/run-client.bat +++ b/scripts/windows/run-client.bat @@ -44,7 +44,7 @@ if errorlevel 1 ( ) :: Set variables -set "VERSION=v0.1.7" +set "VERSION=v0.1.8" set "OS=windows" call :get_arch ARCH set "DATA_DIR=data_client"