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

ledger-tool: Adjust logic to obtain TransactionStatusService Blockstore #34646

Merged
merged 2 commits into from
Jan 4, 2024

Commits on Jan 4, 2024

  1. ledger-tool: Adjust logic to obtain TransactionStatusService Blockstore

    TransactionStatusService needs Primary access in order to write
    transaction status into the Blockstore if enable_rpc_transaction_history
    is set to True. The current logic attempts to get Primary access for the
    service.
    
    However, in the event that this function had been called with a
    Blockstore that already had Primary access, this second attempt to get
    Primary access would fail. So, only attempt to open with Primary access
    when necessary AND when the current access level is not sufficient.
    steviez committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    6c1b9ec View commit details
    Browse the repository at this point in the history
  2. Run cargo fmt

    steviez committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d5a1f5c View commit details
    Browse the repository at this point in the history