Skip to content

Commit

Permalink
Update rust, solana, anchor, metaplex versions.
Browse files Browse the repository at this point in the history
Note, due to compatibility issues between solana program test 1.17.* and anchor 0.29.0, solana-program-test is currently on a fork.
  • Loading branch information
dankelleher committed Dec 18, 2023
1 parent 513a77b commit fe223b9
Show file tree
Hide file tree
Showing 19 changed files with 2,247 additions and 1,532 deletions.
5 changes: 2 additions & 3 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# RUSTSEC-2020-0159 ignore as no upgrade path
# RUSTSEC-2020-0071 as dependency in RUSTSEC-2020-0159
# RUSTSEC-2022-0093 ed25519-dalek imported by latest version of solana

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
CARGO_TERM_COLOR: always
SOLANA_VERSION: '1.14.16'
SOLANA_VERSION: '1.17.12'

jobs:
build:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
SOLANA_VERSION: '1.14.16'
SOLANA_VERSION: '1.17.12'
RUST_TOOLCHAIN: stable

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

- name: Build dependencies
run: cargo +bpf build-bpf
run: cargo build-sbf

- name: Run bpf tests
run: cargo +bpf test-bpf
- name: Run sbf tests
run: cargo test-sbf
2 changes: 1 addition & 1 deletion Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ seeds = false
[programs.localnet]
nft_voter = "GnftV5kLjd67tvHpNGyodwWveEKivz3ZWvvE3Z4xi2iw"
gateway = "GgathUhdrCWRHowoRKACjgWhYHfxCEdBi5ViqYN6HVxk"
solana-gateway-program = "gatem74V238djXdzWnJf94Wo1DcnuGkfijbf3AuBhfs"
solana-gateway = "gatem74V238djXdzWnJf94Wo1DcnuGkfijbf3AuBhfs"

[registry]
url = "https://anchor.projectserum.com"
Expand Down

0 comments on commit fe223b9

Please sign in to comment.