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

fix: fetch header by hash #11407

Merged
merged 1 commit into from
Oct 2, 2024
Merged

fix: fetch header by hash #11407

merged 1 commit into from
Oct 2, 2024

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Oct 2, 2024

this fetches the header by hash only.
before we first fetched the number for that hash and then the header by number, in another db tx which could be problematic.

this was most likely implemented like this because we didn't have sealed_header_by_hash

@mattsse mattsse added the C-bug An unexpected or incorrect behavior label Oct 2, 2024
Copy link
Member

@fgimenez fgimenez left a comment

Choose a reason for hiding this comment

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

lgtm

@mattsse mattsse merged commit 12554c4 into main Oct 2, 2024
33 of 36 checks passed
@mattsse mattsse deleted the matt/fetch-header-by-hash branch October 2, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants