mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 22:11:01 +00:00
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:
Generated
+150
-150
File diff suppressed because it is too large
Load Diff
@@ -205,6 +205,7 @@ where
|
|||||||
mut inherent_data: InherentData,
|
mut inherent_data: InherentData,
|
||||||
inherent_digests: DigestFor<Block>,
|
inherent_digests: DigestFor<Block>,
|
||||||
max_duration: time::Duration,
|
max_duration: time::Duration,
|
||||||
|
block_size_limit: Option<usize>,
|
||||||
) -> Self::Proposal {
|
) -> Self::Proposal {
|
||||||
async move {
|
async move {
|
||||||
let span = jaeger::Span::new(self.parent_header_hash, "propose");
|
let span = jaeger::Span::new(self.parent_header_hash, "propose");
|
||||||
@@ -237,7 +238,7 @@ where
|
|||||||
|
|
||||||
let _span = span.child("authorship-propose");
|
let _span = span.child("authorship-propose");
|
||||||
self.inner
|
self.inner
|
||||||
.propose(inherent_data, inherent_digests, max_duration)
|
.propose(inherent_data, inherent_digests, max_duration, block_size_limit)
|
||||||
.await
|
.await
|
||||||
.map_err(Into::into)
|
.map_err(Into::into)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user