mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: require enginetypes 'static (#9645)
This commit is contained in:
@@ -27,6 +27,7 @@ pub trait EngineTypes:
|
||||
+ TryInto<Self::ExecutionPayloadV4>,
|
||||
> + DeserializeOwned
|
||||
+ Serialize
|
||||
+ 'static
|
||||
{
|
||||
/// Execution Payload V1 type.
|
||||
type ExecutionPayloadV1: DeserializeOwned + Serialize + Clone + Unpin + Send + Sync + 'static;
|
||||
|
||||
@@ -294,7 +294,7 @@ impl<P, E, T> EngineApiTreeHandlerImpl<P, E, T>
|
||||
where
|
||||
P: BlockReader + StateProviderFactory + Clone + 'static,
|
||||
E: BlockExecutorProvider,
|
||||
T: EngineTypes + 'static,
|
||||
T: EngineTypes,
|
||||
{
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
@@ -765,7 +765,7 @@ impl<P, E, T> EngineApiTreeHandler for EngineApiTreeHandlerImpl<P, E, T>
|
||||
where
|
||||
P: BlockReader + StateProviderFactory + Clone + 'static,
|
||||
E: BlockExecutorProvider,
|
||||
T: EngineTypes + 'static,
|
||||
T: EngineTypes,
|
||||
{
|
||||
type Engine = T;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user