mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove 'static bound from ConfigureEvmEnv (#14606)
This commit is contained in:
@ -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 =
|
||||
|
||||
@ -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 };
|
||||
|
||||
@ -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>,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user