-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: add sharded mempool support for type-3 blob transactions #16756
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
base: main
Are you sure you want to change the base?
Conversation
} | ||
} | ||
|
||
impl AnnouncementFilteringPolicy for ShardedMempoolAnnouncementFilter { |
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.
since this is layered on behaviour, we can make this generic over another policy type that we forward the non type 3 txs to
like SharedMempoolAnnounceFilter<T>
@@ -249,7 +249,7 @@ pub struct TransactionsManager< | |||
N: NetworkPrimitives = EthNetworkPrimitives, | |||
PBundle: TransactionPolicies = NetworkPolicies< | |||
TransactionPropagationKind, | |||
StrictEthAnnouncementFilter, | |||
ShardedMempoolAnnouncementFilter, |
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.
this then can be ShardedMempoolAnnouncementFilter<StrictEthAnnouncementFilter>
ticket