Expand description
Presets for the chain-spec demo runtime.
Constants§
- PRESET_
1 - A demo preset with strings only.
- PRESET_
2 - A demo preset with real types.
- PRESET_
3 - Another demo preset with real types and manually created json object.
- PRESET_
4 - A single value patch preset.
- PRESET_
INVALID - A single value patch preset.
Functions§
- get_
builtin_ preset - Provides a JSON representation of preset identified by given
id
. - preset_
4 - Function provides a minimal preset demonstrating how to patch single key in
RuntimeGenesisConfig
usingbuild_struct_json_patch
macro.