-
Notifications
You must be signed in to change notification settings - Fork 234
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: Move AnyReceipt
and AnyHeader
to alloy-consensus-any
#1609
base: main
Are you sure you want to change the base?
Conversation
#[doc(alias = "AnyTxReceipt")] | ||
#[cfg(feature = "serde")] | ||
pub type AnyTransactionReceipt = | ||
alloy_serde::WithOtherFields<TransactionReceipt<alloy_consensus::AnyReceiptEnvelope<Log>>>; | ||
alloy_serde::WithOtherFields<TransactionReceipt<alloy_consensus_any::AnyReceiptEnvelope<Log>>>; |
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.
make sense to move this receipt too right?
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.
ah you're right. moved it to alloy-rpc-types-any
🙏
5b5d2ac
5b5d2ac
to
ea7e1f3
Compare
use alloy_serde::WithOtherFields; | ||
|
||
/// A catch-all header type for handling headers on multiple networks. | ||
pub type AnyRpcHeader = alloy_rpc_types_eth::Header<alloy_consensus::AnyHeader>; | ||
|
||
/// A catch-all block type for handling blocks on multiple networks. | ||
pub type AnyRpcBlock = |
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.
AnyRpcBlock
and AnyRpcTransaction
aliases should also be in rpc-types-any
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.
lgtm, pending last nit on moving RPC aliases
Motivation
ref #1598
Solution
PR Checklist