Compare commits

...
4 Commits
Author SHA1 Message Date
Github Actions f623b382f7 [CI Skip] release/stable 3.7.2
skip-checks: true
2021-02-02 07:50:56 +00:00
Jaco Greeff 51537c619a Adjust Keys fro 28 (#3135)
* Adjust Keys fro 28

* 3.7.2
2021-02-02 08:41:24 +01:00
Github Actions 3df943572f [CI Skip] release/beta 3.7.2-0
skip-checks: true
2021-02-01 20:22:53 +00:00
Jaco Greeff aa10804f6f Westend upgrade block for 48 (#3134) 2021-02-01 21:13:58 +01:00
17 changed files with 98 additions and 79 deletions
+2 -1
View File
@@ -12,4 +12,5 @@
3.3.2
3.6.2
3.6.3
3.6.4
3.6.4
3.7.2
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## 3.7.2 Feb 2, 2021
Changes:
- Adjusted the `Keys` type for the 28 runtime on Kusama, Polkadot & Westend
## 3.7.1 Feb 1, 2021
Upgrade priority: Low. However recommended for current Substrate master, Polkadot and Rococo users and those wishing to support the upcoming Polkadot 28 runtime with the new `MultiAddress`.
+1 -1
View File
@@ -34,5 +34,5 @@
"@types/jest": "^26.0.20",
"copyfiles": "^2.4.1"
},
"version": "3.7.1"
"version": "3.7.2"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "3.7.1",
"version": "3.7.2",
"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.5",
"@polkadot/api": "3.7.1",
"@polkadot/types": "3.7.1",
"@polkadot/api": "3.7.2",
"@polkadot/types": "3.7.2",
"@polkadot/util": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1",
"bn.js": "^4.11.9"
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "3.7.1",
"version": "3.7.2",
"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.5",
"@polkadot/api": "3.7.1",
"@polkadot/rpc-core": "3.7.1",
"@polkadot/types": "3.7.1",
"@polkadot/api": "3.7.2",
"@polkadot/rpc-core": "3.7.2",
"@polkadot/types": "3.7.2",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1",
@@ -23,6 +23,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^5.5.1",
"@polkadot/rpc-provider": "3.7.1"
"@polkadot/rpc-provider": "3.7.2"
}
}
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "3.7.1",
"version": "3.7.2",
"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.5",
"@polkadot/api-derive": "3.7.1",
"@polkadot/api-derive": "3.7.2",
"@polkadot/keyring": "^5.5.1",
"@polkadot/metadata": "3.7.1",
"@polkadot/rpc-core": "3.7.1",
"@polkadot/rpc-provider": "3.7.1",
"@polkadot/types": "3.7.1",
"@polkadot/types-known": "3.7.1",
"@polkadot/metadata": "3.7.2",
"@polkadot/rpc-core": "3.7.2",
"@polkadot/rpc-provider": "3.7.2",
"@polkadot/types": "3.7.2",
"@polkadot/types-known": "3.7.2",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/metadata",
"version": "3.7.1",
"version": "3.7.2",
"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.5",
"@polkadot/types": "3.7.1",
"@polkadot/types-known": "3.7.1",
"@polkadot/types": "3.7.2",
"@polkadot/types-known": "3.7.2",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"bn.js": "^4.11.9"
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "3.7.1",
"version": "3.7.2",
"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.5",
"@polkadot/metadata": "3.7.1",
"@polkadot/rpc-provider": "3.7.1",
"@polkadot/types": "3.7.1",
"@polkadot/metadata": "3.7.2",
"@polkadot/rpc-provider": "3.7.2",
"@polkadot/types": "3.7.2",
"@polkadot/util": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1"
},
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "3.7.1",
"version": "3.7.2",
"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.5",
"@polkadot/types": "3.7.1",
"@polkadot/types": "3.7.2",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"@polkadot/x-fetch": "^5.5.1",
@@ -24,7 +24,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^5.5.1",
"@polkadot/metadata": "3.7.1",
"@polkadot/metadata": "3.7.2",
"mock-socket": "^9.0.3",
"nock": "^13.0.7"
}
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "3.7.1",
"version": "3.7.2",
"description": "Type generation scripts",
"main": "index.js",
"sideEffects": false,
@@ -22,10 +22,10 @@
"@babel/core": "^7.12.10",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@polkadot/api": "3.7.1",
"@polkadot/metadata": "3.7.1",
"@polkadot/rpc-provider": "3.7.1",
"@polkadot/types": "3.7.1",
"@polkadot/api": "3.7.2",
"@polkadot/metadata": "3.7.2",
"@polkadot/rpc-provider": "3.7.2",
"@polkadot/types": "3.7.2",
"@polkadot/util": "^5.5.1",
"handlebars": "^4.7.6",
"websocket": "^1.0.33",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "3.7.1",
"version": "3.7.2",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"sideEffects": false,
@@ -13,7 +13,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.7.1",
"@polkadot/types": "3.7.2",
"@polkadot/util": "^5.5.1",
"bn.js": "^4.11.9"
},
+9 -4
View File
@@ -8,23 +8,28 @@ import type { OverrideVersionedType } from '@polkadot/types/types';
const sharedTypes = {
AccountInfo: 'AccountInfoWithProviders',
Address: 'MultiAddress',
Keys: 'SessionKeys5',
Keys: 'SessionKeys6',
LookupSource: 'MultiAddress',
ProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement']
}
},
ValidatorPrefs: 'ValidatorPrefsWithBlocked'
};
const addrIndicesTypes = {
AccountInfo: 'AccountInfoWithRefCount',
Address: 'LookupSource',
LookupSource: 'IndicesLookupSource'
Keys: 'SessionKeys5',
LookupSource: 'IndicesLookupSource',
ValidatorPrefs: 'ValidatorPrefsWithCommission'
};
const addrAccountIdTypes = {
AccountInfo: 'AccountInfoWithRefCount',
Address: 'AccountId',
LookupSource: 'AccountId'
Keys: 'SessionKeys5',
LookupSource: 'AccountId',
ValidatorPrefs: 'ValidatorPrefsWithCommission'
};
const versioned: OverrideVersionedType[] = [
+6 -3
View File
@@ -8,18 +8,21 @@ import type { OverrideVersionedType } from '@polkadot/types/types';
const sharedTypes = {
AccountInfo: 'AccountInfoWithProviders',
Address: 'MultiAddress',
Keys: 'SessionKeys5',
Keys: 'SessionKeys6',
LookupSource: 'MultiAddress',
ProxyType: {
// was: SudoBalances
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'Unused', 'IdentityJudgement']
}
},
ValidatorPrefs: 'ValidatorPrefsWithBlocked'
};
const addrAccountIdTypes = {
AccountInfo: 'AccountInfoWithRefCount',
Address: 'AccountId',
LookupSource: 'AccountId'
Keys: 'SessionKeys5',
LookupSource: 'AccountId',
ValidatorPrefs: 'ValidatorPrefsWithCommission'
};
// these are override types for Polkadot
+6 -3
View File
@@ -8,18 +8,21 @@ import type { OverrideVersionedType } from '@polkadot/types/types';
const sharedTypes = {
AccountInfo: 'AccountInfoWithProviders',
Address: 'MultiAddress',
Keys: 'SessionKeys5',
Keys: 'SessionKeys6',
LookupSource: 'MultiAddress',
ProxyType: {
// was: SudoBalances
_enum: ['Any', 'NonTransfer', 'Staking', 'Unused', 'IdentityJudgement']
}
},
ValidatorPrefs: 'ValidatorPrefsWithBlocked'
};
const addrAccountIdTypes = {
AccountInfo: 'AccountInfoWithRefCount',
Address: 'AccountId',
LookupSource: 'AccountId'
LookupSource: 'AccountId',
Keys: 'SessionKeys5',
ValidatorPrefs: 'ValidatorPrefsWithCommission'
};
const versioned: OverrideVersionedType[] = [
+1 -1
View File
@@ -10,7 +10,7 @@ const upgrades: ChainUpgradesRaw = {
[879238, 25], [889472, 26], [902937, 27], [932751, 28], [991142, 29],
[1030162, 31], [1119657, 32], [1199282, 33], [1342534, 34], [1392263, 35],
[1431703, 36], [1433369, 37], [1490972, 41], [2087397, 43], [2316688, 44],
[2549864, 45], [3925782, 46], [3925843, 47]
[2549864, 45], [3925782, 46], [3925843, 47], [4207800, 48]
]
};
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "3.7.1",
"version": "3.7.2",
"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.5",
"@polkadot/metadata": "3.7.1",
"@polkadot/metadata": "3.7.2",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1",
+32 -32
View File
@@ -1622,24 +1622,24 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api": 3.7.1
"@polkadot/types": 3.7.1
"@polkadot/api": 3.7.2
"@polkadot/types": 3.7.2
"@polkadot/util": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
bn.js: ^4.11.9
languageName: unknown
linkType: soft
"@polkadot/api-derive@3.7.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@3.7.2, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api": 3.7.1
"@polkadot/api": 3.7.2
"@polkadot/keyring": ^5.5.1
"@polkadot/rpc-core": 3.7.1
"@polkadot/rpc-provider": 3.7.1
"@polkadot/types": 3.7.1
"@polkadot/rpc-core": 3.7.2
"@polkadot/rpc-provider": 3.7.2
"@polkadot/types": 3.7.2
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
@@ -1647,18 +1647,18 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@3.7.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@3.7.2, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api-derive": 3.7.1
"@polkadot/api-derive": 3.7.2
"@polkadot/keyring": ^5.5.1
"@polkadot/metadata": 3.7.1
"@polkadot/rpc-core": 3.7.1
"@polkadot/rpc-provider": 3.7.1
"@polkadot/types": 3.7.1
"@polkadot/types-known": 3.7.1
"@polkadot/metadata": 3.7.2
"@polkadot/rpc-core": 3.7.2
"@polkadot/rpc-provider": 3.7.2
"@polkadot/types": 3.7.2
"@polkadot/types-known": 3.7.2
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
@@ -1772,14 +1772,14 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/metadata@3.7.1, @polkadot/metadata@workspace:packages/metadata":
"@polkadot/metadata@3.7.2, @polkadot/metadata@workspace:packages/metadata":
version: 0.0.0-use.local
resolution: "@polkadot/metadata@workspace:packages/metadata"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/keyring": ^5.5.1
"@polkadot/types": 3.7.1
"@polkadot/types-known": 3.7.1
"@polkadot/types": 3.7.2
"@polkadot/types-known": 3.7.2
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
bn.js: ^4.11.9
@@ -1795,28 +1795,28 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-core@3.7.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@3.7.2, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/keyring": ^5.5.1
"@polkadot/metadata": 3.7.1
"@polkadot/rpc-provider": 3.7.1
"@polkadot/types": 3.7.1
"@polkadot/metadata": 3.7.2
"@polkadot/rpc-provider": 3.7.2
"@polkadot/types": 3.7.2
"@polkadot/util": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@3.7.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@3.7.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/keyring": ^5.5.1
"@polkadot/metadata": 3.7.1
"@polkadot/types": 3.7.1
"@polkadot/metadata": 3.7.2
"@polkadot/types": 3.7.2
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
"@polkadot/x-fetch": ^5.5.1
@@ -1845,10 +1845,10 @@ __metadata:
"@babel/core": ^7.12.10
"@babel/register": ^7.12.10
"@babel/runtime": ^7.12.5
"@polkadot/api": 3.7.1
"@polkadot/metadata": 3.7.1
"@polkadot/rpc-provider": 3.7.1
"@polkadot/types": 3.7.1
"@polkadot/api": 3.7.2
"@polkadot/metadata": 3.7.2
"@polkadot/rpc-provider": 3.7.2
"@polkadot/types": 3.7.2
"@polkadot/util": ^5.5.1
"@types/websocket": ^1.0.1
"@types/yargs": ^15.0.13
@@ -1864,25 +1864,25 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-known@3.7.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@3.7.2, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/types": 3.7.1
"@polkadot/types": 3.7.2
"@polkadot/util": ^5.5.1
"@types/bn.js": ^4.11.6
bn.js: ^4.11.9
languageName: unknown
linkType: soft
"@polkadot/types@3.7.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@3.7.2, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/keyring": ^5.5.1
"@polkadot/metadata": 3.7.1
"@polkadot/metadata": 3.7.2
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1