File tree Expand file tree Collapse file tree
program-tests/compressed-token-test/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3859,7 +3859,7 @@ async fn test_failing_decompression() {
38593859 & get_token_pool_pda ( & mint) ,
38603860 Some ( get_token_pool_pda ( & mint) ) ,
38613861 & mint,
3862- ErrorCode :: IsTokenPoolPda . into ( ) ,
3862+ anchor_lang :: error :: ErrorCode :: ConstraintDuplicateMutableAccount . into ( ) ,
38633863 is_token_22,
38643864 None ,
38653865 )
Original file line number Diff line number Diff line change 11pub use light_compressed_account:: LightInstructionData ;
22use light_sdk_types:: constants:: { CPI_AUTHORITY_PDA_SEED , LIGHT_SYSTEM_PROGRAM_ID } ;
3- #[ cfg( any( feature = "std" , feature = "alloc" ) ) ]
4- use pinocchio:: address:: Address as Pubkey ;
53use pinocchio:: {
4+ address:: Address as Pubkey ,
65 cpi:: invoke_signed_with_slice,
76 error:: ProgramError ,
87 instruction:: {
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ use crate::{
7575/// # &mut data,
7676/// # &owner,
7777/// # false,
78- /// # 0,
7978/// # );
8079/// # let cpi_accounts = light_sdk::cpi::v1::CpiAccounts::new(fee_payer, &[], LIGHT_CPI_SIGNER);
8180/// LightSystemProgramCpi::new_cpi(LIGHT_CPI_SIGNER, proof)
@@ -124,7 +123,6 @@ use crate::{
124123/// # &mut data,
125124/// # &owner,
126125/// # false,
127- /// # 0,
128126/// # );
129127/// # let cpi_accounts = light_sdk::cpi::v1::CpiAccounts::new(fee_payer, &[], LIGHT_CPI_SIGNER);
130128/// LightSystemProgramCpi::new_cpi(LIGHT_CPI_SIGNER, proof)
Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ pub use accounts_cpi_context::*;
8181/// # &mut data,
8282/// # &owner,
8383/// # false,
84- /// # 0,
8584/// # );
8685/// # let cpi_accounts = light_sdk::cpi::v2::CpiAccounts::new(fee_payer, &[], LIGHT_CPI_SIGNER);
8786/// LightSystemProgramCpi::new_cpi(LIGHT_CPI_SIGNER, proof)
@@ -130,7 +129,6 @@ pub use accounts_cpi_context::*;
130129/// # &mut data,
131130/// # &owner,
132131/// # false,
133- /// # 0,
134132/// # );
135133/// # let cpi_accounts = light_sdk::cpi::v2::CpiAccounts::new(fee_payer, &[], LIGHT_CPI_SIGNER);
136134/// LightSystemProgramCpi::new_cpi(LIGHT_CPI_SIGNER, proof)
You can’t perform that action at this time.
0 commit comments