From ff515331222367dca20e62fed17fc26be9622a9d Mon Sep 17 00:00:00 2001 From: pselle Date: Tue, 13 Oct 2026 12:59:46 -0400 Subject: [PATCH] ci: pin the quickstart image for RPC tests The floating `testing` tag moved to an RPC that no longer simulates protocol 27, so contract uploads in the integration tests fail with `HostError: Error(Context, InternalError)`. Start the local network from the same pinned tag stellar-scaffold/cli uses (stellar-scaffold/cli#614). Co-Authored-By: Claude --- .github/workflows/tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2733f11..f9e15e0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -99,6 +99,11 @@ jobs: STELLAR_NETWORK_PASSPHRASE: "Standalone Network ; February 2017" STELLAR_ACCOUNT: default STELLAR_CONTRACT_ID: core + # The floating `testing` tag moves to new RPC releases, which only + # simulate the current and previous protocol. Pin an image that still + # simulates the protocol the stellar-cli pin targets; bump it alongside + # that pin. Same tag as stellar-scaffold/cli's LOCAL_IMAGE_TAG. + QUICKSTART_IMAGE_TAG: v672-b1475.1-testing steps: - uses: actions/checkout@v6 - uses: taiki-e/install-action@just @@ -115,8 +120,8 @@ jobs: echo "Could not derive protocol version from stellar-cli pin in Cargo.toml" >&2 exit 1 fi - echo "Starting local network at protocol $PROTOCOL_VERSION" - stellar container start local --protocol-version "$PROTOCOL_VERSION" + echo "Starting local network at protocol $PROTOCOL_VERSION with quickstart:$QUICKSTART_IMAGE_TAG" + stellar container start local --protocol-version "$PROTOCOL_VERSION" --image-tag-override "$QUICKSTART_IMAGE_TAG" echo "Waiting for RPC + friendbot to become healthy..." for _ in $(seq 1 50); do if curl --no-progress-meter --fail-with-body -X POST "http://localhost:8000/soroban/rpc" \