Add Polkadot update blocks for runtime 25 (#2725)

* Add Polkadot update blocks for runtime 25

* Update manual linting

* Bump deps
This commit is contained in:
Jaco Greeff
2020-10-15 01:32:04 +02:00
committed by GitHub
parent a8a10aec0c
commit 074ddd8632
14 changed files with 75 additions and 64 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
"@polkadot/api": "2.2.2-3",
"@polkadot/rpc-core": "2.2.2-3",
"@polkadot/types": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"bn.js": "^5.1.3",
"rxjs": "^6.6.3"
}
+3 -3
View File
@@ -32,13 +32,13 @@
"@polkadot/rpc-core": "2.2.2-3",
"@polkadot/rpc-provider": "2.2.2-3",
"@polkadot/types": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util-crypto": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"@polkadot/util-crypto": "^3.6.0-beta.7",
"bn.js": "^5.1.3",
"memoizee": "^0.4.14",
"rxjs": "^6.6.3"
},
"devDependencies": {
"@polkadot/keyring": "^3.5.1"
"@polkadot/keyring": "^3.6.0-beta.7"
}
}
+4 -4
View File
@@ -28,19 +28,19 @@
"dependencies": {
"@babel/runtime": "^7.11.2",
"@polkadot/api-derive": "2.2.2-3",
"@polkadot/keyring": "^3.5.1",
"@polkadot/keyring": "^3.6.0-beta.7",
"@polkadot/metadata": "2.2.2-3",
"@polkadot/rpc-core": "2.2.2-3",
"@polkadot/rpc-provider": "2.2.2-3",
"@polkadot/types": "2.2.2-3",
"@polkadot/types-known": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util-crypto": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"@polkadot/util-crypto": "^3.6.0-beta.7",
"bn.js": "^5.1.3",
"eventemitter3": "^4.0.7",
"rxjs": "^6.6.3"
},
"devDependencies": {
"@polkadot/keyring": "^3.5.1"
"@polkadot/keyring": "^3.6.0-beta.7"
}
}
+3 -3
View File
@@ -72,15 +72,15 @@ async function query (api: ApiPromise, keyring: TestKeyringMap): Promise<void> {
console.log(multiRes);
// events destructing
api.query.system.events((records): void => {
await api.query.system.events((records): void => {
records.forEach(({ event, phase }): void => {
if (phase.isApplyExtrinsic) {
// Dunno... this should work
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
const [accountId, value]: [AccountId, Balance] = event.data;
console.log(`${accountId} has ${value.toHuman()}`);
console.log(`${accountId.toString()} has ${value.toHuman()}`);
}
});
});
+3 -3
View File
@@ -29,11 +29,11 @@
"@babel/runtime": "^7.11.2",
"@polkadot/types": "2.2.2-3",
"@polkadot/types-known": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util-crypto": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"@polkadot/util-crypto": "^3.6.0-beta.7",
"bn.js": "^5.1.3"
},
"devDependencies": {
"@polkadot/keyring": "^3.5.1"
"@polkadot/keyring": "^3.6.0-beta.7"
}
}
+2 -2
View File
@@ -30,11 +30,11 @@
"@polkadot/metadata": "2.2.2-3",
"@polkadot/rpc-provider": "2.2.2-3",
"@polkadot/types": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"memoizee": "^0.4.14",
"rxjs": "^6.6.3"
},
"devDependencies": {
"@polkadot/keyring": "^3.5.1"
"@polkadot/keyring": "^3.6.0-beta.7"
}
}
+3 -3
View File
@@ -29,15 +29,15 @@
"@babel/runtime": "^7.11.2",
"@polkadot/metadata": "2.2.2-3",
"@polkadot/types": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util-crypto": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"@polkadot/util-crypto": "^3.6.0-beta.7",
"@polkadot/x-fetch": "^0.3.2",
"@polkadot/x-ws": "^0.3.2",
"bn.js": "^5.1.3",
"eventemitter3": "^4.0.7"
},
"devDependencies": {
"@polkadot/keyring": "^3.5.1",
"@polkadot/keyring": "^3.6.0-beta.7",
"mock-socket": "^9.0.3",
"nock": "^13.0.4"
}
+1 -1
View File
@@ -40,7 +40,7 @@
"@polkadot/metadata": "2.2.2-3",
"@polkadot/rpc-provider": "2.2.2-3",
"@polkadot/types": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"handlebars": "^4.7.6",
"websocket": "^1.0.32",
"yargs": "^16.0.3"
+1 -1
View File
@@ -28,7 +28,7 @@
"dependencies": {
"@babel/runtime": "^7.11.2",
"@polkadot/types": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"bn.js": "^5.1.3"
},
"devDependencies": {
+1 -1
View File
@@ -13,7 +13,7 @@ const upgrades: ChainUpgradesRaw = {
[1472960, 1052], [1475648, 1053], [1491596, 1054], [1574408, 1055], [2064961, 1058],
[2201991, 1062], [2671528, 2005], [2704202, 2007], [2728002, 2008], [2832534, 2011],
[2962294, 2012], [3240000, 2013], [3274408, 2015], [3323565, 2019], [3534175, 2022],
[3860281, 2023], [4143129, 2024]
[3860281, 2023], [4143129, 2024], [4401242, 2025]
]
};
@@ -9,7 +9,7 @@ const upgrades: ChainUpgradesRaw = {
[0, 0], [29231, 1], [188836, 5], [199405, 6], [214264, 7],
[244358, 8], [303079, 9], [314201, 10], [342400, 11], [443963, 12],
[528470, 13], [687751, 14], [746085, 15], [787923, 16], [799302, 17],
[1205128, 18], [1603423, 23], [1733218, 24]
[1205128, 18], [1603423, 23], [1733218, 24], [2005673, 25]
]
};
+2 -1
View File
@@ -9,7 +9,8 @@ const upgrades: ChainUpgradesRaw = {
[214356, 4], [392764, 7], [409740, 8], [809976, 20], [877581, 24],
[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]
[1431703, 36], [1433369, 37], [1490972, 41], [2087397, 43], [2316688, 44],
[2549864, 45]
]
};
+3 -3
View File
@@ -28,15 +28,15 @@
"dependencies": {
"@babel/runtime": "^7.11.2",
"@polkadot/metadata": "2.2.2-3",
"@polkadot/util": "^3.5.1",
"@polkadot/util-crypto": "^3.5.1",
"@polkadot/util": "^3.6.0-beta.7",
"@polkadot/util-crypto": "^3.6.0-beta.7",
"@types/bn.js": "^4.11.6",
"bn.js": "^5.1.3",
"memoizee": "^0.4.14",
"rxjs": "^6.6.3"
},
"devDependencies": {
"@polkadot/keyring": "^3.5.1",
"@polkadot/keyring": "^3.6.0-beta.7",
"@types/memoizee": "^0.4.4"
}
}