Skip to content

Commit c820041

Browse files
authored
chore: updated dependencies using latest versions (including betas) (#4317)
* updated dependency and solana CLI versions
1 parent 8efce5b commit c820041

File tree

11 files changed

+1450
-1088
lines changed

11 files changed

+1450
-1088
lines changed

.github/workflows/no-caching-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: ./.github/workflows/reusable-tests.yaml
1414
with:
1515
cache: false
16-
solana_version: 3.0.0
16+
solana_version: 3.1.10
1717
node_version: 20.18.0
1818
cargo_profile: release
1919
anchor_binary_name: anchor-binary-no-caching

.github/workflows/reusable-tests.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,11 @@ jobs:
374374
working-directory: /tmp
375375
run: anchor init --test-template ${{ matrix.template }} hello-anchor-${{ matrix.template }}
376376

377+
- name: Remove anchor-client dependency first to avoid conflicts
378+
if: ${{ matrix.template == 'rust' }}
379+
working-directory: /tmp/hello-anchor-${{ matrix.template }}
380+
run: cargo remove anchor-client --manifest-path tests/Cargo.toml
381+
377382
- name: Point anchor-lang to workspace
378383
working-directory: /tmp/hello-anchor-${{ matrix.template }}
379384
run: cargo add anchor-lang --manifest-path programs/hello-anchor-${{ matrix.template }}/Cargo.toml --path "$GITHUB_WORKSPACE/lang"

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: ./.github/workflows/reusable-tests.yaml
1919
with:
2020
cache: true
21-
solana_version: 3.0.0
21+
solana_version: 3.1.10
2222
node_version: 20.18.0
2323
cargo_profile: debug
2424
anchor_binary_name: anchor-binary

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ The minor version will be incremented upon a breaking change and the patch versi
1212

1313
### Features
1414

15+
- lang, cli, client: Updated solana dependencies to the latest compatible versions. Bumping CI and docker builds to use Solana CLI version 3.1.10 ([#4317](https://github.com/solana-foundation/anchor/pull/4317/))
16+
1517
### Fixes
1618

1719
- lang: Fix incorrect deserialization for dynamically sized types when using `lazy-account` ([#4319](https://github.com/solana-foundation/anchor/pull/4319))

0 commit comments

Comments
 (0)