diff --git a/docs/METHODS_RPC.md b/docs/METHODS_RPC.md index 134f46e882..2015238830 100644 --- a/docs/METHODS_RPC.md +++ b/docs/METHODS_RPC.md @@ -67,6 +67,21 @@ _Query of state_ ▸ **call**(method: `Text`, data: `Bytes`, block?: `Hash`): `Bytes` - **summary**: Perform a call to a builtin on the chain +▸ **getChildKeys**(childStorageKey: `StorageKey`, prefix: `StorageKey`, block?: `Hash`): `Vec` +- **summary**: Retrieves the keys with prefix of a specific child storage + +▸ **getChildStorage**(childStorageKey: `StorageKey`, key: `StorageKey`, block?: `Hash`): `StorageData` +- **summary**: Retrieves the child storage for a key + +▸ **getChildStorageHash**(childStorageKey: `StorageKey`, key: `StorageKey`, block?: `Hash`): `Hash` +- **summary**: Retrieves the child storage hash + +▸ **getChildStorageSize**(childStorageKey: `StorageKey`, key: `StorageKey`, block?: `Hash`): `u64` +- **summary**: Retrieves the child storage size + +▸ **getKeys**(prefix: `StorageKey`, block?: `Hash`): `Vec` +- **summary**: Retrieves the keys with a certain prefix + ▸ **getMetadata**(block?: `Hash`): `Metadata` - **summary**: Returns the runtime metadata diff --git a/docs/METHODS_STORAGE.md b/docs/METHODS_STORAGE.md index 7e98680f24..430b7f6e6b 100644 --- a/docs/METHODS_STORAGE.md +++ b/docs/METHODS_STORAGE.md @@ -497,6 +497,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. diff --git a/lerna.json b/lerna.json index f25a1fee8f..b893240370 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.82.0-beta.10" + "version": "0.82.0-beta.11" } diff --git a/package.json b/package.json index 7b9fe228e2..d4c0645df6 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "private": true, "engines": { "yarn": "^1.10.1" diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index fc7516e70a..73e951a63c 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "Interfaces for interacting with contracts and contract ABIs", "main": "index.js", "keywords": [ @@ -27,6 +27,6 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/types": "^0.82.0-beta.10" + "@polkadot/types": "^0.82.0-beta.11" } } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index a6b6874860..801aeeb73d 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", "keywords": [ @@ -28,8 +28,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/api": "^0.82.0-beta.10", - "@polkadot/types": "^0.82.0-beta.10", + "@polkadot/api": "^0.82.0-beta.11", + "@polkadot/types": "^0.82.0-beta.11", "@types/memoizee": "^0.4.2", "memoizee": "^0.4.14" }, diff --git a/packages/api/package.json b/packages/api/package.json index 232cd2b76a..09fbb8cfe6 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", "keywords": [ @@ -27,12 +27,12 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/api-derive": "^0.82.0-beta.10", - "@polkadot/extrinsics": "^0.82.0-beta.10", - "@polkadot/rpc-provider": "^0.82.0-beta.10", - "@polkadot/rpc-rx": "^0.82.0-beta.10", - "@polkadot/storage": "^0.82.0-beta.10", - "@polkadot/types": "^0.82.0-beta.10", + "@polkadot/api-derive": "^0.82.0-beta.11", + "@polkadot/extrinsics": "^0.82.0-beta.11", + "@polkadot/rpc-provider": "^0.82.0-beta.11", + "@polkadot/rpc-rx": "^0.82.0-beta.11", + "@polkadot/storage": "^0.82.0-beta.11", + "@polkadot/types": "^0.82.0-beta.11", "@polkadot/util-crypto": "^0.94.0-beta.3" }, "devDependencies": { diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 55e726d119..4cbd4e08f5 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "keywords": [ @@ -27,9 +27,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/jsonrpc": "^0.82.0-beta.10", - "@polkadot/rpc-provider": "^0.82.0-beta.10", - "@polkadot/types": "^0.82.0-beta.10", + "@polkadot/jsonrpc": "^0.82.0-beta.11", + "@polkadot/rpc-provider": "^0.82.0-beta.11", + "@polkadot/types": "^0.82.0-beta.11", "@polkadot/util": "^0.94.0-beta.3" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index cfd5c02ca1..8b61283135 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "Transport providers for the API", "main": "index.js", "keywords": [ @@ -27,7 +27,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/storage": "^0.82.0-beta.10", + "@polkadot/storage": "^0.82.0-beta.11", "@polkadot/util": "^0.94.0-beta.3", "@polkadot/util-crypto": "^0.94.0-beta.3", "@types/nock": "^10.0.3", diff --git a/packages/rpc-rx/package.json b/packages/rpc-rx/package.json index dac1c37f9e..b0eac7c22e 100644 --- a/packages/rpc-rx/package.json +++ b/packages/rpc-rx/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-rx", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "An RxJs wrapper around the Polkadot JS API", "main": "index.js", "keywords": [ @@ -27,8 +27,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-rx#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/rpc-core": "^0.82.0-beta.10", - "@polkadot/rpc-provider": "^0.82.0-beta.10", + "@polkadot/rpc-core": "^0.82.0-beta.11", + "@polkadot/rpc-provider": "^0.82.0-beta.11", "@types/memoizee": "^0.4.2", "@types/rx": "^4.1.1", "memoizee": "^0.4.14", diff --git a/packages/type-extrinsics/package.json b/packages/type-extrinsics/package.json index 7902710a97..3cb4344964 100644 --- a/packages/type-extrinsics/package.json +++ b/packages/type-extrinsics/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/extrinsics", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "main": "index.js", "repository": "https://github.com/polkadot-js/api.git", "author": "Jaco Greeff ", @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/types": "^0.82.0-beta.10", + "@polkadot/types": "^0.82.0-beta.11", "@polkadot/util": "^0.94.0-beta.3" } } diff --git a/packages/type-jsonrpc/package.json b/packages/type-jsonrpc/package.json index 55bdb70a55..c989c0b093 100644 --- a/packages/type-jsonrpc/package.json +++ b/packages/type-jsonrpc/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/jsonrpc", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "Method definitions for the Polkadot RPC layer", "main": "index.js", "publishConfig": { diff --git a/packages/type-storage/package.json b/packages/type-storage/package.json index ed84a19bf5..8d2b30eb26 100644 --- a/packages/type-storage/package.json +++ b/packages/type-storage/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/storage", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "Generic wrapper wrapper around state storage", "main": "index.js", "publishConfig": { @@ -27,7 +27,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-storage#readme", "dependencies": { "@babel/runtime": "^7.4.5", - "@polkadot/types": "^0.82.0-beta.10", + "@polkadot/types": "^0.82.0-beta.11", "@polkadot/util": "^0.94.0-beta.3", "@polkadot/util-crypto": "^0.94.0-beta.3" }, diff --git a/packages/types/package.json b/packages/types/package.json index bdb070dd89..e70ec11bb7 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "0.82.0-beta.10", + "version": "0.82.0-beta.11", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [