Skip to content

Commit eb7f5aa

Browse files
committed
Minor bugfix
1 parent 1b5366a commit eb7f5aa

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pyth-sdk-solana/test-contract/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ borsh-derive = "0.9.0"
1818
solana-program-test = "1.8.1"
1919
solana-client = "1.8.1"
2020
solana-sdk = "1.8.1"
21+
22+
[lib]
23+
crate-type = ["cdylib", "lib"]
24+
25+
[package.metadata.docs.rs]
26+
targets = ["x86_64-unknown-linux-gnu"]

pyth-sdk-solana/test-contract/tests/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use test_contract::processor::process_instruction;
88
// Panics if running instruction fails
99
pub async fn test_instr_exec_ok(instr: Instruction) {
1010
let (mut banks_client, payer, recent_blockhash) =
11-
ProgramTest::new("pyth_sdk_solana", id(), processor!(process_instruction))
11+
ProgramTest::new("test_contract", id(), processor!(process_instruction))
1212
.start()
1313
.await;
1414
let mut transaction = Transaction::new_with_payer(&[instr], Some(&payer.pubkey()));

0 commit comments

Comments
 (0)