[CI Skip] 0.90.0-beta.59

This commit is contained in:
Travis CI
2019-08-16 12:18:47 +00:00
parent 8922bbf328
commit facdd27117
12 changed files with 40 additions and 24 deletions
+10
View File
@@ -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<bool>`)
- **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<Balance>`, new_reserved: `Compact<Balance>`)
+7 -1
View File
@@ -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<bool>`
- **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.
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.90.0-beta.58"
"version": "0.90.0-beta.59"
}
+1 -1
View File
@@ -1,5 +1,5 @@
{
"version": "0.90.0-beta.58",
"version": "0.90.0-beta.59",
"private": true,
"engines": {
"yarn": "^1.10.1"
+2 -2
View File
@@ -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"
}
}
+3 -3
View File
@@ -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"
+2 -2
View File
@@ -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"
},
+6 -6
View File
@@ -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": {
+4 -4
View File
@@ -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"
}
+2 -2
View File
@@ -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",
+1 -1
View File
@@ -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": {
+1 -1
View File
@@ -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": [