diff --git a/ledger-tool/src/ledger_utils.rs b/ledger-tool/src/ledger_utils.rs index c05cc6c2d64cd0..31a91a0d161b48 100644 --- a/ledger-tool/src/ledger_utils.rs +++ b/ledger-tool/src/ledger_utils.rs @@ -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(), ); ( diff --git a/ledger-tool/src/main.rs b/ledger-tool/src/main.rs index adda2e4b937359..b17b3cb9f265e6 100644 --- a/ledger-tool/src/main.rs +++ b/ledger-tool/src/main.rs @@ -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")