Skip to content

Commit 77df790

Browse files
committed
[CI Skip] release/beta 1.20.0-beta.9
skip-checks: true
1 parent f1b6268 commit 77df790

File tree

13 files changed

+106
-71
lines changed

13 files changed

+106
-71
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"packages": [
1010
"packages/*"
1111
],
12-
"version": "1.20.0-beta.8"
12+
"version": "1.20.0-beta.9"
1313
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
"@vuepress/plugin-search": "^1.5.2",
3535
"copyfiles": "^2.3.0"
3636
},
37-
"version": "1.20.0-beta.8"
37+
"version": "1.20.0-beta.9"
3838
}

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": "1.20.0-beta.8",
3+
"version": "1.20.0-beta.9",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.10.3",
30-
"@polkadot/api": "1.20.0-beta.8",
31-
"@polkadot/rpc-core": "1.20.0-beta.8",
32-
"@polkadot/types": "1.20.0-beta.8",
30+
"@polkadot/api": "1.20.0-beta.9",
31+
"@polkadot/rpc-core": "1.20.0-beta.9",
32+
"@polkadot/types": "1.20.0-beta.9",
3333
"@polkadot/util": "^2.15.0-beta.0",
3434
"bn.js": "^5.1.2",
3535
"rxjs": "^6.5.5"

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": "1.20.0-beta.8",
3+
"version": "1.20.0-beta.9",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"keywords": [
@@ -28,10 +28,10 @@
2828
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2929
"dependencies": {
3030
"@babel/runtime": "^7.10.3",
31-
"@polkadot/api": "1.20.0-beta.8",
32-
"@polkadot/rpc-core": "1.20.0-beta.8",
33-
"@polkadot/rpc-provider": "1.20.0-beta.8",
34-
"@polkadot/types": "1.20.0-beta.8",
31+
"@polkadot/api": "1.20.0-beta.9",
32+
"@polkadot/rpc-core": "1.20.0-beta.9",
33+
"@polkadot/rpc-provider": "1.20.0-beta.9",
34+
"@polkadot/types": "1.20.0-beta.9",
3535
"@polkadot/util": "^2.15.0-beta.0",
3636
"@polkadot/util-crypto": "^2.15.0-beta.0",
3737
"bn.js": "^5.1.2",

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": "1.20.0-beta.8",
3+
"version": "1.20.0-beta.9",
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.10.3",
30-
"@polkadot/api-derive": "1.20.0-beta.8",
30+
"@polkadot/api-derive": "1.20.0-beta.9",
3131
"@polkadot/keyring": "^2.15.0-beta.0",
32-
"@polkadot/metadata": "1.20.0-beta.8",
33-
"@polkadot/rpc-core": "1.20.0-beta.8",
34-
"@polkadot/rpc-provider": "1.20.0-beta.8",
35-
"@polkadot/types": "1.20.0-beta.8",
36-
"@polkadot/types-known": "1.20.0-beta.8",
32+
"@polkadot/metadata": "1.20.0-beta.9",
33+
"@polkadot/rpc-core": "1.20.0-beta.9",
34+
"@polkadot/rpc-provider": "1.20.0-beta.9",
35+
"@polkadot/types": "1.20.0-beta.9",
36+
"@polkadot/types-known": "1.20.0-beta.9",
3737
"@polkadot/util": "^2.15.0-beta.0",
3838
"@polkadot/util-crypto": "^2.15.0-beta.0",
3939
"bn.js": "^5.1.2",

packages/api/src/augment/consts.ts

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { Codec } from '@polkadot/types/types';
55
import { Vec } from '@polkadot/types/codec';
66
import { u16, u32, u64 } from '@polkadot/types/primitive';
7-
import { Balance, BalanceOf, BlockNumber, LockIdentifier, ModuleId, Moment, Percent, Permill, RuntimeDbWeight, Weight } from '@polkadot/types/interfaces/runtime';
7+
import { Balance, BalanceOf, BlockNumber, LockIdentifier, ModuleId, Moment, Perbill, Percent, Permill, RuntimeDbWeight, Weight } from '@polkadot/types/interfaces/runtime';
88
import { SessionIndex } from '@polkadot/types/interfaces/session';
99
import { EraIndex } from '@polkadot/types/interfaces/staking';
1010
import { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
@@ -249,10 +249,45 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
249249
* Number of eras that staked funds must remain bonded for.
250250
**/
251251
bondingDuration: AugmentedConst<EraIndex>;
252+
/**
253+
* The number of blocks before the end of the era from which election submissions are allowed.
254+
*
255+
* Setting this to zero will disable the offchain compute and only on-chain seq-phragmen will
256+
* be used.
257+
*
258+
* This is bounded by being within the last session. Hence, setting it to a value more than the
259+
* length of a session will be pointless.
260+
**/
261+
electionLookahead: AugmentedConst<BlockNumber>;
262+
/**
263+
* Maximum number of balancing iterations to run in the offchain submission.
264+
*
265+
* If set to 0, balance_solution will not be executed at all.
266+
**/
267+
maxIterations: AugmentedConst<u32>;
268+
/**
269+
* The maximum number of nominators rewarded for each validator.
270+
*
271+
* For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can claim
272+
* their reward. This used to limit the i/o cost for the nominator payout.
273+
**/
274+
maxNominatorRewardedPerValidator: AugmentedConst<u32>;
275+
/**
276+
* The threshold of improvement that should be provided for a new solution to be accepted.
277+
**/
278+
minSolutionScoreBump: AugmentedConst<Perbill>;
252279
/**
253280
* Number of sessions per era.
254281
**/
255282
sessionsPerEra: AugmentedConst<SessionIndex>;
283+
/**
284+
* Number of eras that slashes are deferred by, after computation.
285+
*
286+
* This should be less than the bonding duration.
287+
* Set to 0 if slashes should be applied immediately, without opportunity for
288+
* intervention.
289+
**/
290+
slashDeferDuration: AugmentedConst<EraIndex>;
256291
};
257292
system: {
258293
[index: string]: AugmentedConst<object & Codec>;

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": "1.20.0-beta.8",
3+
"version": "1.20.0-beta.9",
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.10.3",
30-
"@polkadot/types": "1.20.0-beta.8",
31-
"@polkadot/types-known": "1.20.0-beta.8",
30+
"@polkadot/types": "1.20.0-beta.9",
31+
"@polkadot/types-known": "1.20.0-beta.9",
3232
"@polkadot/util": "^2.15.0-beta.0",
3333
"@polkadot/util-crypto": "^2.15.0-beta.0",
3434
"bn.js": "^5.1.2"

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": "1.20.0-beta.8",
3+
"version": "1.20.0-beta.9",
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.10.3",
30-
"@polkadot/metadata": "1.20.0-beta.8",
31-
"@polkadot/rpc-provider": "1.20.0-beta.8",
32-
"@polkadot/types": "1.20.0-beta.8",
30+
"@polkadot/metadata": "1.20.0-beta.9",
31+
"@polkadot/rpc-provider": "1.20.0-beta.9",
32+
"@polkadot/types": "1.20.0-beta.9",
3333
"@polkadot/util": "^2.15.0-beta.0",
3434
"memoizee": "^0.4.14",
3535
"rxjs": "^6.5.5"

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": "1.20.0-beta.8",
3+
"version": "1.20.0-beta.9",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"keywords": [
@@ -27,8 +27,8 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.10.3",
30-
"@polkadot/metadata": "1.20.0-beta.8",
31-
"@polkadot/types": "1.20.0-beta.8",
30+
"@polkadot/metadata": "1.20.0-beta.9",
31+
"@polkadot/types": "1.20.0-beta.9",
3232
"@polkadot/util": "^2.15.0-beta.0",
3333
"@polkadot/util-crypto": "^2.15.0-beta.0",
3434
"bn.js": "^5.1.2",

packages/typegen/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/typegen",
3-
"version": "1.20.0-beta.8",
3+
"version": "1.20.0-beta.9",
44
"description": "Type generation scripts",
55
"main": "index.js",
66
"bin": {
@@ -36,10 +36,10 @@
3636
"@babel/core": "^7.10.3",
3737
"@babel/register": "^7.10.3",
3838
"@babel/runtime": "^7.10.3",
39-
"@polkadot/api": "1.20.0-beta.8",
40-
"@polkadot/metadata": "1.20.0-beta.8",
41-
"@polkadot/rpc-provider": "1.20.0-beta.8",
42-
"@polkadot/types": "1.20.0-beta.8",
39+
"@polkadot/api": "1.20.0-beta.9",
40+
"@polkadot/metadata": "1.20.0-beta.9",
41+
"@polkadot/rpc-provider": "1.20.0-beta.9",
42+
"@polkadot/types": "1.20.0-beta.9",
4343
"@polkadot/util": "^2.15.0-beta.0",
4444
"handlebars": "^4.7.6",
4545
"websocket": "^1.0.31",

0 commit comments

Comments
 (0)