Skip to content

Commit

Permalink
Add tx signature to ledger-tool verify --record-slots-config=tx (anza…
Browse files Browse the repository at this point in the history
  • Loading branch information
seanyoung authored Jul 26, 2024
1 parent dc8dd33 commit cdff19c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ledger-tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2908,6 +2908,7 @@ fn record_transactions(
let execution_results = execution_results.map(|(details, _)| details);

TransactionDetails {
signature: tx.signature().to_string(),
accounts,
instructions,
is_simple_vote_tx,
Expand Down
1 change: 1 addition & 0 deletions runtime/src/bank/bank_hash_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ impl BankHashDetails {

#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize, Default)]
pub struct TransactionDetails {
pub signature: String,
pub index: usize,
pub accounts: Vec<String>,
pub instructions: Vec<UiInstruction>,
Expand Down

0 comments on commit cdff19c

Please sign in to comment.