Module chain_spec_guide_runtime::presets
source · Expand description
Presets for the chain-spec demo runtime.
Constants§
- A demo preset with strings only.
- A demo preset with real types.
- Another demo preset with real types and manually created json object.
- A single value patch preset.
- A single value patch preset.
Functions§
- Provides a JSON representation of preset identified by given
id
. - Function provides a minimal preset demonstrating how to patch single key in
RuntimeGenesisConfig
usingbuild_struct_json_patch
macro.