File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
pyth-sdk-solana/test-contract Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,9 @@ borsh-derive = "0.9.0"
18
18
solana-program-test = " 1.8.1"
19
19
solana-client = " 1.8.1"
20
20
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" ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use test_contract::processor::process_instruction;
8
8
// Panics if running instruction fails
9
9
pub async fn test_instr_exec_ok ( instr : Instruction ) {
10
10
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) )
12
12
. start ( )
13
13
. await ;
14
14
let mut transaction = Transaction :: new_with_payer ( & [ instr] , Some ( & payer. pubkey ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments