Skip to content

Commit

Permalink
more style fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
  • Loading branch information
iulianbarbu committed Dec 5, 2024
1 parent 7e97c7a commit 3581f46
Show file tree
Hide file tree
Showing 6 changed files with 967 additions and 965 deletions.
1 change: 0 additions & 1 deletion cumulus/polkadot-omni-node/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ cumulus-client-parachain-inherent = { workspace = true, default-features = true
cumulus-client-service = { workspace = true, default-features = true }
cumulus-primitives-aura = { workspace = true, default-features = true }
cumulus-primitives-core = { workspace = true, default-features = true }

cumulus-relay-chain-interface = { workspace = true, default-features = true }
futures-timer = "3.0.3"

Expand Down
2 changes: 1 addition & 1 deletion cumulus/polkadot-omni-node/lib/src/common/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl MetadataInspector {
}

/// Get the runtime metadata from a wasm blob existing in a chain spec.
fn get(chain_spec: &dyn ChainSpec) -> Result<subxt::Metadata, sc_cli::Error> {
pub fn get(chain_spec: &dyn ChainSpec) -> Result<subxt::Metadata, sc_cli::Error> {
let mut storage = chain_spec.build_storage()?;
let code_bytes = storage
.top
Expand Down
3 changes: 1 addition & 2 deletions docs/sdk/src/reference_docs/omni_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@
//! The list of checks should evolve and possibly be treated in a separate dedicated space in these
//! docs, but for now they are only based on a few rules:
//! * runtimes must define a type for [`cumulus-pallet-parachain-system`], which is recommended to
//! be
//! named as `ParachainSystem`.
//! be named as `ParachainSystem`.
//! * runtimes must define a type for [`frame-system`] pallet, which is recommended to be named as
//! `System`.
//! * runtimes must configure the [`frame-system`] pallet's [`block number`] type as `u32`.
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/runtime-utilities/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

//! Substrate runtime metadata client utilities.
//! Substrate client runtime utilities.
//!
//! Provides simpler APIs for calling into a `frame` runtime WASM blob and
//! return metadata that needs to be checked.
Expand Down
Loading

0 comments on commit 3581f46

Please sign in to comment.