Skip to content

docs: point the Uint8Array migration guide at SDK byte helpers #1653

docs: point the Uint8Array migration guide at SDK byte helpers

docs: point the Uint8Array migration guide at SDK byte helpers #1653

Workflow file for this run

name: e2e
on:
push:
branches: [main, release/**]
pull_request:
jobs:
test:
env:
NODE: "22"
name: Test contract.Client (${{ matrix.job }})
runs-on: ubuntu-22.04
strategy:
fail-fast: false
max-parallel: 2
matrix:
job: ["test:e2e"]
services:
rpc:
# This image runs core v27.1.0 (protocol 27) and stellar-rpc 27.1.1,
# which supports the `useUpgradedAuth` simulation flag (CAP-71) that
# use-upgraded-auth.test.ts exercises. guides_pr.yml pins its own
# digest — when bumping either workflow's image, check the other.
image: stellar/quickstart:testing@sha256:c8f1a95e43f5c0ff0b3d2ce6c3db008ccb0754ffa50175c4e0ef06b9d643b490
ports:
- 8000:8000
env:
ENABLE_LOGS: true
NETWORK: local
ENABLE_SOROBAN_RPC: true
PROTOCOL_VERSION: 27
options: >-
--health-cmd "curl --no-progress-meter --fail-with-body -X POST
\"http://localhost:8000/soroban/rpc\" -H 'Content-Type:
application/json' -d
'{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}' &&
curl --no-progress-meter \"http://localhost:8000/friendbot\" | grep
'\"invalid_field\": \"addr\"'" --health-interval 10s --health-timeout
5s --health-retries 50
steps:
- uses: actions/checkout@v7
with:
submodules: true
- name: Setup pnpm
uses: pnpm/action-setup@v6
- uses: actions/cache@v6
with:
path: |
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/setup-node@v7
with:
node-version: ${{ env.NODE }}
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- uses: stellar/stellar-cli@v27.1.0
# Install system dependencies required for Stellar CLI
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libdbus-1-dev pkg-config
- run: corepack enable
- run: rustup target add wasm32v1-none
- run: pnpm install --frozen-lockfile --network-concurrency 1
- run: pnpm exec playwright install
- run: pnpm exec playwright install-deps
- run: pnpm run build:prod
- run: pnpm run ${{ matrix.job }}