When extended_tx_metadata_storage = false, the TransactionStatusService receives the logs and removes them before storing data, that's then used by the rpc.
Proposed solutions:
Enable log collection:
1a. Quick. Always enable log collection.
1b. Or, accurate. Add a config param to fd_ext_bank_load_and_execute_txns, pass in the value of extended_tx_metadata_storage. If true, enable logs (in future we may need additional config params).
Set those 4 defaults in fddev, so that by default the behavior is consistent with solana-test-validator.
Problems:
logMessages
, even when configured accordingly.fddev
by default runs without rpc, unlikesolana-test-validator
.Context:
Log collection is disabled here: https://github.com/firedancer-io/solana/blob/4b31032e68f85848b02fcc4c9e580d57f32ec04b/runtime/src/bank.rs#L264-L265 The 3 false should be 3 true, so logs are collected and then available to rpc.
To enable RPC equivalent to
solana-test-validator
we need the following config:When
extended_tx_metadata_storage = false
, the TransactionStatusService receives the logs and removes them before storing data, that's then used by the rpc.Proposed solutions:
fd_ext_bank_load_and_execute_txns
, pass in the value ofextended_tx_metadata_storage
. If true, enable logs (in future we may need additional config params).fddev
, so that by default the behavior is consistent withsolana-test-validator
.