@@ -4,8 +4,8 @@ use light_client::indexer::GetCompressedTokenAccountsByOwnerOrDelegateOptions;
44use light_compressed_claim:: instruction:: {
55 build_claim_and_decompress_instruction, compress, ClaimAccounts ,
66} ;
7- use light_ctoken_sdk :: constants:: { ACCOUNT_COMPRESSION_PROGRAM_ID , LIGHT_SYSTEM_PROGRAM_ID } ;
8- use light_ctoken_sdk :: spl_interface:: { get_spl_interface_pda, CreateSplInterfacePda } ;
7+ use light_token :: constants:: { ACCOUNT_COMPRESSION_PROGRAM_ID , LIGHT_SYSTEM_PROGRAM_ID } ;
8+ use light_token :: spl_interface:: { get_spl_interface_pda, CreateSplInterfacePda } ;
99use light_program_test:: accounts:: test_accounts:: NOOP_PROGRAM_ID ;
1010use light_program_test:: program_test:: TestRpc ;
1111use light_program_test:: { program_test:: LightProgramTest , Indexer , ProgramTestConfig , Rpc } ;
@@ -82,7 +82,7 @@ async fn test_claim_and_decompress() {
8282 . await
8383 . unwrap ( ) ;
8484
85- let spl_interface_pda = get_spl_interface_pda ( & mint. pubkey ( ) ) ;
85+ let spl_interface_pda = get_spl_interface_pda ( & mint. pubkey ( ) , false ) ;
8686 let accounts = ClaimAccounts {
8787 claimant : claimant. pubkey ( ) ,
8888 fee_payer : payer. pubkey ( ) ,
@@ -170,7 +170,7 @@ pub fn find_claimant_pda(claimant: Pubkey, mint: Pubkey, slot: u64) -> (Pubkey,
170170
171171pub async fn setup_token_pool ( rpc : & mut LightProgramTest , mint : & Keypair , payer : & Keypair ) {
172172 let create_spl_interface_pda_ix =
173- CreateSplInterfacePda :: new ( payer. pubkey ( ) , mint. pubkey ( ) , spl_token:: ID ) . instruction ( ) ;
173+ CreateSplInterfacePda :: new ( payer. pubkey ( ) , mint. pubkey ( ) , spl_token:: ID , false ) . instruction ( ) ;
174174 rpc. create_and_send_transaction ( & [ create_spl_interface_pda_ix] , & payer. pubkey ( ) , & [ & payer] )
175175 . await
176176 . unwrap ( ) ;
0 commit comments