Skip to content

Commit 2616f58

Browse files
committed
fix: Solana build issue
1 parent 8b7e4e8 commit 2616f58

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ solana-build: ENV = mainnet
5858
solana-build-dev solana-build:
5959
cd solana && \
6060
PROGRAM_ID=$$(solana address -k target/deploy/bridge_token_factory-keypair.json) && \
61-
RUSTUP_TOOLCHAIN="nightly-2026-01-08" anchor build --verifiable --env "PROGRAM_ID=$$PROGRAM_ID" -- --no-default-features --features $(ENV)
61+
RUSTUP_TOOLCHAIN="nightly-2026-01-08" anchor build --verifiable --program-name bridge_token_factory --env "PROGRAM_ID=$$PROGRAM_ID" -- --no-default-features --features $(ENV)
6262

6363
solana-build-ci:
6464
cd solana && \
6565
export PROGRAM_ID=dahPEoZGXfyV58JqqH85okdHmpN8U2q8owgPUXSCPxe && \
66-
RUSTUP_TOOLCHAIN="nightly-2026-01-08" anchor build --verifiable --env "PROGRAM_ID=$$PROGRAM_ID" -- --no-default-features --features mainnet
66+
RUSTUP_TOOLCHAIN="nightly-2026-01-08" anchor build --verifiable --program-name bridge_token_factory --env "PROGRAM_ID=$$PROGRAM_ID" -- --no-default-features --features mainnet
6767

6868
solana-deploy-dev: ENV = devnet
6969
solana-deploy: ENV = mainnet

solana/programs/bridge_token_factory/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ edition = "2021"
88
crate-type = ["cdylib", "lib"]
99
name = "bridge_token_factory"
1010

11+
[[test]]
12+
name = "mollusk"
13+
path = "tests/mollusk.rs"
14+
required-features = ["no-entrypoint"]
15+
1116
[features]
1217
default = ["mainnet"]
1318
cpi = ["no-entrypoint"]

0 commit comments

Comments
 (0)