Skip to content

Commit

Permalink
sp-genesis-builder: some doc added
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkucharczyk committed Dec 14, 2023
1 parent 2b4626c commit 249b813
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions substrate/primitives/genesis-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@

//! Substrate genesis config builder
//!
//! The runtime may provide a number of partial `GenesisConfig` configurations in form of patches
//! which shall be applied on top of the default GenesisConfig. This presets are sometimes refered
//! to as patches. This allows the runtime to provide a number of predefined configuration (e.g. for
//! different testnets) without leaking the runtime types outside the runtime.
//!
//! This Runtime API allows to construct `GenesisConfig`, in particular:
//! - serialize the runtime default `GenesisConfig` struct into json format,
//! - put the GenesisConfig struct into the storage. Internally this operation calls
Expand Down

0 comments on commit 249b813

Please sign in to comment.