Add child_storage and getKeys methods (#1012)
* Add childStorageKeyPrefix to type-storage package * WIP * fix failing build * wrap StorageKey * no new line * Added childStoragePrefix param * Add childStorageKey param * Tests for child methods * Finalized tests * linting * Changed get_keys test to :code * Alphabetical imports * store hex values in consts * follow substrate order & empty line fixes * alphabetical export * Correct hex value for :child_storage:
This commit is contained in:
committed by
Jaco Greeff
parent
59182ca294
commit
c3216a524e
@@ -8,6 +8,9 @@ _These are keys that are always available to the runtime implementation_
|
||||
▸ **changesTrieConfig**(): `u32`
|
||||
- **summary**: Changes trie configuration is stored under this key.
|
||||
|
||||
▸ **childStorageKeyPrefix**(): `u32`
|
||||
- **summary**: Prefix of child storage keys.
|
||||
|
||||
▸ **code**(): `Bytes`
|
||||
- **summary**: Wasm code of the runtime.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user