Skip to content

Commit 8ac90ea

Browse files
willemnealclaude
andauthored
fix: align deps and struct shapes for stellar-cli 26.0.0 (#486)
* chore: update stellar-cli to v26.0.0 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix: tool-chain * fix: align deps and struct shapes for stellar-cli 26.0.0 Pin stellar-strkey to 0.0.15 and stellar-rpc-client to 26.0.0-rc.1 to match what soroban-cli 26.0.0 uses internally, eliminating duplicate- crate type mismatches. Update contract::build::Cmd and contract:: upload::Cmd literals to the 26.0.0 shape (meta/optimize moved into BuildArgs; upload's wasm is now Option<PathBuf> with new package and build_args fields). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(ci): clippy pedantic and locator::Args.global removal - Replace implicit-clone `to_string()` with `clone()` on `String` in build/clients.rs (id and resolved_line) and drop redundant `rpc_url().to_string()` in the integration test. - Drop `global` field from `locator::Args` literal — removed in soroban-cli 26.0.0. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(clean): pass --force to stellar keys rm stellar-cli 26.0.0 prompts for confirmation on `keys rm` and exits non-zero with "removal cancelled by user" when stdin is non-tty (as in CI subprocesses), so the account never gets removed and the "Removed account: alice" log line is never printed. Pass --force to skip the prompt. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d59711d commit 8ac90ea

15 files changed

Lines changed: 1160 additions & 303 deletions

File tree

.github/workflows/contract-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ jobs:
107107
echo "OUTPUT=$OUTPUT" >> $GITHUB_ENV
108108
109109
- name: Build contract
110-
uses: stellar/stellar-cli@v25.2.0
110+
uses: stellar/stellar-cli@v26.0.0
111111
with:
112-
version: "22.8.1"
112+
version: "26.0.0"
113113
- run: |
114114
# Navigate to the working directory
115115
cd ${WORK_DIR}

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: mozilla-actions/sccache-action@v0.0.9
4040
- name: Run cargo fmt
4141
run: cargo fmt --all -- --check
42-
- uses: stellar/stellar-cli@v25.2.0
42+
- uses: stellar/stellar-cli@v26.0.0
4343
- name: build since clippy needs contracts to be built
4444
run: just build
4545
- name: Run cargo clippy

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- uses: taiki-e/install-action@just
3737
- uses: taiki-e/install-action@nextest
3838
- uses: cargo-bins/cargo-binstall@main
39-
- uses: stellar/stellar-cli@v25.2.0
39+
- uses: stellar/stellar-cli@v26.0.0
4040
- uses: mozilla-actions/sccache-action@v0.0.9
4141
- run: just build
4242
- run: just build-cli-test-contracts
@@ -107,7 +107,7 @@ jobs:
107107
- uses: actions/checkout@v6
108108
- uses: taiki-e/install-action@just
109109
- uses: taiki-e/install-action@nextest
110-
- uses: stellar/stellar-cli@v25.2.0
110+
- uses: stellar/stellar-cli@v26.0.0
111111
- name: Download nextest archive
112112
uses: actions/download-artifact@v7
113113
with:

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Scaffold Stellar is a developer toolkit for building dApps and smart contracts o
1111
## Common Commands
1212

1313
```bash
14-
# Setup development environment (installs stellar-cli v23.3.0)
14+
# Setup development environment (installs stellar-cli v26.0.0)
1515
just setup
1616

1717
# Build contracts and optimize registry wasm

0 commit comments

Comments
 (0)