Compare commits

...
2 Commits
Author SHA1 Message Date
Github Actions 502c6a3451 [CI Skip] release/stable 3.9.3
skip-checks: true
2021-02-16 06:47:07 +00:00
Jaco Greeff b58c77683d 3.9.3 PersistedValidationData (#3180) 2021-02-16 07:39:29 +01:00
15 changed files with 82 additions and 76 deletions
+2 -1
View File
@@ -15,4 +15,5 @@
3.6.4 3.6.4
3.7.2 3.7.2
3.7.3 3.7.3
3.9.2 3.9.2
3.9.3
+9
View File
@@ -1,5 +1,14 @@
# CHANGELOG # CHANGELOG
## 3.9.3 Feb 16, 2021
Upgrade priority: Low. Recommended for parachain builders since it contains the updated parachain types.
Changes:
- Adjusted parachain `PersistedValidationData` structure
## 3.9.2 Feb 15, 2021 ## 3.9.2 Feb 15, 2021
Upgrade priority: Low. Recommended for parachain builders since it contains the latest parachain types. Upgrade priority: Low. Recommended for parachain builders since it contains the latest parachain types.
+1 -1
View File
@@ -34,5 +34,5 @@
"@types/jest": "^26.0.20", "@types/jest": "^26.0.20",
"copyfiles": "^2.4.1" "copyfiles": "^2.4.1"
}, },
"version": "3.9.2" "version": "3.9.3"
} }
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/api-contract", "name": "@polkadot/api-contract",
"version": "3.9.2", "version": "3.9.3",
"description": "Interfaces for interacting with contracts and contract ABIs", "description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js", "main": "index.js",
"sideEffects": false, "sideEffects": false,
@@ -13,8 +13,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/api": "3.9.2", "@polkadot/api": "3.9.3",
"@polkadot/types": "3.9.2", "@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2", "@polkadot/x-rxjs": "^5.6.2",
"bn.js": "^4.11.9" "bn.js": "^4.11.9"
+5 -5
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/api-derive", "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.", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js", "main": "index.js",
"sideEffects": false, "sideEffects": false,
@@ -13,9 +13,9 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/api": "3.9.2", "@polkadot/api": "3.9.3",
"@polkadot/rpc-core": "3.9.2", "@polkadot/rpc-core": "3.9.3",
"@polkadot/types": "3.9.2", "@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2", "@polkadot/util-crypto": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2", "@polkadot/x-rxjs": "^5.6.2",
@@ -23,6 +23,6 @@
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^5.6.2", "@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", "name": "@polkadot/api",
"version": "3.9.2", "version": "3.9.3",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC", "description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js", "main": "index.js",
"sideEffects": [ "sideEffects": [
@@ -16,13 +16,13 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/api-derive": "3.9.2", "@polkadot/api-derive": "3.9.3",
"@polkadot/keyring": "^5.6.2", "@polkadot/keyring": "^5.6.2",
"@polkadot/metadata": "3.9.2", "@polkadot/metadata": "3.9.3",
"@polkadot/rpc-core": "3.9.2", "@polkadot/rpc-core": "3.9.3",
"@polkadot/rpc-provider": "3.9.2", "@polkadot/rpc-provider": "3.9.3",
"@polkadot/types": "3.9.2", "@polkadot/types": "3.9.3",
"@polkadot/types-known": "3.9.2", "@polkadot/types-known": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2", "@polkadot/util-crypto": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2", "@polkadot/x-rxjs": "^5.6.2",
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/metadata", "name": "@polkadot/metadata",
"version": "3.9.2", "version": "3.9.3",
"description": "Helpers to extract information from runtime metadata", "description": "Helpers to extract information from runtime metadata",
"main": "index.js", "main": "index.js",
"sideEffects": [ "sideEffects": [
@@ -16,8 +16,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/types": "3.9.2", "@polkadot/types": "3.9.3",
"@polkadot/types-known": "3.9.2", "@polkadot/types-known": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2", "@polkadot/util-crypto": "^5.6.2",
"bn.js": "^4.11.9" "bn.js": "^4.11.9"
+4 -4
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/rpc-core", "name": "@polkadot/rpc-core",
"version": "3.9.2", "version": "3.9.3",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js", "main": "index.js",
"sideEffects": false, "sideEffects": false,
@@ -13,9 +13,9 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/metadata": "3.9.2", "@polkadot/metadata": "3.9.3",
"@polkadot/rpc-provider": "3.9.2", "@polkadot/rpc-provider": "3.9.3",
"@polkadot/types": "3.9.2", "@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2" "@polkadot/x-rxjs": "^5.6.2"
}, },
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/rpc-provider", "name": "@polkadot/rpc-provider",
"version": "3.9.2", "version": "3.9.3",
"description": "Transport providers for the API", "description": "Transport providers for the API",
"main": "index.js", "main": "index.js",
"sideEffects": false, "sideEffects": false,
@@ -13,7 +13,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/types": "3.9.2", "@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2", "@polkadot/util-crypto": "^5.6.2",
"@polkadot/x-fetch": "^5.6.2", "@polkadot/x-fetch": "^5.6.2",
@@ -24,7 +24,7 @@
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^5.6.2", "@polkadot/keyring": "^5.6.2",
"@polkadot/metadata": "3.9.2", "@polkadot/metadata": "3.9.3",
"mock-socket": "^9.0.3", "mock-socket": "^9.0.3",
"nock": "^13.0.7" "nock": "^13.0.7"
} }
+5 -5
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/typegen", "name": "@polkadot/typegen",
"version": "3.9.2", "version": "3.9.3",
"description": "Type generation scripts", "description": "Type generation scripts",
"main": "index.js", "main": "index.js",
"sideEffects": false, "sideEffects": false,
@@ -22,10 +22,10 @@
"@babel/core": "^7.12.13", "@babel/core": "^7.12.13",
"@babel/register": "^7.12.13", "@babel/register": "^7.12.13",
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/api": "3.9.2", "@polkadot/api": "3.9.3",
"@polkadot/metadata": "3.9.2", "@polkadot/metadata": "3.9.3",
"@polkadot/rpc-provider": "3.9.2", "@polkadot/rpc-provider": "3.9.3",
"@polkadot/types": "3.9.2", "@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"handlebars": "^4.7.6", "handlebars": "^4.7.6",
"websocket": "^1.0.33", "websocket": "^1.0.33",
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/types-known", "name": "@polkadot/types-known",
"version": "3.9.2", "version": "3.9.3",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js", "main": "index.js",
"sideEffects": false, "sideEffects": false,
@@ -14,7 +14,7 @@
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/networks": "^5.6.2", "@polkadot/networks": "^5.6.2",
"@polkadot/types": "3.9.2", "@polkadot/types": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"bn.js": "^4.11.9" "bn.js": "^4.11.9"
}, },
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/types", "name": "@polkadot/types",
"version": "3.9.2", "version": "3.9.3",
"description": "Implementation of the Parity codec", "description": "Implementation of the Parity codec",
"main": "index.js", "main": "index.js",
"sideEffects": [ "sideEffects": [
@@ -16,7 +16,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.12.13", "@babel/runtime": "^7.12.13",
"@polkadot/metadata": "3.9.2", "@polkadot/metadata": "3.9.3",
"@polkadot/util": "^5.6.2", "@polkadot/util": "^5.6.2",
"@polkadot/util-crypto": "^5.6.2", "@polkadot/util-crypto": "^5.6.2",
"@polkadot/x-rxjs": "^5.6.2", "@polkadot/x-rxjs": "^5.6.2",
@@ -254,10 +254,8 @@ export default {
ParaValidatorIndex: 'u32', ParaValidatorIndex: 'u32',
PersistedValidationData: { PersistedValidationData: {
parentHead: 'HeadData', parentHead: 'HeadData',
blockNumber: 'RelayChainBlockNumber', relayParentNumber: 'RelayChainBlockNumber',
relayStorageRoot: 'Hash', relayParentStorageRoot: 'Hash',
hrmpMqcHeads: 'Vec<(u32, Hash)>',
dmqMqcHead: 'Hash',
maxPovSize: 'u32' maxPovSize: 'u32'
}, },
RelayChainBlockNumber: 'u32', RelayChainBlockNumber: 'u32',
@@ -624,10 +624,8 @@ export interface ParaValidatorIndex extends u32 {}
/** @name PersistedValidationData */ /** @name PersistedValidationData */
export interface PersistedValidationData extends Struct { export interface PersistedValidationData extends Struct {
readonly parentHead: HeadData; readonly parentHead: HeadData;
readonly blockNumber: RelayChainBlockNumber; readonly relayParentNumber: RelayChainBlockNumber;
readonly relayStorageRoot: Hash; readonly relayParentStorageRoot: Hash;
readonly hrmpMqcHeads: Vec<ITuple<[u32, Hash]>>;
readonly dmqMqcHead: Hash;
readonly maxPovSize: u32; readonly maxPovSize: u32;
} }
+32 -32
View File
@@ -1743,24 +1743,24 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract" resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies: dependencies:
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/api": 3.9.2 "@polkadot/api": 3.9.3
"@polkadot/types": 3.9.2 "@polkadot/types": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@polkadot/x-rxjs": ^5.6.2 "@polkadot/x-rxjs": ^5.6.2
bn.js: ^4.11.9 bn.js: ^4.11.9
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/api-derive@3.9.2, @polkadot/api-derive@workspace:packages/api-derive": "@polkadot/api-derive@3.9.3, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive" resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies: dependencies:
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/api": 3.9.2 "@polkadot/api": 3.9.3
"@polkadot/keyring": ^5.6.2 "@polkadot/keyring": ^5.6.2
"@polkadot/rpc-core": 3.9.2 "@polkadot/rpc-core": 3.9.3
"@polkadot/rpc-provider": 3.9.2 "@polkadot/rpc-provider": 3.9.3
"@polkadot/types": 3.9.2 "@polkadot/types": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@polkadot/util-crypto": ^5.6.2 "@polkadot/util-crypto": ^5.6.2
"@polkadot/x-rxjs": ^5.6.2 "@polkadot/x-rxjs": ^5.6.2
@@ -1768,18 +1768,18 @@ __metadata:
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/api@3.9.2, @polkadot/api@workspace:packages/api": "@polkadot/api@3.9.3, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api" resolution: "@polkadot/api@workspace:packages/api"
dependencies: dependencies:
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/api-derive": 3.9.2 "@polkadot/api-derive": 3.9.3
"@polkadot/keyring": ^5.6.2 "@polkadot/keyring": ^5.6.2
"@polkadot/metadata": 3.9.2 "@polkadot/metadata": 3.9.3
"@polkadot/rpc-core": 3.9.2 "@polkadot/rpc-core": 3.9.3
"@polkadot/rpc-provider": 3.9.2 "@polkadot/rpc-provider": 3.9.3
"@polkadot/types": 3.9.2 "@polkadot/types": 3.9.3
"@polkadot/types-known": 3.9.2 "@polkadot/types-known": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@polkadot/util-crypto": ^5.6.2 "@polkadot/util-crypto": ^5.6.2
"@polkadot/x-rxjs": ^5.6.2 "@polkadot/x-rxjs": ^5.6.2
@@ -1893,14 +1893,14 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/metadata@3.9.2, @polkadot/metadata@workspace:packages/metadata": "@polkadot/metadata@3.9.3, @polkadot/metadata@workspace:packages/metadata":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/metadata@workspace:packages/metadata" resolution: "@polkadot/metadata@workspace:packages/metadata"
dependencies: dependencies:
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/keyring": ^5.6.2 "@polkadot/keyring": ^5.6.2
"@polkadot/types": 3.9.2 "@polkadot/types": 3.9.3
"@polkadot/types-known": 3.9.2 "@polkadot/types-known": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@polkadot/util-crypto": ^5.6.2 "@polkadot/util-crypto": ^5.6.2
bn.js: ^4.11.9 bn.js: ^4.11.9
@@ -1916,28 +1916,28 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/rpc-core@3.9.2, @polkadot/rpc-core@workspace:packages/rpc-core": "@polkadot/rpc-core@3.9.3, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies: dependencies:
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/keyring": ^5.6.2 "@polkadot/keyring": ^5.6.2
"@polkadot/metadata": 3.9.2 "@polkadot/metadata": 3.9.3
"@polkadot/rpc-provider": 3.9.2 "@polkadot/rpc-provider": 3.9.3
"@polkadot/types": 3.9.2 "@polkadot/types": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@polkadot/x-rxjs": ^5.6.2 "@polkadot/x-rxjs": ^5.6.2
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/rpc-provider@3.9.2, @polkadot/rpc-provider@workspace:packages/rpc-provider": "@polkadot/rpc-provider@3.9.3, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies: dependencies:
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/keyring": ^5.6.2 "@polkadot/keyring": ^5.6.2
"@polkadot/metadata": 3.9.2 "@polkadot/metadata": 3.9.3
"@polkadot/types": 3.9.2 "@polkadot/types": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@polkadot/util-crypto": ^5.6.2 "@polkadot/util-crypto": ^5.6.2
"@polkadot/x-fetch": ^5.6.2 "@polkadot/x-fetch": ^5.6.2
@@ -1966,10 +1966,10 @@ __metadata:
"@babel/core": ^7.12.13 "@babel/core": ^7.12.13
"@babel/register": ^7.12.13 "@babel/register": ^7.12.13
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/api": 3.9.2 "@polkadot/api": 3.9.3
"@polkadot/metadata": 3.9.2 "@polkadot/metadata": 3.9.3
"@polkadot/rpc-provider": 3.9.2 "@polkadot/rpc-provider": 3.9.3
"@polkadot/types": 3.9.2 "@polkadot/types": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@types/websocket": ^1.0.1 "@types/websocket": ^1.0.1
"@types/yargs": ^16.0.0 "@types/yargs": ^16.0.0
@@ -1985,26 +1985,26 @@ __metadata:
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/types-known@3.9.2, @polkadot/types-known@workspace:packages/types-known": "@polkadot/types-known@3.9.3, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known" resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies: dependencies:
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/networks": ^5.6.2 "@polkadot/networks": ^5.6.2
"@polkadot/types": 3.9.2 "@polkadot/types": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@types/bn.js": ^4.11.6 "@types/bn.js": ^4.11.6
bn.js: ^4.11.9 bn.js: ^4.11.9
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/types@3.9.2, @polkadot/types@workspace:packages/types": "@polkadot/types@3.9.3, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types" resolution: "@polkadot/types@workspace:packages/types"
dependencies: dependencies:
"@babel/runtime": ^7.12.13 "@babel/runtime": ^7.12.13
"@polkadot/keyring": ^5.6.2 "@polkadot/keyring": ^5.6.2
"@polkadot/metadata": 3.9.2 "@polkadot/metadata": 3.9.3
"@polkadot/util": ^5.6.2 "@polkadot/util": ^5.6.2
"@polkadot/util-crypto": ^5.6.2 "@polkadot/util-crypto": ^5.6.2
"@polkadot/x-rxjs": ^5.6.2 "@polkadot/x-rxjs": ^5.6.2