-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: remove default receipts for network components #13371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice,
ones suggestion
.map(|receipt| { | ||
// TODO: use `into_with_bloom` on new alloy release | ||
let bloom = receipt.bloom(); | ||
ReceiptWithBloom::new(receipt, bloom) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe map(ReceiptWithBloom::from)
should work here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh nice, yep
Node::Provider: | ||
BlockReader<Receipt = N::Receipt, Block = N::Block, Header = N::BlockHeader>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once merged we can add a type alias for this BlockReaderFor<N>
a5cb6b4
to
7687d11
Compare
Removes some default
Receipt
types, replacing with the associated type fromNetworkPrimitives
.