From facdd2711756cce25ddba52422b73faedc751d49 Mon Sep 17 00:00:00 2001 From: Travis CI <> Date: Fri, 16 Aug 2019 12:18:47 +0000 Subject: [PATCH] [CI Skip] 0.90.0-beta.59 --- docs/METHODS_EXTRINSICS.md | 10 ++++++++++ docs/METHODS_STORAGE.md | 8 +++++++- 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 +- 12 files changed, 40 insertions(+), 24 deletions(-) diff --git a/docs/METHODS_EXTRINSICS.md b/docs/METHODS_EXTRINSICS.md index f3f25726ba..2c12ca09cd 100644 --- a/docs/METHODS_EXTRINSICS.md +++ b/docs/METHODS_EXTRINSICS.md @@ -3,6 +3,8 @@ _The following sections contain Extrinsics methods are part of the default Substrate runtime._ - **[authorship](#authorship)** +- **[babe](#babe)** + - **[balances](#balances)** - **[contracts](#contracts)** @@ -47,6 +49,14 @@ ___ ___ +### babe + +▸ **setPendingSecondarySlotsChange**(change: `Option`) +- **summary**: Sets a pending change to enable / disable secondary slot assignment. The pending change will be set at the end of the current epoch and will be enacted at `current_epoch + 2`. + +___ + + ### balances ▸ **setBalance**(who: `Address`, new_free: `Compact`, new_reserved: `Compact`) diff --git a/docs/METHODS_STORAGE.md b/docs/METHODS_STORAGE.md index 26c1be9559..c16ef29a18 100644 --- a/docs/METHODS_STORAGE.md +++ b/docs/METHODS_STORAGE.md @@ -59,7 +59,7 @@ ___ ### babe -▸ **authorities**(): `Vec<(AuthorityId,BabeWeight)>` +▸ **authorities**(): `Vec<(AuthorityId,BabeAuthorityWeight)>` - **summary**: Current epoch authorities. ▸ **currentSlot**(): `u64` @@ -74,9 +74,15 @@ ___ ▸ **nextRandomness**(): `[u8;32]` - **summary**: Next epoch randomness. +▸ **pendingSecondarySlotsChange**(): `Option` +- **summary**: Pending change to enable/disable secondary slots which will be triggered at `current_epoch + 2`. + ▸ **randomness**(): `[u8;32]` - **summary**: The epoch randomness for the *current* epoch. # Security This MUST NOT be used for gambling, as it can be influenced by a malicious validator in the short term. It MAY be used in many cryptographic protocols, however, so long as one remembers that this (like everything else on-chain) it is public. For example, it can be used where a number is needed that cannot have been chosen by an adversary, for purposes such as public-coin zero-knowledge proofs. +▸ **secondarySlots**(): `(bool,bool)` +- **summary**: Whether secondary slots are enabled in case the VRF-based slot is empty for the current epoch and the next epoch, respectively. + ▸ **segmentIndex**(): `u32` - **summary**: Randomness under construction. We make a tradeoff between storage accesses and list length. We store the under-construction randomness in segments of up to `UNDER_CONSTRUCTION_SEGMENT_LENGTH`. Once a segment reaches this length, we begin the next one. We reset all segments and return to `0` at the beginning of every epoch. diff --git a/lerna.json b/lerna.json index f28d6c6d6d..5fac301540 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.90.0-beta.58" + "version": "0.90.0-beta.59" } diff --git a/package.json b/package.json index bd44a852f2..dec3d17c1a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "private": true, "engines": { "yarn": "^1.10.1" diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 1cb2c86cb1..37143fb656 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "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.90.0-beta.58" + "@polkadot/types": "^0.90.0-beta.59" } } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 2749dd714c..9572efb332 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "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.90.0-beta.58", - "@polkadot/types": "^0.90.0-beta.58" + "@polkadot/api": "^0.90.0-beta.59", + "@polkadot/types": "^0.90.0-beta.59" }, "devDependencies": { "@polkadot/keyring": "^1.1.1" diff --git a/packages/api-metadata/package.json b/packages/api-metadata/package.json index 7da65db0cd..5eafc09382 100644 --- a/packages/api-metadata/package.json +++ b/packages/api-metadata/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-metadata", - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "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.90.0-beta.58", + "@polkadot/types": "^0.90.0-beta.59", "@polkadot/util": "^1.1.1", "@polkadot/util-crypto": "^1.1.1" }, diff --git a/packages/api/package.json b/packages/api/package.json index d1f032499e..50df317982 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "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.90.0-beta.58", - "@polkadot/api-metadata": "^0.90.0-beta.58", - "@polkadot/rpc-core": "^0.90.0-beta.58", - "@polkadot/rpc-provider": "^0.90.0-beta.58", - "@polkadot/types": "^0.90.0-beta.58", + "@polkadot/api-derive": "^0.90.0-beta.59", + "@polkadot/api-metadata": "^0.90.0-beta.59", + "@polkadot/rpc-core": "^0.90.0-beta.59", + "@polkadot/rpc-provider": "^0.90.0-beta.59", + "@polkadot/types": "^0.90.0-beta.59", "@polkadot/util-crypto": "^1.1.1" }, "devDependencies": { diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 13db113b59..312ddfb7bd 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "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.90.0-beta.58", - "@polkadot/rpc-provider": "^0.90.0-beta.58", - "@polkadot/types": "^0.90.0-beta.58", + "@polkadot/jsonrpc": "^0.90.0-beta.59", + "@polkadot/rpc-provider": "^0.90.0-beta.59", + "@polkadot/types": "^0.90.0-beta.59", "@polkadot/util": "^1.1.1", "rxjs": "^6.5.2" } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index db9951fb95..4ec3467916 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "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.90.0-beta.58", + "@polkadot/api-metadata": "^0.90.0-beta.59", "@polkadot/util": "^1.1.1", "@polkadot/util-crypto": "^1.1.1", "@types/nock": "^10.0.3", diff --git a/packages/type-jsonrpc/package.json b/packages/type-jsonrpc/package.json index eb2e168eff..517d95d07c 100644 --- a/packages/type-jsonrpc/package.json +++ b/packages/type-jsonrpc/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/jsonrpc", - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "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 ce0320e053..1744238043 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "0.90.0-beta.58", + "version": "0.90.0-beta.59", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [