Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,15 @@ 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"
# Same pinned image the CLI starts; the floating `testing` tag can move
# to an RPC that no longer simulates this protocol.
IMAGE_TAG=$(sed -n 's/^pub const LOCAL_IMAGE_TAG: &str = "\(.*\)";/\1/p' crates/stellar-scaffold-cli/src/commands/build/docker.rs)
if [ -z "$IMAGE_TAG" ]; then
echo "Could not read LOCAL_IMAGE_TAG from docker.rs" >&2
exit 1
fi
echo "Starting local network at protocol $PROTOCOL_VERSION with quickstart:$IMAGE_TAG"
stellar container start local --protocol-version "$PROTOCOL_VERSION" --image-tag-override "$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" \
Expand Down
29 changes: 9 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions crates/stellar-scaffold-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ reqwest = { workspace = true, default-features = false, features = [
async-trait = "0.1"
thiserror = "2.0.17"
serde = "1.0.228"
serde_json = "1.0.149"
serde_json = { version = "1.0.149", features = ["preserve_order"] }

tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1", features = ["io-util"] }
Expand All @@ -63,7 +63,6 @@ heck = "0.5.0"
hex = "0.4.3"
shlex = "1.1.0"
toml = { version = "0.9", features = ["parse", "preserve_order"] }
serde_yaml = "0.9"
semver = { version = "1", features = ["serde"] }
rand = "0.8.5"
notify = "8.2.0"
Expand All @@ -76,7 +75,7 @@ tempfile = "3.27"
fs_extra = "1.3"
webbrowser = "1.2.1"
strsim = "0.11"
serde-saphyr = { version = "1.3", default-features = false, features = ["deserialize"] }
serde-saphyr = { version = "1.3", default-features = false, features = ["deserialize", "serialize"] }

# Cross-compiled release targets (musl via `cross`, freebsd via a foreign
# sysroot) have no system OpenSSL or libdbus available to link against. The
Expand Down
Loading
Loading