referrerpolicy=no-referrer-when-downgrade

Module presets

Source
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 using build_struct_json_patch macro.