Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step plugin 1.18.22. Slot Seconds DEV -> LIVE #13

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cli/src/cluster_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
1 change: 1 addition & 0 deletions cli/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ pub fn process_confirm(
slot,
transaction: transaction_with_meta,
index_in_block: _,
slot_second_idx: _,
} = confirmed_transaction;

let decoded_transaction =
Expand Down
1 change: 1 addition & 0 deletions rpc-client/src/mock_sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 2 additions & 0 deletions transaction-status/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,7 @@ impl ConfirmedTransactionWithStatusMeta {
)?,
block_time: self.block_time,
index_in_block,
slot_second_idx: None,
})
}

Expand All @@ -1130,6 +1131,7 @@ pub struct EncodedConfirmedTransactionWithStatusMeta {
pub transaction: EncodedTransactionWithStatusMeta,
pub block_time: Option<UnixTimestamp>,
pub index_in_block: usize,
pub slot_second_idx: Option<u8>,
}

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
Expand Down