Skip to content

Commit

Permalink
ledger-tool: Add --enable-extended-tx-metadata-storage arg (solana-la…
Browse files Browse the repository at this point in the history
  • Loading branch information
andreisilviudragnea authored May 14, 2024
1 parent b128fca commit 0214743
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ledger-tool/src/ledger_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ pub fn load_and_process_ledger(
enable_rpc_transaction_history,
transaction_notifier,
tss_blockstore,
false,
arg_matches.is_present("enable_extended_tx_metadata_storage"),
exit.clone(),
);
(
Expand Down
10 changes: 10 additions & 0 deletions ledger-tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,16 @@ fn main() {
.takes_value(false)
.help("Store transaction info for processed slots into local ledger"),
)
.arg(
Arg::with_name("enable_extended_tx_metadata_storage")
.long("enable-extended-tx-metadata-storage")
.requires("enable_rpc_transaction_history")
.takes_value(false)
.help(
"Include CPI inner instructions, logs, and return data in the historical \
transaction info stored",
),
)
.arg(
Arg::with_name("run_final_hash_calc")
.long("run-final-accounts-hash-calculation")
Expand Down

0 comments on commit 0214743

Please sign in to comment.