Block: Implement clone (#2047)

This commit is contained in:
Bastian Köcher
2025-07-31 11:59:12 +02:00
committed by GitHub
parent fdc42f088b
commit 8e162036a1
3 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ pub trait Config: Sized + Send + Sync + 'static {
type Hasher: Debug + Clone + Copy + Hasher + Send + Sync;
/// The block header.
type Header: Debug + Header<Hasher = Self::Hasher> + Sync + Send + DeserializeOwned;
type Header: Debug + Header<Hasher = Self::Hasher> + Sync + Send + DeserializeOwned + Clone;
/// This type defines the extrinsic extra and additional parameters.
type ExtrinsicParams: ExtrinsicParams<Self>;