Companion for Substrate#8588 (#2883)

* Companion for Substrate#8588

https://github.com/paritytech/substrate/pull/8588

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2021-04-14 20:23:49 +02:00
committed by GitHub
parent fee9e3ec36
commit 2cddcfe1fb
2 changed files with 152 additions and 151 deletions
+150 -150
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -205,6 +205,7 @@ where
mut inherent_data: InherentData,
inherent_digests: DigestFor<Block>,
max_duration: time::Duration,
block_size_limit: Option<usize>,
) -> Self::Proposal {
async move {
let span = jaeger::Span::new(self.parent_header_hash, "propose");
@@ -237,7 +238,7 @@ where
let _span = span.child("authorship-propose");
self.inner
.propose(inherent_data, inherent_digests, max_duration)
.propose(inherent_data, inherent_digests, max_duration, block_size_limit)
.await
.map_err(Into::into)
}