Skip to content

Commit 0028237

Browse files
committedApr 15, 2024
solana: add network feature flags to dummy transfer hook program
1 parent dd8dbbd commit 0028237

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎.github/workflows/solana.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
9595
mkdir -p "${BPF_OUT_DIR}"
9696
97-
cargo build-sbf --features "mainnet"
98-
cargo test-sbf --features "mainnet"
97+
cargo build-sbf
98+
cargo test-sbf
9999
cargo test
100100
anchor-test:
101101
name: Anchor Test

‎solana/programs/dummy-transfer-hook/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ no-idl = []
1414
no-log-ix-name = []
1515
cpi = ["no-entrypoint"]
1616
default = []
17+
mainnet = []
18+
solana-devnet = []
19+
tilt-devnet = []
20+
tilt-devnet2 = [ "tilt-devnet" ]
1721

1822
[dependencies]
1923
anchor-lang.workspace = true

0 commit comments

Comments
 (0)