referrerpolicy=no-referrer-when-downgrade
chain_spec_guide_runtime::presets

Function get_builtin_preset

Source
pub fn get_builtin_preset(id: &PresetId) -> Option<Vec<u8>>
Expand description

Provides a JSON representation of preset identified by given id.

If no preset with given id exits None is returned.