diff --git a/CHANGELOG.md b/CHANGELOG.md index 052431cfb5..538dd63de2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG +## master + +Changes: + +- Add `childstate_getStorageEntries` RPC + + ## 6.0.5 Sep 20, 2012 Upgrade priority: Low. Recommended for all users on 6.0.3 using `api.query.*.*.at` calls diff --git a/packages/types/src/interfaces/childstate/definitions.ts b/packages/types/src/interfaces/childstate/definitions.ts index 36d1028740..b3fbe52a32 100644 --- a/packages/types/src/interfaces/childstate/definitions.ts +++ b/packages/types/src/interfaces/childstate/definitions.ts @@ -78,6 +78,26 @@ export default { ], type: 'Option' }, + getStorageEntries: { + description: 'Returns child storage entries for multiple keys at a specific block state', + params: [ + { + name: 'childKey', + type: 'PrefixedStorageKey' + }, + { + name: 'keys', + type: 'Vec' + }, + { + name: 'at', + type: 'Hash', + isHistoric: true, + isOptional: true + } + ], + type: 'Vec>' + }, getStorageHash: { description: 'Returns the hash of a child storage entry at a block state', params: [