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 withCHILD_STORAGE_KEY_PREFIX
or collides with it.