mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Add block data size check (#230)
* Add block data size check * Pass max_block_data_size everywhere * Fix build after merge * Fix ParachainWork initialization * Fix tests compilation
This commit is contained in:
committed by
Gavin Wood
parent
7a123fe8e9
commit
10ae8d48f5
@@ -110,6 +110,7 @@ pub(crate) fn start<C, N, P, SC>(
|
||||
thread_pool: TaskExecutor,
|
||||
key: Arc<ed25519::Pair>,
|
||||
extrinsic_store: ExtrinsicStore,
|
||||
max_block_data_size: Option<u64>,
|
||||
) -> ServiceHandle
|
||||
where
|
||||
C: Collators + Send + Sync + 'static,
|
||||
@@ -147,6 +148,7 @@ pub(crate) fn start<C, N, P, SC>(
|
||||
notification.header.parent_hash().clone(),
|
||||
&authorities,
|
||||
key.clone(),
|
||||
max_block_data_size,
|
||||
)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user