mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
Rust cargo doc for all features (#1995)
* run rustfix rustdoc in grandpa pallet benchmarks * enable rustdoc for all features * fix rialto parachain runtime compilation
This commit is contained in:
committed by
Bastian Köcher
parent
ae61d31507
commit
88fb2befa0
@@ -83,10 +83,12 @@ runtime-benchmarks = [
|
|||||||
'sp-runtime/runtime-benchmarks',
|
'sp-runtime/runtime-benchmarks',
|
||||||
'frame-benchmarking',
|
'frame-benchmarking',
|
||||||
'frame-support/runtime-benchmarks',
|
'frame-support/runtime-benchmarks',
|
||||||
'frame-system-benchmarking',
|
'frame-system-benchmarking/runtime-benchmarks',
|
||||||
'frame-system/runtime-benchmarks',
|
'frame-system/runtime-benchmarks',
|
||||||
'pallet-balances/runtime-benchmarks',
|
'pallet-balances/runtime-benchmarks',
|
||||||
'pallet-timestamp/runtime-benchmarks',
|
'pallet-timestamp/runtime-benchmarks',
|
||||||
|
'pallet-xcm/runtime-benchmarks',
|
||||||
|
'xcm-builder/runtime-benchmarks',
|
||||||
]
|
]
|
||||||
std = [
|
std = [
|
||||||
"bp-messages/std",
|
"bp-messages/std",
|
||||||
|
|||||||
@@ -45,5 +45,6 @@ frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", bran
|
|||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
runtime-benchmarks = [
|
runtime-benchmarks = [
|
||||||
|
"polkadot-service/runtime-benchmarks",
|
||||||
"rialto-runtime/runtime-benchmarks",
|
"rialto-runtime/runtime-benchmarks",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
//!
|
//!
|
||||||
//! Consider the following:
|
//! Consider the following:
|
||||||
//!
|
//!
|
||||||
//! / [B'] <- [C']
|
//! / B <- C'
|
||||||
//! [A] <- [B] <- [C]
|
//! A <- B <- C
|
||||||
//!
|
//!
|
||||||
//! The common ancestor of both forks is block A, so this is what GRANDPA will finalize. In order to
|
//! The common ancestor of both forks is block A, so this is what GRANDPA will finalize. In order to
|
||||||
//! verify this we will have vote ancestries of `[B, C, B', C']` and pre-commits `[C, C']`.
|
//! verify this we will have vote ancestries of `[B, C, B', C']` and pre-commits `[C, C']`.
|
||||||
|
|||||||
Reference in New Issue
Block a user