Skip to content

Expose header fetch errors in consensus chain reader - #18230

Open
splinter012 wants to merge 2 commits into
erigontech:mainfrom
splinter012:patch-1
Open

Expose header fetch errors in consensus chain reader#18230
splinter012 wants to merge 2 commits into
erigontech:mainfrom
splinter012:patch-1

Conversation

@splinter012

Copy link
Copy Markdown
Contributor

Stop swallowing errors in consensus_chain_reader header lookups; log failures with context and return nil consistently. Replace context.TODO() with context.Background() for header fetches to avoid placeholder contexts.

Comment thread db/consensuschain/consensus_chain_reader.go Outdated
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