Update Substrate & Polkadot (#405)

This commit is contained in:
Bastian Köcher
2021-04-14 22:13:37 +02:00
committed by GitHub
parent 18c9e4e13a
commit 51577808eb
2 changed files with 210 additions and 205 deletions
Generated
+205 -205
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -196,6 +196,11 @@ where
Default::default(),
//TODO: Fix this.
Duration::from_millis(500),
// Set the block limit to 50% of the maximum PoV size.
//
// TODO: If we got benchmarking that includes that encapsulates the proof size,
// we should be able to use the maximum pov size.
Some((validation_data.max_pov_size / 2) as usize),
)
.await
.map_err(|e| tracing::error!(target: LOG_TARGET, error = ?e, "Proposing failed."))