Payload Events (#6549)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Luca Provini
2024-02-13 15:43:40 +01:00
committed by GitHub
parent 7917279b68
commit 933da735f8
7 changed files with 100 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ pub mod payload;
pub use payload::PayloadOrAttributes;
/// The types that are used by the engine.
pub trait EngineTypes: serde::de::DeserializeOwned + Send + Sync {
pub trait EngineTypes: serde::de::DeserializeOwned + Send + Sync + Clone {
/// The RPC payload attributes type the CL node emits via the engine API.
type PayloadAttributes: PayloadAttributes + Unpin;