Add state_queryStorageAt RPC (#2082)

* Add state_queryStorageAt RPC

* Add queryStorageAt rpc

* Clanup merge
This commit is contained in:
Jaco Greeff
2020-03-26 21:08:34 +01:00
committed by GitHub
parent 169a374544
commit 8976ded37f
4 changed files with 31 additions and 5 deletions
@@ -268,9 +268,24 @@ export default {
type: 'Vec<StorageKey>'
},
{
name: 'startBlock',
name: 'fromBlock',
type: 'Hash'
},
{
name: 'toBlock',
type: 'BlockHash',
isOptional: true
}
],
type: 'Vec<StorageChangeSet>'
},
queryStorageAt: {
description: 'Query storage entries (by key) starting at block hash given as the second parameter',
params: [
{
name: 'keys',
type: 'Vec<StorageKey>'
},
{
name: 'at',
type: 'BlockHash',