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

Update rust, solana, anchor, metaplex versions. #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
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
6 changes: 3 additions & 3 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
anchor_version = "0.26.0"
solana_version = "1.14.16"
anchor_version = "0.29.0"
solana_version = "1.17.12"

[features]
seeds = false

[programs.localnet]
nft_voter = "GnftV5kLjd67tvHpNGyodwWveEKivz3ZWvvE3Z4xi2iw"
gateway = "GgathUhdrCWRHowoRKACjgWhYHfxCEdBi5ViqYN6HVxk"
solana-gateway-program = "gatem74V238djXdzWnJf94Wo1DcnuGkfijbf3AuBhfs"
solana-gateway = "gatem74V238djXdzWnJf94Wo1DcnuGkfijbf3AuBhfs"

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