From 393145e2aaf54123c9b6a4ef78e92f9cdf610b3f Mon Sep 17 00:00:00 2001 From: James Date: Thu, 5 Sep 2024 12:00:50 -0400 Subject: [PATCH] slot second idx --- cli/src/cluster_query.rs | 1 + cli/src/wallet.rs | 1 + rpc-client/src/mock_sender.rs | 1 + transaction-status/src/lib.rs | 2 ++ 4 files changed, 5 insertions(+) diff --git a/cli/src/cluster_query.rs b/cli/src/cluster_query.rs index 1b4cc27597026f..143eb0340b57dc 100644 --- a/cli/src/cluster_query.rs +++ b/cli/src/cluster_query.rs @@ -2104,6 +2104,7 @@ pub fn process_transaction_history( slot, transaction: transaction_with_meta, index_in_block: _, + slot_second_idx: _, } = confirmed_transaction; let decoded_transaction = diff --git a/cli/src/wallet.rs b/cli/src/wallet.rs index 6121103c6d8796..1529e08e60c3b5 100644 --- a/cli/src/wallet.rs +++ b/cli/src/wallet.rs @@ -777,6 +777,7 @@ pub fn process_confirm( slot, transaction: transaction_with_meta, index_in_block: _, + slot_second_idx: _, } = confirmed_transaction; let decoded_transaction = diff --git a/rpc-client/src/mock_sender.rs b/rpc-client/src/mock_sender.rs index 6c364bd0609a27..efd5df73d52994 100644 --- a/rpc-client/src/mock_sender.rs +++ b/rpc-client/src/mock_sender.rs @@ -241,6 +241,7 @@ impl RpcSender for MockSender { }, block_time: Some(1628633791), index_in_block: 0, + slot_second_idx: None, })?, "getTransactionCount" => json![1234], "getSlot" => json![0], diff --git a/transaction-status/src/lib.rs b/transaction-status/src/lib.rs index 497b6adcb52178..964cdfb8b44991 100644 --- a/transaction-status/src/lib.rs +++ b/transaction-status/src/lib.rs @@ -1114,6 +1114,7 @@ impl ConfirmedTransactionWithStatusMeta { )?, block_time: self.block_time, index_in_block, + slot_second_idx: None, }) } @@ -1130,6 +1131,7 @@ pub struct EncodedConfirmedTransactionWithStatusMeta { pub transaction: EncodedTransactionWithStatusMeta, pub block_time: Option, pub index_in_block: usize, + pub slot_second_idx: Option, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]