From e7c81a388a0477d5f8035badb7b6e573b559601a Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Wed, 5 Apr 2023 20:24:23 +0100 Subject: [PATCH] Update to use soroban-cli v0.7.1 (#99) --- .github/workflows/nodejs.yml | 2 +- Dockerfile | 2 +- Makefile | 2 +- README.md | 2 +- docker/build.sh | 2 +- quickstart.sh | 5 ++--- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6092a88..4173d4f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -22,7 +22,7 @@ jobs: - uses: stellar/actions/rust-cache@main - run: rustup update - run: rustup target add wasm32-unknown-unknown - - run: cargo install --target-dir ~/.cargo/target --locked --version 0.6.0 soroban-cli + - run: cargo install --target-dir ~/.cargo/target --locked --version 0.7.1 soroban-cli - name: Use Node.js 17.x uses: actions/setup-node@v3 with: diff --git a/Dockerfile b/Dockerfile index 95971e5..b65ad24 100755 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ENV PATH="$PATH:/root/.cargo/bin" RUN rustup target add wasm32-unknown-unknown RUN apt install -y build-essential -RUN cargo install --locked --version 0.6.0 soroban-cli +RUN cargo install --locked --version 0.7.1 soroban-cli # WORKDIR / RUN mkdir /workspace WORKDIR /workspace diff --git a/Makefile b/Makefile index cbf2787..716d429 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ build-optimized: fmt done build-docker: - docker build . --tag soroban-preview:7 + docker build . --tag soroban-preview:8 check: fmt cargo clippy --all-targets diff --git a/README.md b/README.md index 19b35bb..7f9e176 100755 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ___ ### Dependencies -1. `soroban-cli v0.6.0`. See https://soroban.stellar.org/docs/getting-started/setup#install-the-soroban-cli +1. `soroban-cli v0.7.1`. See https://soroban.stellar.org/docs/getting-started/setup#install-the-soroban-cli 2. `docker` (both Standalone and Futurenet backends require it). 3. `Node.js v17` 4. `Freighter wallet v2.9.1`. Download it from https://github.com/stellar/freighter/releases/tag/2.9.1 and Enable "Experimental Mode" in the settings (gear icon). diff --git a/docker/build.sh b/docker/build.sh index 856bbe3..9892dba 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -2,6 +2,6 @@ # Build image and tag it with image name and version docker build . \ - --tag soroban-preview:7 \ + --tag soroban-preview:8 \ --force-rm \ --rm diff --git a/quickstart.sh b/quickstart.sh index 24a8821..8ec4735 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -44,15 +44,14 @@ docker run -dti \ -p 8001:8000 \ --ipc=host \ --network soroban-network \ - soroban-preview:7 + soroban-preview:8 # Run the stellar quickstart image docker run --rm -ti \ - --platform linux/amd64 \ --name stellar \ --network soroban-network \ -p 8000:8000 \ - stellar/quickstart:soroban-dev@sha256:3d14a36df8e7d3da899369f00231125d81745ab457076082d22eabc35c6de78e \ + stellar/quickstart:soroban-dev@sha256:a057ec6f06c6702c005693f8265ed1261e901b153a754e97cf18b0962257e872 \ $ARGS \ --enable-soroban-rpc \ --protocol-version 20 \