From 27c0c6ce137e1733bd36ffcc0713037b2fbc6924 Mon Sep 17 00:00:00 2001 From: kevinheavey Date: Fri, 11 Oct 2024 03:33:11 +0400 Subject: [PATCH] lint --- sdk/transaction-context/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/transaction-context/src/lib.rs b/sdk/transaction-context/src/lib.rs index a37e10126fa09c..04b3541c8032a9 100644 --- a/sdk/transaction-context/src/lib.rs +++ b/sdk/transaction-context/src/lib.rs @@ -31,6 +31,7 @@ static_assertions::const_assert_eq!( ); // Inlined to avoid solana_program dep +#[cfg(not(target_os = "solana"))] const MAX_PERMITTED_ACCOUNTS_DATA_ALLOCATIONS_PER_TRANSACTION: i64 = MAX_PERMITTED_DATA_LENGTH as i64 * 2; #[cfg(test)] @@ -40,6 +41,7 @@ static_assertions::const_assert_eq!( ); // Inlined to avoid solana_account_info dep +#[cfg(not(target_os = "solana"))] const MAX_PERMITTED_DATA_INCREASE: usize = 1_024 * 10; #[cfg(test)] static_assertions::const_assert_eq!(