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: Allow dead slots for slot command when metadata absent #4913

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

steviez
Copy link

@steviez steviez commented Feb 11, 2025

Problem

The slot command will reject dead slots by default. This behavior can be overridden by passing --allow-dead-slots. Additionally, in the event that transaction metadata is missing or the slot is incomplete in the blockstore, a best effort attempt will be made to get as much data out as possible.

Summary of Changes

This fallback case did not have the allow dead slots parameter plumbed through, so hook it up to allow fetching dead, partial slots

The slot command will reject dead slots by default. This behavior can be
overridden by passing --allow-dead-slots. Additionally, in the event
that transaction metadata is missing or the slot is incomplete in the
blockstore, a best effort attempt will be made to get as much data out
as possible.

This fallback case did not have the allow dead slots parameter plumbed
through, so hook it up to allow fetching dead, partial slots
@steviez steviez force-pushed the lt_slot_partial_dead_slot branch from e65c39f to 1307709 Compare February 11, 2025 07:08
@steviez steviez requested a review from cpubot February 11, 2025 17:48
Copy link

@cpubot cpubot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@steviez steviez merged commit f236b4b into anza-xyz:master Feb 11, 2025
47 checks passed
@steviez steviez deleted the lt_slot_partial_dead_slot branch February 11, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants