Compare commits

...
6 Commits
Author SHA1 Message Date
github-actions[bot] 2f07e1c45f [CI Skip] release/stable 10.7.3
skip-checks: true
2023-05-28 08:05:22 +00:00
Jaco 39eff81207 10.7.3 (#5660) 2023-05-28 10:56:30 +03:00
github-actions[bot] 19f3c5b16b [CI Skip] bump/beta 10.7.3-1-x
skip-checks: true
2023-05-26 05:13:37 +00:00
Jaco cdd74ea084 .paymentInfo never mutates the existing signature (#5659) 2023-05-26 08:02:18 +03:00
github-actions[bot] 54c96ed975 [CI Skip] bump/beta 10.7.3-0-x
skip-checks: true
2023-05-25 07:41:17 +00:00
Jaco 4e507246e3 jg-bump-deps (#5656) 2023-05-25 10:30:06 +03:00
36 changed files with 305 additions and 569 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## 10.7.3 May 28, 2023
Changes:
- Ensure that `.paymentInfo` never mutates the underlying/existing signature
## 10.7.2 May 21, 2023
Contributed:
+1 -1
View File
@@ -1,4 +1,4 @@
3464 Jaco 10.7.2 (#5652)
3467 Jaco 10.7.3 (#5660)
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)
+5 -5
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"versions": {
"git": "10.7.2",
"npm": "10.7.2"
"git": "10.7.3",
"npm": "10.7.3"
},
"workspaces": [
"packages/*"
@@ -40,9 +40,9 @@
"test:one": "polkadot-dev-run-test --env node"
},
"devDependencies": {
"@polkadot/dev": "^0.75.4",
"@polkadot/dev": "^0.75.10",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/node": "^20.2.1"
"@types/node": "^20.2.5"
},
"resolutions": {
"typescript": "^5.0.4"
+6 -6
View File
@@ -18,14 +18,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "10.7.2",
"@polkadot/rpc-augment": "10.7.2",
"@polkadot/types": "10.7.2",
"@polkadot/types-augment": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/api-base": "10.7.3",
"@polkadot/rpc-augment": "10.7.3",
"@polkadot/types": "10.7.3",
"@polkadot/types-augment": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/util": "^12.2.1",
"tslib": "^2.5.2"
}
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.7.3' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "10.7.2",
"@polkadot/types": "10.7.2",
"@polkadot/rpc-core": "10.7.3",
"@polkadot/types": "10.7.3",
"@polkadot/util": "^12.2.1",
"rxjs": "^7.8.1",
"tslib": "^2.5.2"
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.7.3' };
+6 -6
View File
@@ -18,20 +18,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/api": "10.7.2",
"@polkadot/types": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/types-create": "10.7.2",
"@polkadot/api": "10.7.3",
"@polkadot/types": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/types-create": "10.7.3",
"@polkadot/util": "^12.2.1",
"@polkadot/util-crypto": "^12.2.1",
"rxjs": "^7.8.1",
"tslib": "^2.5.2"
},
"devDependencies": {
"@polkadot/api-augment": "10.7.2",
"@polkadot/api-augment": "10.7.3",
"@polkadot/keyring": "^12.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: '10.7.2' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.7.3' };
+12 -12
View File
@@ -18,25 +18,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/api": "10.7.2",
"@polkadot/api-augment": "10.7.2",
"@polkadot/api-base": "10.7.2",
"@polkadot/rpc-core": "10.7.2",
"@polkadot/types": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/api": "10.7.3",
"@polkadot/api-augment": "10.7.3",
"@polkadot/api-base": "10.7.3",
"@polkadot/rpc-core": "10.7.3",
"@polkadot/types": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/util": "^12.2.1",
"@polkadot/util-crypto": "^12.2.1",
"rxjs": "^7.8.1",
"tslib": "^2.5.2"
},
"devDependencies": {
"@polkadot/api": "10.7.2",
"@polkadot/api-augment": "10.7.2",
"@polkadot/rpc-augment": "10.7.2",
"@polkadot/rpc-provider": "10.7.2",
"@polkadot/types-support": "10.7.2"
"@polkadot/api": "10.7.3",
"@polkadot/api-augment": "10.7.3",
"@polkadot/rpc-augment": "10.7.3",
"@polkadot/rpc-provider": "10.7.3",
"@polkadot/types-support": "10.7.3"
}
}
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.7.3' };
+14 -14
View File
@@ -18,21 +18,21 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "10.7.2",
"@polkadot/api-base": "10.7.2",
"@polkadot/api-derive": "10.7.2",
"@polkadot/api-augment": "10.7.3",
"@polkadot/api-base": "10.7.3",
"@polkadot/api-derive": "10.7.3",
"@polkadot/keyring": "^12.2.1",
"@polkadot/rpc-augment": "10.7.2",
"@polkadot/rpc-core": "10.7.2",
"@polkadot/rpc-provider": "10.7.2",
"@polkadot/types": "10.7.2",
"@polkadot/types-augment": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/types-create": "10.7.2",
"@polkadot/types-known": "10.7.2",
"@polkadot/rpc-augment": "10.7.3",
"@polkadot/rpc-core": "10.7.3",
"@polkadot/rpc-provider": "10.7.3",
"@polkadot/types": "10.7.3",
"@polkadot/types-augment": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/types-create": "10.7.3",
"@polkadot/types-known": "10.7.3",
"@polkadot/util": "^12.2.1",
"@polkadot/util-crypto": "^12.2.1",
"eventemitter3": "^5.0.1",
@@ -40,7 +40,7 @@
"tslib": "^2.5.2"
},
"devDependencies": {
"@polkadot/api-augment": "10.7.2",
"@polkadot/types-support": "10.7.2"
"@polkadot/api-augment": "10.7.3",
"@polkadot/types-support": "10.7.3"
}
}
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.7.3' };
+5 -3
View File
@@ -160,9 +160,11 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
// setup our options (same way as in signAndSend)
const eraOptions = makeEraOptions(api, this.registry, allOptions, signingInfo);
const signOptions = makeSignOptions(api, eraOptions, {});
const u8a = this.isSigned
? api.tx(this).signFake(address, signOptions).toU8a()
: this.signFake(address, signOptions).toU8a();
// 1. Don't use the internal objects inside the new tx (hence toU8a)
// 2. Don't override the data from existing signed extrinsics
// 3. Ensure that this object stays intact, with no new sign after operation
const u8a = api.tx(this.toU8a()).signFake(address, signOptions).toU8a();
return api.call.transactionPaymentApi.queryInfo(u8a, u8a.length);
})
+4 -4
View File
@@ -18,12 +18,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "10.7.2",
"@polkadot/types": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/rpc-core": "10.7.3",
"@polkadot/types": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/util": "^12.2.1",
"tslib": "^2.5.2"
}
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.7.3' };
+5 -5
View File
@@ -18,18 +18,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "10.7.2",
"@polkadot/rpc-provider": "10.7.2",
"@polkadot/types": "10.7.2",
"@polkadot/rpc-augment": "10.7.3",
"@polkadot/rpc-provider": "10.7.3",
"@polkadot/types": "10.7.3",
"@polkadot/util": "^12.2.1",
"rxjs": "^7.8.1",
"tslib": "^2.5.2"
},
"devDependencies": {
"@polkadot/keyring": "^12.2.1",
"@polkadot/rpc-augment": "10.7.2"
"@polkadot/rpc-augment": "10.7.3"
}
}
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.7.3' };
+3 -3
View File
@@ -18,12 +18,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.2.1",
"@polkadot/types": "10.7.2",
"@polkadot/types-support": "10.7.2",
"@polkadot/types": "10.7.3",
"@polkadot/types-support": "10.7.3",
"@polkadot/util": "^12.2.1",
"@polkadot/util-crypto": "^12.2.1",
"@polkadot/x-fetch": "^12.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: '10.7.2' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.7.3' };
+10 -10
View File
@@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,15 +28,15 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "10.7.2",
"@polkadot/api-augment": "10.7.2",
"@polkadot/rpc-augment": "10.7.2",
"@polkadot/rpc-provider": "10.7.2",
"@polkadot/types": "10.7.2",
"@polkadot/types-augment": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/types-create": "10.7.2",
"@polkadot/types-support": "10.7.2",
"@polkadot/api": "10.7.3",
"@polkadot/api-augment": "10.7.3",
"@polkadot/rpc-augment": "10.7.3",
"@polkadot/rpc-provider": "10.7.3",
"@polkadot/types": "10.7.3",
"@polkadot/types-augment": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/types-create": "10.7.3",
"@polkadot/types-support": "10.7.3",
"@polkadot/util": "^12.2.1",
"@polkadot/util-crypto": "^12.2.1",
"@polkadot/x-ws": "^12.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: '10.7.2' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.7.3' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/types": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/types": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/util": "^12.2.1",
"tslib": "^2.5.2"
}
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.7.3' };
+4 -4
View File
@@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.2.1",
@@ -26,9 +26,9 @@
"tslib": "^2.5.2"
},
"devDependencies": {
"@polkadot/types": "10.7.2",
"@polkadot/types-augment": "10.7.2",
"@polkadot/types-support": "10.7.2",
"@polkadot/types": "10.7.3",
"@polkadot/types-augment": "10.7.3",
"@polkadot/types-support": "10.7.3",
"@polkadot/util-crypto": "^12.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: '10.7.2' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.7.3' };
+3 -3
View File
@@ -18,14 +18,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "10.7.2",
"@polkadot/types-codec": "10.7.3",
"@polkadot/util": "^12.2.1",
"tslib": "^2.5.2"
},
"devDependencies": {
"@polkadot/types": "10.7.2"
"@polkadot/types": "10.7.3"
}
}
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.7.3' };
+5 -5
View File
@@ -18,17 +18,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^12.2.1",
"@polkadot/types": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/types-create": "10.7.2",
"@polkadot/types": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/types-create": "10.7.3",
"@polkadot/util": "^12.2.1",
"tslib": "^2.5.2"
},
"devDependencies": {
"@polkadot/api": "10.7.2"
"@polkadot/api": "10.7.3"
}
}
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.7.3' };
+1 -1
View File
@@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.2.1",
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.7.3' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "10.7.2",
"version": "10.7.3",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.2.1",
"@polkadot/types-augment": "10.7.2",
"@polkadot/types-codec": "10.7.2",
"@polkadot/types-create": "10.7.2",
"@polkadot/types-augment": "10.7.3",
"@polkadot/types-codec": "10.7.3",
"@polkadot/types-create": "10.7.3",
"@polkadot/util": "^12.2.1",
"@polkadot/util-crypto": "^12.2.1",
"rxjs": "^7.8.1",
@@ -32,6 +32,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^12.2.1",
"@polkadot/types-support": "10.7.2"
"@polkadot/types-support": "10.7.3"
}
}
+2 -2
View File
@@ -35,8 +35,8 @@ export class GenericExtrinsicV4 extends Struct implements IExtrinsicImpl {
public static decodeExtrinsic (registry: Registry, value?: Call | Uint8Array | ExtrinsicValueV4, isSigned = false): ExtrinsicValueV4 {
if (value instanceof GenericExtrinsicV4) {
return value;
} else if (value instanceof registry.createClassUnsafe('Call')) {
return { method: value as Call };
} else if (value instanceof registry.createClassUnsafe<Call>('Call')) {
return { method: value };
} else if (isU8a(value)) {
// here we decode manually since we need to pull through the version information
const signature = registry.createTypeUnsafe<ExtrinsicSignatureV4>('ExtrinsicSignatureV4', [value, { isSigned }]);
+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: '10.7.2' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.7.3' };
+186 -459
View File
File diff suppressed because it is too large Load Diff