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

feat: Move AnyReceipt and AnyHeader to alloy-consensus-any #1609

Merged
merged 9 commits into from
Nov 19, 2024

Conversation

moricho
Copy link
Contributor

@moricho moricho commented Nov 3, 2024

Motivation

ref #1598

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@moricho moricho marked this pull request as ready for review November 4, 2024 05:40
Comment on lines 138 to 141
#[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>>>;
Copy link
Contributor

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?

Copy link
Contributor Author

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

@moricho moricho requested a review from emhane November 4, 2024 07:07
zerosnacks
zerosnacks previously approved these changes Nov 4, 2024
crates/rpc-types-any/Cargo.toml Outdated Show resolved Hide resolved
crates/network/src/any/mod.rs Outdated Show resolved Hide resolved
Copy link
Member

@klkvr klkvr 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 last nit on moving RPC aliases

@klkvr klkvr enabled auto-merge (squash) November 19, 2024 11:23
@klkvr klkvr merged commit 30ee13f into alloy-rs:main Nov 19, 2024
26 checks passed
@moricho moricho deleted the concensus-any branch November 23, 2024 07:29
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.

4 participants