From 0c7794198a0e20d424dee5f81a1351a33afd4134 Mon Sep 17 00:00:00 2001 From: Travis CI <> Date: Sun, 21 Jul 2019 08:47:01 +0000 Subject: [PATCH] [CI Skip] 0.82.0-beta.78 --- docs/METHODS_CONSTANTS.md | 10 ++++++++++ docs/METHODS_EVENTS.md | 22 ++++++++++++++++------ docs/METHODS_EXTRINSICS.md | 9 +++++++++ docs/METHODS_STORAGE.md | 24 +++++++++++++++++++++++- lerna.json | 2 +- package.json | 2 +- packages/api-contract/package.json | 4 ++-- packages/api-derive/package.json | 6 +++--- packages/api-metadata/package.json | 4 ++-- packages/api/package.json | 12 ++++++------ packages/rpc-core/package.json | 8 ++++---- packages/rpc-provider/package.json | 4 ++-- packages/type-jsonrpc/package.json | 2 +- packages/types/package.json | 2 +- 14 files changed, 81 insertions(+), 30 deletions(-) diff --git a/docs/METHODS_CONSTANTS.md b/docs/METHODS_CONSTANTS.md index 9bff847cc3..e253a6596e 100644 --- a/docs/METHODS_CONSTANTS.md +++ b/docs/METHODS_CONSTANTS.md @@ -11,6 +11,8 @@ _The following sections contain the module constants, also known as parameter ty - **[finalityTracker](#finalityTracker)** +- **[imOnline](#imOnline)** + - **[staking](#staking)** - **[timestamp](#timestamp)** @@ -157,6 +159,14 @@ ___ ___ +### im_online + +▸ **sessionsPerEra**: `SessionIndex` +- **summary**: Number of sessions per era. + +___ + + ### staking ▸ **bondingDuration**: `EraIndex` diff --git a/docs/METHODS_EVENTS.md b/docs/METHODS_EVENTS.md index f88eb55779..134642d27c 100644 --- a/docs/METHODS_EVENTS.md +++ b/docs/METHODS_EVENTS.md @@ -15,6 +15,8 @@ Events are emitted for certain operations on the runtime. The following sections - **[grandpa](#grandpa)** +- **[imOnline](#imOnline)** + - **[indices](#indices)** - **[session](#session)** @@ -47,9 +49,6 @@ ___ ### collective -▸ **_Phantom**(`Phantom`) -- **summary**: Dummy to manage the fact we have instancing. - ▸ **Approved**(`Hash`) - **summary**: A motion was approved by the required threshold. @@ -73,9 +72,6 @@ ___ ### collective -▸ **_Phantom**(`Phantom`) -- **summary**: Dummy to manage the fact we have instancing. - ▸ **Approved**(`Hash`) - **summary**: A motion was approved by the required threshold. @@ -169,6 +165,20 @@ ___ ▸ **NewAuthorities**(`Vec<(AuthorityId,u64)>`) - **summary**: New authority set has been applied. +▸ **Paused**() +- **summary**: Current authority set has been paused. + +▸ **Resumed**() +- **summary**: Current authority set has been resumed. + +___ + + +### imOnline + +▸ **HeartbeatReceived**(`BlockNumber`, `AuthorityId`) +- **summary**: A new heartbeat was received at this `BlockNumber` from `AuthorityId` + ___ diff --git a/docs/METHODS_EXTRINSICS.md b/docs/METHODS_EXTRINSICS.md index 401f9f8bee..d8d6662cc8 100644 --- a/docs/METHODS_EXTRINSICS.md +++ b/docs/METHODS_EXTRINSICS.md @@ -19,6 +19,8 @@ _The following sections contain Extrinsics methods are part of the default Subst - **[grandpa](#grandpa)** +- **[imOnline](#imOnline)** + - **[session](#session)** - **[staking](#staking)** @@ -218,6 +220,13 @@ ___ ___ +### imOnline + +▸ **heartbeat**(heartbeat: `Heartbeat`, _signature: `Bytes`) + +___ + + ### session ▸ **setKeys**(keys: `Keys`, proof: `Bytes`) diff --git a/docs/METHODS_STORAGE.md b/docs/METHODS_STORAGE.md index 4df4000eb6..fd9dd6eb70 100644 --- a/docs/METHODS_STORAGE.md +++ b/docs/METHODS_STORAGE.md @@ -19,6 +19,8 @@ _The following sections contain Storage methods are part of the default Substrat - **[grandpa](#grandpa)** +- **[imOnline](#imOnline)** + - **[indices](#indices)** - **[session](#session)** @@ -267,6 +269,20 @@ ___ ▸ **stalled**(): `Option<(BlockNumber,BlockNumber)>` - **summary**: `true` if we are currently stalled. +▸ **state**(): `StoredState` +- **summary**: State of the current authority set. + +___ + + +### im_online + +▸ **gossipAt**(): `BlockNumber` + +▸ **lastNewEraStart**(): `Option` + +▸ **receivedHeartbeats**(): `DoubleMap` + ___ @@ -382,7 +398,10 @@ ___ ▸ **accountNonce**(`AccountId`): `Index` - **summary**: Extrinsics nonce for accounts. -▸ **allExtrinsicsWeight**(): `Option` +▸ **allExtrinsicsLen**(): `Option` +- **summary**: Total length (in bytes) for all extrinsics put together, for the current block. + +▸ **allExtrinsicsWeight**(): `Option` - **summary**: Total weight for all extrinsics put together, for the current block. ▸ **blockHash**(`BlockNumber`): `Hash` @@ -409,6 +428,9 @@ ___ ▸ **extrinsicsRoot**(): `Hash` - **summary**: Extrinsics root of the current block, also part of the block header. +▸ **nextWeightMultiplier**(): `WeightMultiplier` +- **summary**: The next weight multiplier. This should be updated at the end of each block based on the saturation level (weight). + ▸ **number**(): `BlockNumber` - **summary**: The current block number being processed. Set by `execute_block`. diff --git a/lerna.json b/lerna.json index 544b017f76..fcfd5062ae 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.82.0-beta.77" + "version": "0.82.0-beta.78" } diff --git a/package.json b/package.json index 5cf55b3cfa..4f9139f562 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "private": true, "engines": { "yarn": "^1.10.1" diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 1324c6add9..3a504ae5b3 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "description": "Interfaces for interacting with contracts and contract ABIs", "main": "index.js", "keywords": [ @@ -27,6 +27,6 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { "@babel/runtime": "^7.5.5", - "@polkadot/types": "^0.82.0-beta.77" + "@polkadot/types": "^0.82.0-beta.78" } } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 122982d2fd..2ef1f39f4c 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", "keywords": [ @@ -28,8 +28,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.5.5", - "@polkadot/api": "^0.82.0-beta.77", - "@polkadot/types": "^0.82.0-beta.77", + "@polkadot/api": "^0.82.0-beta.78", + "@polkadot/types": "^0.82.0-beta.78", "@types/memoizee": "^0.4.2", "memoizee": "^0.4.14" }, diff --git a/packages/api-metadata/package.json b/packages/api-metadata/package.json index 4edfebf7e2..a5ae7216fa 100644 --- a/packages/api-metadata/package.json +++ b/packages/api-metadata/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-metadata", - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "description": "Helpers to extract information from runtime metadata", "main": "index.js", "publishConfig": { @@ -27,7 +27,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "dependencies": { "@babel/runtime": "^7.5.5", - "@polkadot/types": "^0.82.0-beta.77", + "@polkadot/types": "^0.82.0-beta.78", "@polkadot/util": "^0.94.1", "@polkadot/util-crypto": "^0.94.1" }, diff --git a/packages/api/package.json b/packages/api/package.json index 2ba0fde1ab..f1a414c7e1 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", "keywords": [ @@ -27,11 +27,11 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.5.5", - "@polkadot/api-derive": "^0.82.0-beta.77", - "@polkadot/api-metadata": "^0.82.0-beta.77", - "@polkadot/rpc-core": "^0.82.0-beta.77", - "@polkadot/rpc-provider": "^0.82.0-beta.77", - "@polkadot/types": "^0.82.0-beta.77", + "@polkadot/api-derive": "^0.82.0-beta.78", + "@polkadot/api-metadata": "^0.82.0-beta.78", + "@polkadot/rpc-core": "^0.82.0-beta.78", + "@polkadot/rpc-provider": "^0.82.0-beta.78", + "@polkadot/types": "^0.82.0-beta.78", "@polkadot/util-crypto": "^0.94.1" }, "devDependencies": { diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index d2d3e43ad6..aa81dd186d 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "keywords": [ @@ -27,9 +27,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.5.5", - "@polkadot/jsonrpc": "^0.82.0-beta.77", - "@polkadot/rpc-provider": "^0.82.0-beta.77", - "@polkadot/types": "^0.82.0-beta.77", + "@polkadot/jsonrpc": "^0.82.0-beta.78", + "@polkadot/rpc-provider": "^0.82.0-beta.78", + "@polkadot/types": "^0.82.0-beta.78", "@polkadot/util": "^0.94.1", "memoizee": "^0.4.14", "rxjs": "^6.5.2" diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 1258f0eb26..038de8cb84 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "description": "Transport providers for the API", "main": "index.js", "keywords": [ @@ -27,7 +27,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.5.5", - "@polkadot/api-metadata": "^0.82.0-beta.77", + "@polkadot/api-metadata": "^0.82.0-beta.78", "@polkadot/util": "^0.94.1", "@polkadot/util-crypto": "^0.94.1", "@types/nock": "^10.0.3", diff --git a/packages/type-jsonrpc/package.json b/packages/type-jsonrpc/package.json index ead2a1e4b0..e5663384d6 100644 --- a/packages/type-jsonrpc/package.json +++ b/packages/type-jsonrpc/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/jsonrpc", - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "description": "Method definitions for the Polkadot RPC layer", "main": "index.js", "publishConfig": { diff --git a/packages/types/package.json b/packages/types/package.json index bf765ad416..fd027c2963 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "0.82.0-beta.77", + "version": "0.82.0-beta.78", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [