@@ -8,7 +8,7 @@ use light_ctoken_interface::{
88 MintActionCompressedInstructionData ,
99 } ,
1010 state:: CompressedMintMetadata ,
11- CMINT_ADDRESS_TREE , COMPRESSED_TOKEN_PROGRAM_ID ,
11+ CMINT_ADDRESS_TREE , CTOKEN_PROGRAM_ID ,
1212} ;
1313use light_ctoken_sdk:: compressed_token:: {
1414 create_compressed_mint:: { derive_cmint_compressed_address, find_cmint_address} ,
@@ -158,7 +158,7 @@ async fn test_write_to_cpi_context_create_mint() {
158158
159159 // Build compressed token instruction
160160 let ctoken_instruction = Instruction {
161- program_id : Pubkey :: new_from_array ( COMPRESSED_TOKEN_PROGRAM_ID ) ,
161+ program_id : Pubkey :: new_from_array ( CTOKEN_PROGRAM_ID ) ,
162162 accounts : account_metas,
163163 data : data. clone ( ) ,
164164 } ;
@@ -170,7 +170,7 @@ async fn test_write_to_cpi_context_create_mint() {
170170 let wrapper_instruction = Instruction {
171171 program_id : WRAPPER_PROGRAM_ID ,
172172 accounts : vec ! [ AccountMeta :: new_readonly(
173- Pubkey :: new_from_array( COMPRESSED_TOKEN_PROGRAM_ID ) ,
173+ Pubkey :: new_from_array( CTOKEN_PROGRAM_ID ) ,
174174 false ,
175175 ) ]
176176 . into_iter ( )
@@ -279,7 +279,7 @@ async fn test_write_to_cpi_context_invalid_address_tree() {
279279
280280 // Build compressed token instruction
281281 let ctoken_instruction = Instruction {
282- program_id : Pubkey :: new_from_array ( COMPRESSED_TOKEN_PROGRAM_ID ) ,
282+ program_id : Pubkey :: new_from_array ( CTOKEN_PROGRAM_ID ) ,
283283 accounts : account_metas,
284284 data : data. clone ( ) ,
285285 } ;
@@ -291,7 +291,7 @@ async fn test_write_to_cpi_context_invalid_address_tree() {
291291 let wrapper_instruction = Instruction {
292292 program_id : WRAPPER_PROGRAM_ID ,
293293 accounts : vec ! [ AccountMeta :: new_readonly(
294- Pubkey :: new_from_array( COMPRESSED_TOKEN_PROGRAM_ID ) ,
294+ Pubkey :: new_from_array( CTOKEN_PROGRAM_ID ) ,
295295 false ,
296296 ) ]
297297 . into_iter ( )
@@ -371,7 +371,7 @@ async fn test_write_to_cpi_context_invalid_compressed_address() {
371371
372372 // Build compressed token instruction
373373 let ctoken_instruction = Instruction {
374- program_id : Pubkey :: new_from_array ( COMPRESSED_TOKEN_PROGRAM_ID ) ,
374+ program_id : Pubkey :: new_from_array ( CTOKEN_PROGRAM_ID ) ,
375375 accounts : account_metas,
376376 data : data. clone ( ) ,
377377 } ;
@@ -383,7 +383,7 @@ async fn test_write_to_cpi_context_invalid_compressed_address() {
383383 let wrapper_instruction = Instruction {
384384 program_id : WRAPPER_PROGRAM_ID ,
385385 accounts : vec ! [ AccountMeta :: new_readonly(
386- Pubkey :: new_from_array( COMPRESSED_TOKEN_PROGRAM_ID ) ,
386+ Pubkey :: new_from_array( CTOKEN_PROGRAM_ID ) ,
387387 false ,
388388 ) ]
389389 . into_iter ( )
@@ -466,7 +466,7 @@ async fn test_execute_cpi_context_invalid_tree_index() {
466466
467467 // Build compressed token instruction
468468 let execute_instruction = Instruction {
469- program_id : Pubkey :: new_from_array ( COMPRESSED_TOKEN_PROGRAM_ID ) ,
469+ program_id : Pubkey :: new_from_array ( CTOKEN_PROGRAM_ID ) ,
470470 accounts : account_metas,
471471 data : data. clone ( ) ,
472472 } ;
@@ -478,7 +478,7 @@ async fn test_execute_cpi_context_invalid_tree_index() {
478478 let execute_wrapper_instruction = Instruction {
479479 program_id : WRAPPER_PROGRAM_ID ,
480480 accounts : vec ! [ AccountMeta :: new_readonly(
481- Pubkey :: new_from_array( COMPRESSED_TOKEN_PROGRAM_ID ) ,
481+ Pubkey :: new_from_array( CTOKEN_PROGRAM_ID ) ,
482482 false ,
483483 ) ]
484484 . into_iter ( )
0 commit comments