From 7ac27a367d301d2b129098d0868454c3dd8b5f20 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Wed, 27 Sep 2023 18:25:31 +0200 Subject: [PATCH] fix: use newest quickstart --- .cargo/config.toml | 2 +- quickstart.sh | 3 ++- shared/contracts.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index c0c3a45..a5ec25d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,7 +1,7 @@ # paths = ["/path/to/override"] # path dependency overrides [alias] # command aliases -install_soroban = "install --git https://github.com/AhaLabs/soroban-tools --rev dc2a543993a293155516df52e79cc120cbd3dfe0 --root ./target soroban-cli --debug" +install_soroban = "install --git https://github.com/AhaLabs/soroban-tools --rev c7fb7e08ba8efa9828d9df863d991558f269e35b --root ./target soroban-cli --debug" b = "build --target wasm32-unknown-unknown --release" # c = "check" # t = "test" diff --git a/quickstart.sh b/quickstart.sh index 56829ed..c2a1bc3 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -19,7 +19,7 @@ esac # this is set to the quickstart `soroban-dev` image annointed as the release # for a given Soroban Release, it is captured on Soroban Releases - https://soroban.stellar.org/docs/reference/releases -QUICKSTART_SOROBAN_DOCKER_SHA=stellar/quickstart:testing@sha256:1c98f895f8b69cc843eeaa5230d67044dbeb390a5529d51dd7762d8ff685c3f8 +QUICKSTART_SOROBAN_DOCKER_SHA=stellar/quickstart:soroban-dev shift @@ -54,6 +54,7 @@ docker run -dti \ docker run --rm -ti \ --name stellar \ + --pull always \ --network soroban-network \ -p 8000:8000 \ "$QUICKSTART_SOROBAN_DOCKER_SHA" \ diff --git a/shared/contracts.ts b/shared/contracts.ts index e225f4e..60c8287 100644 --- a/shared/contracts.ts +++ b/shared/contracts.ts @@ -14,4 +14,4 @@ export const crowdfund = new Crowdfund.Contract({ ...Crowdfund.networks[network as keyof typeof Crowdfund.networks], }) -export const server = new Server(rpcUrl) +export const server = new Server(rpcUrl, { allowHttp: rpcUrl.startsWith('http:') })