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

chore: add BlockBodyIndicesProvider trait #13347

Merged
merged 2 commits into from
Dec 12, 2024
Merged

chore: add BlockBodyIndicesProvider trait #13347

merged 2 commits into from
Dec 12, 2024

Conversation

joshieDo
Copy link
Collaborator

Moves fn block_body_indices away from trait BlockReader into trait BlockBodyIndicesProvider

@joshieDo joshieDo added the C-enhancement New feature or request label Dec 12, 2024
@joshieDo joshieDo requested review from mattsse and klkvr December 12, 2024 13:13
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm, pending conflict

Comment on lines 530 to 534
impl BlockBodyIndicesProvider for NoopProvider {
fn block_body_indices(&self, _num: u64) -> ProviderResult<Option<StoredBlockBodyIndices>> {
Ok(None)
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

undo, no longer required because we removed this NoopProvider

@joshieDo joshieDo enabled auto-merge December 12, 2024 13:32
@joshieDo joshieDo added this pull request to the merge queue Dec 12, 2024
Merged via the queue into main with commit 59fb0e2 Dec 12, 2024
42 checks passed
@joshieDo joshieDo deleted the joshie/indi branch December 12, 2024 14:08
emhane pushed a commit to ethereum-optimism/op-reth that referenced this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants