Compare commits

..
4 Commits
Author SHA1 Message Date
github-actions[bot] 03647c9b86 [CI Skip] release/stable 9.10.5
skip-checks: true
2022-12-27 16:03:15 +00:00
Jaco 28d9bb7053 9.10.5 (#5390)
* 9.10.5

* Adjust
2022-12-27 17:54:38 +02:00
github-actions[bot] 364a6decae [CI Skip] bump/beta 9.10.5-0-x
skip-checks: true
2022-12-26 08:02:35 +00:00
Jaco fed75806d7 Bump dev (#5389) 2022-12-26 09:54:25 +02:00
37 changed files with 475 additions and 396 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## 9.10.5 Dec 27, 2022
Changes:
- Revert 9.10.4 paymentInfo changes (fallback only works on struct, not `Weight`)
## 9.10.4 Dec 25, 2022
Changes:
+1 -1
View File
@@ -1,4 +1,4 @@
3309 Jaco 9.10.4 (#5388)
3311 Jaco 9.10.5 (#5390)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709)
+4 -4
View File
@@ -11,10 +11,10 @@
},
"sideEffects": false,
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"versions": {
"git": "9.10.4",
"npm": "9.10.4"
"git": "9.10.5",
"npm": "9.10.5"
},
"workspaces": [
"packages/*"
@@ -39,7 +39,7 @@
"@babel/core": "^7.20.5",
"@babel/register": "^7.18.9",
"@babel/runtime": "^7.20.6",
"@polkadot/dev": "^0.67.173",
"@polkadot/dev": "^0.67.175",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^29.2.4",
"copyfiles": "^2.4.1"
+7 -7
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/api-base": "9.10.4",
"@polkadot/rpc-augment": "9.10.4",
"@polkadot/types": "9.10.4",
"@polkadot/types-augment": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/api-base": "9.10.5",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1"
},
"devDependencies": {
"@polkadot/types-support": "9.10.4"
"@polkadot/types-support": "9.10.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.10.5' };
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/rpc-core": "9.10.4",
"@polkadot/types": "9.10.4",
"@polkadot/rpc-core": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/util": "^10.2.1",
"rxjs": "^7.8.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.10.5' };
+6 -6
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/api": "9.10.4",
"@polkadot/types": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/types-create": "9.10.4",
"@polkadot/api": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/api-augment": "9.10.4",
"@polkadot/api-augment": "9.10.5",
"@polkadot/keyring": "^10.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.10.5' };
+12 -12
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/api": "9.10.4",
"@polkadot/api-augment": "9.10.4",
"@polkadot/api-base": "9.10.4",
"@polkadot/rpc-core": "9.10.4",
"@polkadot/types": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/api": "9.10.5",
"@polkadot/api-augment": "9.10.5",
"@polkadot/api-base": "9.10.5",
"@polkadot/rpc-core": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/api": "9.10.4",
"@polkadot/api-augment": "9.10.4",
"@polkadot/rpc-augment": "9.10.4",
"@polkadot/rpc-provider": "9.10.4",
"@polkadot/types-support": "9.10.4"
"@polkadot/api": "9.10.5",
"@polkadot/api-augment": "9.10.5",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/rpc-provider": "9.10.5",
"@polkadot/types-support": "9.10.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.10.5' };
+14 -14
View File
@@ -20,29 +20,29 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/api-augment": "9.10.4",
"@polkadot/api-base": "9.10.4",
"@polkadot/api-derive": "9.10.4",
"@polkadot/api-augment": "9.10.5",
"@polkadot/api-base": "9.10.5",
"@polkadot/api-derive": "9.10.5",
"@polkadot/keyring": "^10.2.1",
"@polkadot/rpc-augment": "9.10.4",
"@polkadot/rpc-core": "9.10.4",
"@polkadot/rpc-provider": "9.10.4",
"@polkadot/types": "9.10.4",
"@polkadot/types-augment": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/types-create": "9.10.4",
"@polkadot/types-known": "9.10.4",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/rpc-core": "9.10.5",
"@polkadot/rpc-provider": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/types-known": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"eventemitter3": "^4.0.7",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/api-augment": "9.10.4",
"@polkadot/types-support": "9.10.4"
"@polkadot/api-augment": "9.10.5",
"@polkadot/types-support": "9.10.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.10.5' };
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/rpc-core": "9.10.4",
"@polkadot/types": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/rpc-core": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.10.5' };
+5 -5
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/rpc-augment": "9.10.4",
"@polkadot/rpc-provider": "9.10.4",
"@polkadot/types": "9.10.4",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/rpc-provider": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/util": "^10.2.1",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/keyring": "^10.2.1",
"@polkadot/rpc-augment": "9.10.4"
"@polkadot/rpc-augment": "9.10.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.10.5' };
+3 -3
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/keyring": "^10.2.1",
"@polkadot/types": "9.10.4",
"@polkadot/types-support": "9.10.4",
"@polkadot/types": "9.10.5",
"@polkadot/types-support": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"@polkadot/x-fetch": "^10.2.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.10.5' };
+10 -10
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,15 +33,15 @@
"@babel/core": "^7.20.5",
"@babel/register": "^7.18.9",
"@babel/runtime": "^7.20.6",
"@polkadot/api": "9.10.4",
"@polkadot/api-augment": "9.10.4",
"@polkadot/rpc-augment": "9.10.4",
"@polkadot/rpc-provider": "9.10.4",
"@polkadot/types": "9.10.4",
"@polkadot/types-augment": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/types-create": "9.10.4",
"@polkadot/types-support": "9.10.4",
"@polkadot/api": "9.10.5",
"@polkadot/api-augment": "9.10.5",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/rpc-provider": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/types-support": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"@polkadot/x-ws": "^10.2.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.10.5' };
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/types": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.10.5' };
+4 -4
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
@@ -28,9 +28,9 @@
"@polkadot/x-bigint": "^10.2.1"
},
"devDependencies": {
"@polkadot/types": "9.10.4",
"@polkadot/types-augment": "9.10.4",
"@polkadot/types-support": "9.10.4",
"@polkadot/types": "9.10.5",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-support": "9.10.5",
"@polkadot/util-crypto": "^10.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.10.5' };
+3 -3
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/types-codec": "9.10.4",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1"
},
"devDependencies": {
"@polkadot/types": "9.10.4"
"@polkadot/types": "9.10.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.10.5' };
+5 -5
View File
@@ -20,17 +20,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/networks": "^10.2.1",
"@polkadot/types": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/types-create": "9.10.4",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/util": "^10.2.1"
},
"devDependencies": {
"@polkadot/api": "9.10.4"
"@polkadot/api": "9.10.5"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.10.5' };
+1 -1
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.10.5' };
+5 -5
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.4",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/keyring": "^10.2.1",
"@polkadot/types-augment": "9.10.4",
"@polkadot/types-codec": "9.10.4",
"@polkadot/types-create": "9.10.4",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/keyring": "^10.2.1",
"@polkadot/types-support": "9.10.4"
"@polkadot/types-support": "9.10.5"
}
}
@@ -29,13 +29,6 @@ export default {
partialFee: 'Balance'
},
RuntimeDispatchInfoV1: {
// NOTE: Generally we always point high -> low, however in this case we do have some _potential_
// discrepancies where some nodes may not return the correct RPC responses. Basically any node that
// is on WeightV2 and does not yet include https://github.com/paritytech/substrate/pull/12633 would
// have unparsable results. So effectively this makes the API not fail in those cases, however it
// will create "some" chaos on the side of the users who does expect the correct response.
// TL:DR Somebody _will_ still break since in cases where the RPCs are "between fixes"
__fallback: 'RuntimeDispatchInfoV2',
weight: 'WeightV1',
class: 'DispatchClass',
partialFee: 'Balance'
@@ -74,11 +74,11 @@ export const runtime: DefinitionsCall = {
type: 'u32'
}
],
// NOTE: For some versions of the runtime which have not been corrected, there _could_ be a
// wrong reponse returned, i.e. RuntimeDispatchInfoV2. (See the comment applying to both
// RPC and state_call in definitions -> RuntimeDispatchInfoV1 for the fallbacks)
// TL;DR This is correct based on Substrate, but _may_ yield fallbacks on certain runtimes
type: 'RuntimeDispatchInfoV1'
// NOTE: _Should_ be V1 (as per current Substrate), however the interface was
// changed mid-flight between versions. So we have some of each depending on
// runtime. (We do detect the weight type, so correct)
// type: 'RuntimeDispatchInfoV1'
type: 'RuntimeDispatchInfo'
}
}, V1_V2_SHARED_PAY),
version: 1
@@ -120,7 +120,7 @@ export const runtime: DefinitionsCall = {
],
// NOTE: As per the above comment, the below is correct according to Substrate, but
// _may_ yield fallback decoding on some versions of the runtime
type: 'RuntimeDispatchInfoV1'
type: 'RuntimeDispatchInfo'
}
}, V1_V2_SHARED_CALL),
version: 1
@@ -26,7 +26,6 @@ export interface RuntimeDispatchInfo extends Struct {
/** @name RuntimeDispatchInfoV1 */
export interface RuntimeDispatchInfoV1 extends Struct {
readonly __fallback: RuntimeDispatchInfoV2;
readonly weight: WeightV1;
readonly class: DispatchClass;
readonly partialFee: Balance;
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.10.4' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.10.5' };
+357 -277
View File
File diff suppressed because it is too large Load Diff