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: make has_eip4844 generic over SignedTransaction #13083

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Dec 2, 2024

Now has_eip4844 can be used with Transactions where T is not TransactionSigned

@Rjected Rjected added C-enhancement New feature or request A-tx-pool Related to the transaction mempool A-sdk Related to reth's use as a library labels Dec 2, 2024
@@ -94,7 +94,7 @@ pub struct Transactions<T = TransactionSigned>(
pub Vec<T>,
);

impl Transactions {
impl<T: SignedTransaction> Transactions<T> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

mental note here that this can be relaxed to typed2718 soon #13077

@Rjected Rjected added this pull request to the merge queue Dec 2, 2024
Merged via the queue into main with commit 039f121 Dec 2, 2024
42 checks passed
@Rjected Rjected deleted the dan/has-4844-generic branch December 2, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdk Related to reth's use as a library A-tx-pool Related to the transaction mempool C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants