Skip to content

Commit 3d65bf2

Browse files
Fix Solana 4 CI fallout
1 parent a10f7ed commit 3d65bf2

4 files changed

Lines changed: 2 additions & 7 deletions

File tree

program-tests/compressed-token-test/tests/v1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
)

sdk-libs/sdk-pinocchio/src/cpi/invoke.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
pub use light_compressed_account::LightInstructionData;
22
use 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;
53
use pinocchio::{
4+
address::Address as Pubkey,
65
cpi::invoke_signed_with_slice,
76
error::ProgramError,
87
instruction::{

sdk-libs/sdk/src/cpi/v1/invoke.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

sdk-libs/sdk/src/cpi/v2/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)