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

storage-api: update BlockReaderIdExt #11110

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

nkysg
Copy link
Contributor

@nkysg nkysg commented Sep 22, 2024

I don't know if it's right. I see ReceiptProviderIdExt has the trait BlockIdReader, so I think BlockReaderIdExt can remove BlockIdReader.

pub trait ReceiptProviderIdExt: ReceiptProvider + BlockIdReader {
.
pub trait BlockReaderIdExt: BlockReader + BlockIdReader + ReceiptProviderIdExt {

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.

this is okay

pub trait ReceiptProviderIdExt: ReceiptProvider + BlockIdReader {

although additional bounds don't hurt but makes sense to minimize these

@mattsse mattsse added this pull request to the merge queue Sep 23, 2024
@mattsse mattsse added the A-rpc Related to the RPC implementation label Sep 23, 2024
Merged via the queue into paradigmxyz:main with commit bb27f37 Sep 23, 2024
36 checks passed
@nkysg nkysg deleted the use_BlockReaderIdExt branch September 23, 2024 10:22
0xForerunner pushed a commit to 0xForerunner/reth that referenced this pull request Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants