Skip to content
Open
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
12 changes: 12 additions & 0 deletions .changeset/strict-corners-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@orca-so/rust-tx-sender": major
"@orca-so/whirlpools-rust": major
"@orca-so/whirlpools-rust-client": major
"@orca-so/whirlpools-example-rust-repositioning-bot": minor
"@orca-so/whirlpools-rust-integration": minor
"@orca-so/whirlpools-example-ts-next": patch
"@orca-so/whirlpools-rust-core": patch
"@orca-so/whirlpools-docs-rust": patch
---

Update solana rust dependencies from v2 to v3. Fix some compilation warnings.
2 changes: 1 addition & 1 deletion .github/actions/anchor/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
required: false
rustc-version:
description: 'The version of rustc to use.'
default: 'v1.84.0'
default: 'v1.86.0'
node-version:
description: 'The version of node to use.'
default: 'v22.8.0'
Expand Down
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ updates:
applies-to: version-updates
patterns:
- "@docusaurus/*"
solana-v1:
applies-to: version-updates
patterns:
- "@solana/web3.js"
- "@solana/spl-token"
- "@coral-xyz/*"
solana-v2-core:
applies-to: version-updates
patterns:
Expand Down
29 changes: 16 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:

yarn-install:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand All @@ -28,7 +28,7 @@ services:

build-ts-sdk:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand All @@ -53,7 +53,7 @@ services:

build-legacy-sdk:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand All @@ -75,7 +75,7 @@ services:

build-rust-sdk:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "rustup component add clippy rustfmt
Expand All @@ -95,7 +95,7 @@ services:

build-integration:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand All @@ -116,7 +116,7 @@ services:

build-docs:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand All @@ -141,7 +141,7 @@ services:

build-examples:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand Down Expand Up @@ -189,7 +189,7 @@ services:

test-program:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
cargo test -p whirlpool
Expand Down Expand Up @@ -225,7 +225,7 @@ services:

test-ts-sdk:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand All @@ -250,10 +250,13 @@ services:

test-rust-sdk:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "cp legacy-sdk/whirlpool/tests/external_program/token_2022.20250510.so target/deploy/
sh -c "apt-get update
&& DEBIAN_FRONTEND=noninteractive apt-get install -y pkg-config libudev-dev
&& rm -rf /var/lib/apt/lists/*
&& cp legacy-sdk/whirlpool/tests/external_program/token_2022.20250510.so target/deploy/
&& cargo test --quiet --manifest-path rust-sdk/macros/Cargo.toml --lib
&& cargo test --quiet --manifest-path rust-sdk/core/Cargo.toml --lib
&& cargo test --quiet --manifest-path rust-sdk/client/Cargo.toml --lib
Expand All @@ -267,7 +270,7 @@ services:
- ./:/usr/src/whirlpools

test-integration:
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand Down Expand Up @@ -320,7 +323,7 @@ services:

lint:
platform: linux/amd64
image: rust:1.84.0
image: rust:1.86.0
working_dir: /usr/src/whirlpools
command: >
sh -c "curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
Expand Down
Loading