3.9.3 PersistedValidationData (#3180)

This commit is contained in:
Jaco Greeff
2021-02-16 07:39:29 +01:00
committed by GitHub
parent b9f82fc549
commit b58c77683d
14 changed files with 80 additions and 75 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "3.9.2",
"version": "3.9.3",
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
"sideEffects": false,
@@ -13,8 +13,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": {
"@babel/runtime": "^7.12.13",
"@polkadot/api": "3.9.2",
"@polkadot/types": "3.9.2",
"@polkadot/api": "3.9.3",
"@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2",
"bn.js": "^4.11.9"
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "3.9.2",
"version": "3.9.3",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
"sideEffects": false,
@@ -13,9 +13,9 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.12.13",
"@polkadot/api": "3.9.2",
"@polkadot/rpc-core": "3.9.2",
"@polkadot/types": "3.9.2",
"@polkadot/api": "3.9.3",
"@polkadot/rpc-core": "3.9.3",
"@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2",
@@ -23,6 +23,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^5.6.2",
"@polkadot/rpc-provider": "3.9.2"
"@polkadot/rpc-provider": "3.9.3"
}
}
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "3.9.2",
"version": "3.9.3",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
"sideEffects": [
@@ -16,13 +16,13 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.12.13",
"@polkadot/api-derive": "3.9.2",
"@polkadot/api-derive": "3.9.3",
"@polkadot/keyring": "^5.6.2",
"@polkadot/metadata": "3.9.2",
"@polkadot/rpc-core": "3.9.2",
"@polkadot/rpc-provider": "3.9.2",
"@polkadot/types": "3.9.2",
"@polkadot/types-known": "3.9.2",
"@polkadot/metadata": "3.9.3",
"@polkadot/rpc-core": "3.9.3",
"@polkadot/rpc-provider": "3.9.3",
"@polkadot/types": "3.9.3",
"@polkadot/types-known": "3.9.3",
"@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/metadata",
"version": "3.9.2",
"version": "3.9.3",
"description": "Helpers to extract information from runtime metadata",
"main": "index.js",
"sideEffects": [
@@ -16,8 +16,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
"dependencies": {
"@babel/runtime": "^7.12.13",
"@polkadot/types": "3.9.2",
"@polkadot/types-known": "3.9.2",
"@polkadot/types": "3.9.3",
"@polkadot/types-known": "3.9.3",
"@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2",
"bn.js": "^4.11.9"
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "3.9.2",
"version": "3.9.3",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"sideEffects": false,
@@ -13,9 +13,9 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.12.13",
"@polkadot/metadata": "3.9.2",
"@polkadot/rpc-provider": "3.9.2",
"@polkadot/types": "3.9.2",
"@polkadot/metadata": "3.9.3",
"@polkadot/rpc-provider": "3.9.3",
"@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2"
},
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "3.9.2",
"version": "3.9.3",
"description": "Transport providers for the API",
"main": "index.js",
"sideEffects": false,
@@ -13,7 +13,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": {
"@babel/runtime": "^7.12.13",
"@polkadot/types": "3.9.2",
"@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2",
"@polkadot/x-fetch": "^5.6.2",
@@ -24,7 +24,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^5.6.2",
"@polkadot/metadata": "3.9.2",
"@polkadot/metadata": "3.9.3",
"mock-socket": "^9.0.3",
"nock": "^13.0.7"
}
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "3.9.2",
"version": "3.9.3",
"description": "Type generation scripts",
"main": "index.js",
"sideEffects": false,
@@ -22,10 +22,10 @@
"@babel/core": "^7.12.13",
"@babel/register": "^7.12.13",
"@babel/runtime": "^7.12.13",
"@polkadot/api": "3.9.2",
"@polkadot/metadata": "3.9.2",
"@polkadot/rpc-provider": "3.9.2",
"@polkadot/types": "3.9.2",
"@polkadot/api": "3.9.3",
"@polkadot/metadata": "3.9.3",
"@polkadot/rpc-provider": "3.9.3",
"@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2",
"handlebars": "^4.7.6",
"websocket": "^1.0.33",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "3.9.2",
"version": "3.9.3",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"sideEffects": false,
@@ -14,7 +14,7 @@
"dependencies": {
"@babel/runtime": "^7.12.13",
"@polkadot/networks": "^5.6.2",
"@polkadot/types": "3.9.2",
"@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2",
"bn.js": "^4.11.9"
},
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "3.9.2",
"version": "3.9.3",
"description": "Implementation of the Parity codec",
"main": "index.js",
"sideEffects": [
@@ -16,7 +16,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.12.13",
"@polkadot/metadata": "3.9.2",
"@polkadot/metadata": "3.9.3",
"@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2",
@@ -254,10 +254,8 @@ export default {
ParaValidatorIndex: 'u32',
PersistedValidationData: {
parentHead: 'HeadData',
blockNumber: 'RelayChainBlockNumber',
relayStorageRoot: 'Hash',
hrmpMqcHeads: 'Vec<(u32, Hash)>',
dmqMqcHead: 'Hash',
relayParentNumber: 'RelayChainBlockNumber',
relayParentStorageRoot: 'Hash',
maxPovSize: 'u32'
},
RelayChainBlockNumber: 'u32',
@@ -624,10 +624,8 @@ export interface ParaValidatorIndex extends u32 {}
/** @name PersistedValidationData */
export interface PersistedValidationData extends Struct {
readonly parentHead: HeadData;
readonly blockNumber: RelayChainBlockNumber;
readonly relayStorageRoot: Hash;
readonly hrmpMqcHeads: Vec<ITuple<[u32, Hash]>>;
readonly dmqMqcHead: Hash;
readonly relayParentNumber: RelayChainBlockNumber;
readonly relayParentStorageRoot: Hash;
readonly maxPovSize: u32;
}