From 6fbe5e42c7a924684e3ad018bf31f4e0bfb51005 Mon Sep 17 00:00:00 2001 From: jonesmarvin8 <83104039+jonesmarvin8@users.noreply.github.com> Date: Tue, 28 Apr 2026 19:07:27 -0400 Subject: [PATCH] CI fixes --- nssa/src/privacy_preserving_transaction/message.rs | 2 +- programs/associated_token_account/core/src/lib.rs | 2 +- wallet/src/config.rs | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/nssa/src/privacy_preserving_transaction/message.rs b/nssa/src/privacy_preserving_transaction/message.rs index 3b882ebd..0fc30d4e 100644 --- a/nssa/src/privacy_preserving_transaction/message.rs +++ b/nssa/src/privacy_preserving_transaction/message.rs @@ -204,7 +204,7 @@ pub mod tests { let nonces_bytes: &[u8] = &[1, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; // all remaining vec fields are empty: u32 len=0 let empty_vec_bytes: &[u8] = &[0_u8; 4]; - // validity windows: unbounded = {from: None (0u8), to: None (0u8)} + // validity windows: unbounded = {from: None (0_u8), to: None (0_u8)} let unbounded_window_bytes: &[u8] = &[0_u8; 2]; let expected_borsh_vec: Vec = [ diff --git a/programs/associated_token_account/core/src/lib.rs b/programs/associated_token_account/core/src/lib.rs index 8fe6e267..77900a2c 100644 --- a/programs/associated_token_account/core/src/lib.rs +++ b/programs/associated_token_account/core/src/lib.rs @@ -49,7 +49,7 @@ pub enum Instruction { pub fn compute_ata_seed(owner_id: AccountId, definition_id: AccountId) -> PdaSeed { use risc0_zkvm::sha::{Impl, Sha256}; - let mut bytes = [0u8; 64]; + let mut bytes = [0_u8; 64]; bytes[0..32].copy_from_slice(&owner_id.to_bytes()); bytes[32..64].copy_from_slice(&definition_id.to_bytes()); PdaSeed::new( diff --git a/wallet/src/config.rs b/wallet/src/config.rs index 31d215ac..cdedee1b 100644 --- a/wallet/src/config.rs +++ b/wallet/src/config.rs @@ -173,7 +173,8 @@ mod tests { use super::PersistentAccountDataPublic; - // Root public account keys derived from a known test seed; see key_protocol's keys_public tests. + // Root public account keys derived from a known test seed; see key_protocol's keys_public + // tests. const CSK_BYTES: [u8; 32] = [ 40, 35, 239, 19, 53, 178, 250, 55, 115, 12, 34, 3, 153, 153, 72, 170, 190, 36, 172, 36, 202, 148, 181, 228, 35, 222, 58, 84, 156, 24, 146, 86, @@ -198,7 +199,7 @@ mod tests { fn make_public_account_data(data: Option) -> PersistentAccountDataPublic { PersistentAccountDataPublic { - account_id: AccountId::new([0u8; 32]), + account_id: AccountId::new([0_u8; 32]), chain_index: ChainIndex::root(), data, }