Module well_known_keys

Source
Expand description

List of all well known keys and prefixes in storage.

Constants§

CHILD_STORAGE_KEY_PREFIX
Prefix of child storage keys.
CODE
Wasm code of the runtime.
DEFAULT_CHILD_STORAGE_KEY_PREFIX
Prefix of the default child storage keys in the top trie.
EXTRINSIC_INDEX
Current extrinsic index (u32) is stored under this key.
HEAP_PAGES
Number of wasm linear memory pages required for execution of the runtime.
INTRABLOCK_ENTROPY
Current intra-block entropy (a universally unique [u8; 32] value) is stored here.

Functions§

is_child_storage_key
Whether a key is a child storage key.
is_default_child_storage_key
Whether a key is a default child storage key.
starts_with_child_storage_key
Returns if the given key starts with CHILD_STORAGE_KEY_PREFIX or collides with it.