Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions .github/workflows/solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ jobs:
runs-on: ubuntu-latest
env:
node-version: "20.11.0"
solana-cli-version: "1.18.26"
anchor-version: "0.29.0"
solana-cli-version: "2.1.0"
anchor-version: "0.31.1"
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2361,7 +2361,7 @@ export function ensureNttRoot(pwd: string = ".") {
}

function checkAnchorVersion() {
const expected = "0.29.0";
const expected = "0.31.1";
try {
execSync("which anchor");
} catch {
Expand Down
4 changes: 2 additions & 2 deletions solana/Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[toolchain]
anchor_version = "0.29.0"
solana_version = "1.18.26"
anchor_version = "0.31.1"
solana_version = "2.1.0"

[features]
seeds = false
Expand Down
14 changes: 7 additions & 7 deletions solana/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ cast_abs_to_unsigned = "deny"
wormhole-io = "0.1.3"
wormhole-solana-utils = "0.2.0-alpha.15"

anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
solana-program = "=1.18.26"
solana-program-runtime = "=1.18.26"
solana-program-test = "=1.18.26"
solana-address-lookup-table-program = "=1.18.26"
anchor-lang = "0.31.1"
anchor-spl = "0.31.1"
solana-program = "=2.1.0"
solana-program-runtime = "=2.1.0"
solana-program-test = "=2.1.0"
solana-address-lookup-table-program = "=2.1.0"
spl-token = "4.0.0"
spl-token-2022 = "3.0.2"

wormhole-anchor-sdk = { version = "0.29.0-alpha.1", default-features = false }
wormhole-anchor-sdk = { version = "0.30.1-alpha.3", default-features = false }
wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", rev = "eee4641" }
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", rev = "eee4641" }

Expand Down
2 changes: 1 addition & 1 deletion solana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Ensure that you are using the correct version of the Solana and Anchor CLI tools
```toml
[toolchain]
anchor_version = "0.29.0"
solana_version = "1.18.26"
solana_version = "2.1.0"
```

Install the toolchain listed in `rust-toolchain`. You can verify this by running:
Expand Down
4 changes: 2 additions & 2 deletions solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"tsx": "^4.7.2"
},
"dependencies": {
"@coral-xyz/anchor": "0.29.0",
"@coral-xyz/borsh": "0.29.0",
"@coral-xyz/anchor": "0.31.1",
"@coral-xyz/borsh": "0.31.1",
"@solana/spl-token": "0.4.0",
"@solana/web3.js": "^1.95.8",
"bn.js": "5.2.1",
Expand Down
2 changes: 1 addition & 1 deletion solana/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-10-29"
channel = "1.87.0"
profile = "minimal"
Loading