mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add Primitives AT to BlockExecutorProvider (#12994)
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
use futures_util::TryStreamExt;
|
||||
use reth::{api::FullNodeComponents, primitives::Block, providers::BlockReader};
|
||||
use reth::{api::FullNodeComponents, builder::NodeTypes, primitives::EthPrimitives};
|
||||
use reth_exex::{ExExContext, ExExEvent, ExExNotification};
|
||||
use reth_node_ethereum::EthereumNode;
|
||||
use reth_tracing::tracing::info;
|
||||
|
||||
async fn my_exex<Node: FullNodeComponents<Provider: BlockReader<Block = Block>>>(
|
||||
async fn my_exex<Node: FullNodeComponents<Types: NodeTypes<Primitives = EthPrimitives>>>(
|
||||
mut ctx: ExExContext<Node>,
|
||||
) -> eyre::Result<()> {
|
||||
while let Some(notification) = ctx.notifications.try_next().await? {
|
||||
|
||||
Reference in New Issue
Block a user