Skip to content

Commit e7ee68d

Browse files
committed
[CI Skip] release/beta 2.5.2-5
skip-checks: true
1 parent 46fb44d commit e7ee68d

File tree

14 files changed

+94
-93
lines changed

14 files changed

+94
-93
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
"@types/jest": "^26.0.15",
3333
"copyfiles": "^2.4.0"
3434
},
35-
"version": "2.5.2-4"
35+
"version": "2.5.2-5"
3636
}

packages/api-contract/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "2.5.2-4",
3+
"version": "2.5.2-5",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"keywords": [
@@ -27,14 +27,14 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.12.1",
30-
"@polkadot/api": "2.5.2-4",
31-
"@polkadot/types": "2.5.2-4",
30+
"@polkadot/api": "2.5.2-5",
31+
"@polkadot/types": "2.5.2-5",
3232
"@polkadot/util": "^4.0.1",
3333
"bn.js": "^5.1.3",
3434
"rxjs": "^6.6.3"
3535
},
3636
"peerDependencies": {
37-
"@polkadot/api": "2.5.2-4",
37+
"@polkadot/api": "2.5.2-5",
3838
"@polkadot/util": "*"
3939
}
4040
}

packages/api-derive/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-derive",
3-
"version": "2.5.2-4",
3+
"version": "2.5.2-5",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"keywords": [
@@ -28,9 +28,9 @@
2828
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2929
"dependencies": {
3030
"@babel/runtime": "^7.12.1",
31-
"@polkadot/api": "2.5.2-4",
32-
"@polkadot/rpc-core": "2.5.2-4",
33-
"@polkadot/types": "2.5.2-4",
31+
"@polkadot/api": "2.5.2-5",
32+
"@polkadot/rpc-core": "2.5.2-5",
33+
"@polkadot/types": "2.5.2-5",
3434
"@polkadot/util": "^4.0.1",
3535
"@polkadot/util-crypto": "^4.0.1",
3636
"bn.js": "^5.1.3",
@@ -39,7 +39,7 @@
3939
},
4040
"devDependencies": {
4141
"@polkadot/keyring": "^4.0.1",
42-
"@polkadot/rpc-provider": "2.5.2-4"
42+
"@polkadot/rpc-provider": "2.5.2-5"
4343
},
4444
"peerDependencies": {
4545
"@polkadot/util": "*",

packages/api/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "2.5.2-4",
3+
"version": "2.5.2-5",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"keywords": [
@@ -27,13 +27,13 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.12.1",
30-
"@polkadot/api-derive": "2.5.2-4",
30+
"@polkadot/api-derive": "2.5.2-5",
3131
"@polkadot/keyring": "^4.0.1",
32-
"@polkadot/metadata": "2.5.2-4",
33-
"@polkadot/rpc-core": "2.5.2-4",
34-
"@polkadot/rpc-provider": "2.5.2-4",
35-
"@polkadot/types": "2.5.2-4",
36-
"@polkadot/types-known": "2.5.2-4",
32+
"@polkadot/metadata": "2.5.2-5",
33+
"@polkadot/rpc-core": "2.5.2-5",
34+
"@polkadot/rpc-provider": "2.5.2-5",
35+
"@polkadot/types": "2.5.2-5",
36+
"@polkadot/types-known": "2.5.2-5",
3737
"@polkadot/util": "^4.0.1",
3838
"@polkadot/util-crypto": "^4.0.1",
3939
"bn.js": "^5.1.3",

packages/api/src/augment/consts.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,6 @@ declare module '@polkadot/api/types/consts' {
134134
termDuration: BlockNumber & AugmentedConst<ApiType>;
135135
votingBond: BalanceOf & AugmentedConst<ApiType>;
136136
};
137-
finalityTracker: {
138-
[key: string]: Codec;
139-
/**
140-
* The delay after which point things become suspicious. Default is 1000.
141-
**/
142-
reportLatency: BlockNumber & AugmentedConst<ApiType>;
143-
/**
144-
* The number of recent samples to keep from this chain. Default is 101.
145-
**/
146-
windowSize: BlockNumber & AugmentedConst<ApiType>;
147-
};
148137
identity: {
149138
[key: string]: Codec;
150139
/**

packages/api/src/augment/query.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ declare module '@polkadot/api/types/storage' {
5353
* Current epoch authorities.
5454
**/
5555
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AuthorityId, BabeAuthorityWeight]>>>> & QueryableStorageEntry<ApiType>;
56+
/**
57+
* Temporary value (cleared at block finalization) that includes the VRF output generated
58+
* at this block. This field should always be populated during block processing unless
59+
* secondary plain slots are enabled (which don't contain a VRF output).
60+
**/
61+
authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<MaybeRandomness>> & QueryableStorageEntry<ApiType>;
5662
/**
5763
* Current slot number.
5864
**/

packages/api/src/augment/tx.ts

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -805,14 +805,6 @@ declare module '@polkadot/api/types/submittable' {
805805
**/
806806
vote: AugmentedSubmittable<(votes: Vec<AccountId> | (AccountId | string | Uint8Array)[], value: Compact<BalanceOf> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
807807
};
808-
finalityTracker: {
809-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
810-
/**
811-
* Hint that the author of this block thinks the best finalized
812-
* block is the given number.
813-
**/
814-
finalHint: AugmentedSubmittable<(hint: Compact<BlockNumber> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
815-
};
816808
grandpa: {
817809
[key: string]: SubmittableExtrinsicFunction<ApiType>;
818810
/**
@@ -3047,9 +3039,9 @@ declare module '@polkadot/api/types/submittable' {
30473039
* The dispatch origin for this call must be `Inherent`.
30483040
*
30493041
* # <weight>
3050-
* - `O(T)` where `T` complexity of `on_timestamp_set`
3042+
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
30513043
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in `on_finalize`)
3052-
* - 1 event handler `on_timestamp_set` `O(T)`.
3044+
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
30533045
* # </weight>
30543046
**/
30553047
set: AugmentedSubmittable<(now: Compact<Moment> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
@@ -3351,9 +3343,7 @@ declare module '@polkadot/api/types/submittable' {
33513343
* bypassing `frame_system::Trait::BaseCallFilter`).
33523344
*
33533345
* # <weight>
3354-
* - Base weight: 14.39 + .987 * c µs
3355-
* - Plus the sum of the weights of the `calls`.
3356-
* - Plus one additional event. (repeat read/write)
3346+
* - Complexity: O(C) where C is the number of calls to be batched.
33573347
* # </weight>
33583348
*
33593349
* This will return `Ok` in all circumstances. To determine the success of the batch, an
@@ -3363,6 +3353,22 @@ declare module '@polkadot/api/types/submittable' {
33633353
* event is deposited.
33643354
**/
33653355
batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | { callIndex?: any; args?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
3356+
/**
3357+
* Send a batch of dispatch calls and atomically execute them.
3358+
* The whole transaction will rollback and fail if any of the calls failed.
3359+
*
3360+
* May be called from any origin.
3361+
*
3362+
* - `calls`: The calls to be dispatched from the same origin.
3363+
*
3364+
* If origin is root then call are dispatch without checking origin filter. (This includes
3365+
* bypassing `frame_system::Trait::BaseCallFilter`).
3366+
*
3367+
* # <weight>
3368+
* - Complexity: O(C) where C is the number of calls to be batched.
3369+
* # </weight>
3370+
**/
3371+
batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | { callIndex?: any; args?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
33663372
};
33673373
vesting: {
33683374
[key: string]: SubmittableExtrinsicFunction<ApiType>;

packages/metadata/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/metadata",
3-
"version": "2.5.2-4",
3+
"version": "2.5.2-5",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"publishConfig": {
@@ -27,8 +27,8 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.12.1",
30-
"@polkadot/types": "2.5.2-4",
31-
"@polkadot/types-known": "2.5.2-4",
30+
"@polkadot/types": "2.5.2-5",
31+
"@polkadot/types-known": "2.5.2-5",
3232
"@polkadot/util": "^4.0.1",
3333
"@polkadot/util-crypto": "^4.0.1",
3434
"bn.js": "^5.1.3"

packages/rpc-core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "2.5.2-4",
3+
"version": "2.5.2-5",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.12.1",
30-
"@polkadot/metadata": "2.5.2-4",
31-
"@polkadot/rpc-provider": "2.5.2-4",
32-
"@polkadot/types": "2.5.2-4",
30+
"@polkadot/metadata": "2.5.2-5",
31+
"@polkadot/rpc-provider": "2.5.2-5",
32+
"@polkadot/types": "2.5.2-5",
3333
"@polkadot/util": "^4.0.1",
3434
"memoizee": "^0.4.14",
3535
"rxjs": "^6.6.3"

packages/rpc-provider/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "2.5.2-4",
3+
"version": "2.5.2-5",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"keywords": [
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.12.1",
30-
"@polkadot/types": "2.5.2-4",
30+
"@polkadot/types": "2.5.2-5",
3131
"@polkadot/util": "^4.0.1",
3232
"@polkadot/util-crypto": "^4.0.1",
3333
"@polkadot/x-fetch": "^4.0.1",
@@ -37,7 +37,7 @@
3737
},
3838
"devDependencies": {
3939
"@polkadot/keyring": "^4.0.1",
40-
"@polkadot/metadata": "2.5.2-4",
40+
"@polkadot/metadata": "2.5.2-5",
4141
"mock-socket": "^9.0.3",
4242
"nock": "^13.0.4"
4343
},

0 commit comments

Comments
 (0)