Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Commit 43ae9f0

Browse files
authored
solana: uptick anchor 0.30.0 (#114)
Co-authored-by: A5 Pickle <[email protected]>
1 parent 44ddafc commit 43ae9f0

File tree

47 files changed

+7569
-11611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+7569
-11611
lines changed

.github/workflows/solana-integration.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/solana.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: solana
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request: null
7+
8+
env:
9+
RUSTC_VERSION: 1.75.0
10+
jobs:
11+
cancel-previous-runs:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Cancel Previous Runs
15+
uses: styfle/[email protected]
16+
with:
17+
access_token: ${{ github.token }}
18+
make-cargo-test-all:
19+
name: make cargo-test-all
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Install toolchain
24+
uses: dtolnay/rust-toolchain@master
25+
with:
26+
toolchain: ${{ env.RUSTC_VERSION }}
27+
components: clippy, rustfmt
28+
- name: make cargo-test-all
29+
run: make cargo-test-all
30+
working-directory: ./solana
31+
make-lint:
32+
name: make lint
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v4
36+
- name: Install toolchain
37+
uses: dtolnay/rust-toolchain@master
38+
with:
39+
toolchain: ${{ env.RUSTC_VERSION }}
40+
components: clippy, rustfmt
41+
- name: make lint
42+
run: make lint
43+
working-directory: ./solana
44+
make-anchor-test:
45+
name: make anchor-test
46+
runs-on: ubuntu-latest
47+
# Anchor Docker image: https://www.anchor-lang.com/docs/verifiable-builds#images
48+
# container: backpackapp/build:v0.30.0
49+
steps:
50+
- uses: actions/checkout@v4
51+
- uses: metadaoproject/setup-anchor@v2
52+
with:
53+
node-version: "20.11.0"
54+
solana-cli-version: "1.18.11"
55+
anchor-version: "0.30.0"
56+
- name: Set default Rust toolchain
57+
run: rustup default stable
58+
working-directory: ./solana
59+
- name: make anchor-test
60+
run: make anchor-test
61+
working-directory: ./solana

.github/workflows/universal-rs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
rust: ["stable", "beta", "nightly", "1.68"] # MSRV
19+
rust: ["stable", "beta", "nightly", "1.75"] # MSRV
2020
steps:
2121
- uses: actions/checkout@v3
2222
- uses: dtolnay/rust-toolchain@master

solana/Anchor.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[toolchain]
2-
anchor_version = "0.29.0" # CLI
3-
solana_version = "1.16.27"
2+
anchor_version = "0.30.0" # CLI
3+
solana_version = "1.18.11"
44

55
[features]
6-
seeds = false
6+
resolution = false
77
skip-lint = false
88

99
[workspace]
@@ -37,7 +37,7 @@ test = "npx ts-mocha -p ./tsconfig.json -t 1000000 ts/tests/[0-9]*.ts"
3737
startup_wait = 20000
3838

3939
[test.validator]
40-
url = "https://api.mainnet-beta.solana.com"
40+
url = "https://api.devnet.solana.com"
4141

4242
### At 160 ticks/s, 64 ticks per slot implies that leader rotation and voting will happen
4343
### every 400 ms. A fast voting cadence ensures faster finality and convergence

0 commit comments

Comments
 (0)