diff --git a/transaction-view/src/address_table_lookup_frame.rs b/transaction-view/src/address_table_lookup_frame.rs index 49876ac90f51d9..307e328a7cacba 100644 --- a/transaction-view/src/address_table_lookup_frame.rs +++ b/transaction-view/src/address_table_lookup_frame.rs @@ -47,7 +47,7 @@ const MAX_ATLS_PER_PACKET: u8 = ((PACKET_DATA_SIZE - MIN_SIZED_PACKET_WITH_ATLS) / MIN_SIZED_ATL) as u8; /// Contains metadata about the address table lookups in a transaction packet. -#[derive(Clone, Debug)] +#[derive(Debug)] pub(crate) struct AddressTableLookupFrame { /// The number of address table lookups in the transaction. pub(crate) num_address_table_lookups: u8, diff --git a/transaction-view/src/instructions_frame.rs b/transaction-view/src/instructions_frame.rs index 95c0e747542c1c..dd076020228481 100644 --- a/transaction-view/src/instructions_frame.rs +++ b/transaction-view/src/instructions_frame.rs @@ -11,7 +11,7 @@ use { }; /// Contains metadata about the instructions in a transaction packet. -#[derive(Clone, Debug)] +#[derive(Debug)] pub(crate) struct InstructionsFrame { /// The number of instructions in the transaction. pub(crate) num_instructions: u16, diff --git a/transaction-view/src/message_header_frame.rs b/transaction-view/src/message_header_frame.rs index 5c5a5e3dce5885..13eb8b3e7b629b 100644 --- a/transaction-view/src/message_header_frame.rs +++ b/transaction-view/src/message_header_frame.rs @@ -16,7 +16,7 @@ pub enum TransactionVersion { } /// Metadata for accessing message header fields in a transaction view. -#[derive(Clone, Debug)] +#[derive(Debug)] pub(crate) struct MessageHeaderFrame { /// The offset to the first byte of the message in the transaction packet. pub(crate) offset: u16, diff --git a/transaction-view/src/signature_frame.rs b/transaction-view/src/signature_frame.rs index 92d5dffd399875..2f4e96b1e48883 100644 --- a/transaction-view/src/signature_frame.rs +++ b/transaction-view/src/signature_frame.rs @@ -17,7 +17,7 @@ const MAX_SIGNATURES_PER_PACKET: u8 = (PACKET_DATA_SIZE / (core::mem::size_of::() + core::mem::size_of::())) as u8; /// Metadata for accessing transaction-level signatures in a transaction view. -#[derive(Clone, Debug)] +#[derive(Debug)] pub(crate) struct SignatureFrame { /// The number of signatures in the transaction. pub(crate) num_signatures: u8, diff --git a/transaction-view/src/static_account_keys_frame.rs b/transaction-view/src/static_account_keys_frame.rs index d5cebc095d3c17..c6fbcd5bbd0716 100644 --- a/transaction-view/src/static_account_keys_frame.rs +++ b/transaction-view/src/static_account_keys_frame.rs @@ -14,7 +14,7 @@ pub const MAX_STATIC_ACCOUNTS_PER_PACKET: u8 = (PACKET_DATA_SIZE / core::mem::size_of::()) as u8; /// Contains metadata about the static account keys in a transaction packet. -#[derive(Clone, Debug)] +#[derive(Debug)] pub(crate) struct StaticAccountKeysFrame { /// The number of static accounts in the transaction. pub(crate) num_static_accounts: u8, diff --git a/transaction-view/src/transaction_frame.rs b/transaction-view/src/transaction_frame.rs index 202f0b40207de0..7cbcf4486e90ce 100644 --- a/transaction-view/src/transaction_frame.rs +++ b/transaction-view/src/transaction_frame.rs @@ -11,7 +11,7 @@ use { solana_sdk::{hash::Hash, pubkey::Pubkey, signature::Signature}, }; -#[derive(Clone, Debug)] +#[derive(Debug)] pub(crate) struct TransactionFrame { /// Signature framing data. signature: SignatureFrame,