chore: remove 'static bound from ConfigureEvmEnv (#14606)

This commit is contained in:
Arsenii Kulikov
2025-02-20 13:54:57 +04:00
committed by GitHub
parent 7ee8461bac
commit 2c069230aa
7 changed files with 9 additions and 9 deletions

View File

@ -85,7 +85,7 @@ where
where
B: PayloadAttributesBuilder<<N::Engine as PayloadTypes>::PayloadAttributes>,
V: EngineValidator<N::Engine, Block = BlockTy<N>>,
C: ConfigureEvm<Header = HeaderTy<N>, Transaction = TxTy<N>>,
C: ConfigureEvm<Header = HeaderTy<N>, Transaction = TxTy<N>> + 'static,
{
let chain_spec = provider.chain_spec();
let engine_kind =

View File

@ -93,7 +93,7 @@ where
) -> Self
where
V: EngineValidator<N::Engine, Block = BlockTy<N>>,
C: ConfigureEvm<Header = HeaderTy<N>, Transaction = TxTy<N>>,
C: ConfigureEvm<Header = HeaderTy<N>, Transaction = TxTy<N>> + 'static,
{
let engine_kind =
if chain_spec.is_optimism() { EngineApiKind::OpStack } else { EngineApiKind::Ethereum };

View File

@ -648,7 +648,7 @@ where
<P as DatabaseProviderFactory>::Provider:
BlockReader<Block = N::Block, Header = N::BlockHeader>,
E: BlockExecutorProvider<Primitives = N>,
C: ConfigureEvm<Header = N::BlockHeader, Transaction = N::SignedTx>,
C: ConfigureEvm<Header = N::BlockHeader, Transaction = N::SignedTx> + 'static,
T: EngineTypes,
V: EngineValidator<T, Block = N::Block>,
{