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

Commit 9408cc0

Browse files
committed
Update rust, solana, anchor, metaplex versions.
Note, due to compatibility issues between solana program test 1.17.* and anchor 0.29.0, solana-program-test is currently on a fork.
1 parent 513a77b commit 9408cc0

File tree

19 files changed

+2249
-1534
lines changed

19 files changed

+2249
-1534
lines changed

.cargo/audit.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# RUSTSEC-2020-0159 ignore as no upgrade path
2-
# RUSTSEC-2020-0071 as dependency in RUSTSEC-2020-0159
1+
# RUSTSEC-2022-0093 ed25519-dalek imported by latest version of solana
32

43
[advisories]
5-
ignore = ["RUSTSEC-2020-0159", "RUSTSEC-2020-0071"] # advisory IDs to ignore e.g. ["RUSTSEC-2019-0001", ...]
4+
ignore = ["RUSTSEC-2022-0093"] # advisory IDs to ignore e.g. ["RUSTSEC-2019-0001", ...]
65
informational_warnings = ["unmaintained"] # warn for categories of informational advisories
76
severity_threshold = "medium" # CVSS severity ("none", "low", "medium", "high", "critical")
87

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
CARGO_TERM_COLOR: always
13-
SOLANA_VERSION: '1.14.16'
13+
SOLANA_VERSION: '1.17.12'
1414

1515
jobs:
1616
build:

.github/workflows/lint-test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11-
SOLANA_VERSION: '1.14.16'
11+
SOLANA_VERSION: '1.17.12'
1212
RUST_TOOLCHAIN: stable
1313

1414
jobs:
@@ -72,12 +72,12 @@ jobs:
7272
solana-keygen new -o "$HOME/.config/solana/id.json" --no-passphrase --silent
7373
7474
- name: Install BPF tools
75-
# Note: as a workaround for cargo build-bpf issue run it and ignore errors to install the BPF tools
75+
# Note: as a workaround for cargo build-sbf issue run it and ignore errors to install the BPF tools
7676
# https://github.com/solana-labs/solana/issues/26583
77-
run: cargo build-bpf || true
77+
run: cargo build-sbf || true
7878

7979
- name: Build dependencies
80-
run: cargo +bpf build-bpf
80+
run: cargo build-sbf
8181

82-
- name: Run bpf tests
83-
run: cargo +bpf test-bpf
82+
- name: Run sbf tests
83+
run: cargo test-sbf

Anchor.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
anchor_version = "0.26.0"
2-
solana_version = "1.14.16"
1+
anchor_version = "0.29.0"
2+
solana_version = "1.17.12"
33

44
[features]
55
seeds = false
66

77
[programs.localnet]
88
nft_voter = "GnftV5kLjd67tvHpNGyodwWveEKivz3ZWvvE3Z4xi2iw"
99
gateway = "GgathUhdrCWRHowoRKACjgWhYHfxCEdBi5ViqYN6HVxk"
10-
solana-gateway-program = "gatem74V238djXdzWnJf94Wo1DcnuGkfijbf3AuBhfs"
10+
solana-gateway = "gatem74V238djXdzWnJf94Wo1DcnuGkfijbf3AuBhfs"
1111

1212
[registry]
1313
url = "https://anchor.projectserum.com"

0 commit comments

Comments
 (0)