[CI Skip] 0.90.0-beta.29

This commit is contained in:
Travis CI
2019-08-07 19:32:30 +00:00
parent b2102d9a2b
commit 47b456664c
14 changed files with 92 additions and 49 deletions
-10
View File
@@ -13,8 +13,6 @@ _The following sections contain the module constants, also known as parameter ty
- **[finalityTracker](#finalityTracker)**
- **[imOnline](#imOnline)**
- **[session](#session)**
- **[staking](#staking)**
@@ -180,14 +178,6 @@ ___
___
### imOnline
▸ **sessionsPerEra**: `SessionIndex`
- **summary**: Number of sessions per era.
___
### session
▸ **dedupKeyPrefix**: `Bytes`
+24 -2
View File
@@ -27,6 +27,8 @@ Events are emitted for certain operations on the runtime. The following sections
- **[technicalCommittee](#technicalCommittee)**
- **[technicalMembership](#technicalMembership)**
- **[treasury](#treasury)**
@@ -153,8 +155,8 @@ ___
### imOnline
▸ **HeartbeatReceived**(`BlockNumber`, `AuthorityId`)
- **summary**: A new heartbeat was received at this `BlockNumber` from `AuthorityId`
▸ **HeartbeatReceived**(`AuthorityId`)
- **summary**: A new heartbeat was received from `AuthorityId`
___
@@ -234,6 +236,26 @@ ___
___
### technicalMembership
▸ **Dummy**(`PhantomData`)
- **summary**: Phantom member, never used.
▸ **MemberAdded**()
- **summary**: The given member was added; see the transaction for who.
▸ **MemberRemoved**()
- **summary**: The given member was removed; see the transaction for who.
▸ **MembersReset**()
- **summary**: The membership was reset; see the transaction for who the new set is.
▸ **MembersSwapped**()
- **summary**: Two members were swapped; see the transaction for who.
___
### treasury
▸ **Awarded**(`ProposalIndex`, `Balance`, `AccountId`)
+26 -10
View File
@@ -29,6 +29,8 @@ _The following sections contain Extrinsics methods are part of the default Subst
- **[technicalCommittee](#technicalCommittee)**
- **[technicalMembership](#technicalMembership)**
- **[timestamp](#timestamp)**
- **[treasury](#treasury)**
@@ -70,9 +72,6 @@ ___
▸ **putCode**(gas_limit: `Compact<Gas>`, code: `Bytes`)
- **summary**: Stores the given binary Wasm code into the chain's storage and returns its `codehash`. You can instantiate contracts only with stored code.
▸ **restoreTo**(dest: `AccountId`, code_hash: `CodeHash`, rent_allowance: `BalanceOf`, delta: `Vec<ContractStorageKey>`)
- **summary**: Allows a contract to restore a tombstone by giving its storage. The contract that wants to restore (i.e. origin of the call, or `msg.sender` in Solidity terms) will compute a tombstone with its storage and the given code_hash. If the computed tombstone match the destination one, the destination contract is restored with the rent_allowance` specified, while the origin sends all its funds to the destination and is removed.
▸ **updateSchedule**(schedule: `Schedule`)
- **summary**: Updates the schedule for metering contracts. The schedule must have a greater version than the stored schedule.
@@ -110,16 +109,16 @@ ___
▸ **emergencyCancel**(ref_index: `ReferendumIndex`)
- **summary**: Schedule an emergency cancellation of a referendum. Cannot happen twice to the same referendum.
▸ **emergencyPropose**(proposal: `Proposal`, threshold: `VoteThreshold`, voting_period: `BlockNumber`, delay: `BlockNumber`)
- **summary**: Schedule an emergency referendum. This will create a new referendum for the `proposal`, approved as long as counted votes exceed `threshold` and, if approved, enacted after the given `delay`. It may be called from either the Root or the Emergency origin.
▸ **externalPropose**(proposal: `Proposal`)
- **summary**: Schedule a referendum to be tabled once it is legal to schedule an external referendum.
▸ **externalProposeMajority**(proposal: `Proposal`)
- **summary**: Schedule a majority-carries referendum to be tabled next once it is legal to schedule an external referendum.
▸ **externalProposeDefault**(proposal: `Proposal`)
- **summary**: Schedule a negative-turnout-bias referendum to be tabled next once it is legal to schedule an external referendum. Unlike `external_propose`, blacklisting has no effect on this and it may replace a pre-scheduled `external_propose` call.
▸ **externalPush**(proposal_hash: `Hash`, voting_period: `BlockNumber`, delay: `BlockNumber`)
▸ **externalProposeMajority**(proposal: `Proposal`)
- **summary**: Schedule a majority-carries referendum to be tabled next once it is legal to schedule an external referendum. Unlike `external_propose`, blacklisting has no effect on this and it may replace a pre-scheduled `external_propose` call.
▸ **fastTrack**(proposal_hash: `Hash`, voting_period: `BlockNumber`, delay: `BlockNumber`)
- **summary**: Schedule the currently externally-proposed majority-carries referendum to be tabled immediately. If there is no externally-proposed referendum currently, or if there is one but it is not a majority-carries referendum then it fails. - `proposal_hash`: The hash of the current external proposal. - `voting_period`: The period that is allowed for voting on this proposal. - `delay`: The number of block after voting has ended in approval and this should be enacted. Increased to `EmergencyVotingPeriod` if too low.
▸ **propose**(proposal: `Proposal`, value: `Compact<BalanceOf>`)
@@ -205,7 +204,7 @@ ___
### imOnline
▸ **heartbeat**(heartbeat: `Heartbeat`, _signature: `Bytes`)
▸ **heartbeat**(heartbeat: `Heartbeat`, _signature: `AuthoritySignature`)
___
@@ -313,6 +312,23 @@ ___
___
### technicalMembership
▸ **addMember**(who: `AccountId`)
- **summary**: Add a member `who` to the set. May only be called from `AddOrigin` or root.
▸ **removeMember**(who: `AccountId`)
- **summary**: Remove a member `who` from the set. May only be called from `RemoveOrigin` or root.
▸ **resetMembers**(members: `Vec<AccountId>`)
- **summary**: Change the membership to a new set, disregarding the existing membership. Be nice and pass `members` pre-sorted. May only be called from `ResetOrigin` or root.
▸ **swapMember**(remove: `AccountId`, add: `AccountId`)
- **summary**: Swap out one member `remove` for another `add`. May only be called from `SwapOrigin` or root.
___
### timestamp
▸ **set**(now: `Compact<Moment>`)
+19 -4
View File
@@ -31,6 +31,8 @@ _The following sections contain Storage methods are part of the default Substrat
- **[technicalCommittee](#technicalCommittee)**
- **[technicalMembership](#technicalMembership)**
- **[timestamp](#timestamp)**
- **[treasury](#treasury)**
@@ -75,8 +77,10 @@ ___
▸ **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.
▸ **underConstruction**(): `[u8;32]`
- **summary**: Randomness under construction.
▸ **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.
▸ **underConstruction**(`u32`): `Vec<[u8;32]>`
___
@@ -273,10 +277,13 @@ ___
### imOnline
▸ **gossipAt**(): `BlockNumber`
- **summary**: The block number when we should gossip.
▸ **lastNewEraStart**(): `Option<SessionIndex>`
▸ **keys**(): `Vec<AuthorityId>`
- **summary**: The current set of keys that may issue a heartbeat.
▸ **receivedHeartbeats**(`SessionIndex, AuthorityId`): `Bytes`
▸ **receivedHeartbeats**(`SessionIndex, AuthIndex`): `Bytes`
- **summary**: For each session index we keep a mapping of `AuthorityId` to `offchain::OpaqueNetworkState`.
___
@@ -464,6 +471,14 @@ ___
___
### technicalMembership
▸ **members**(): `Vec<AccountId>`
- **summary**: The current membership, stored as an ordered Vec.
___
### timestamp
▸ **didUpdate**(): `bool`
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.90.0-beta.28"
"version": "0.90.0-beta.29"
}
+1 -1
View File
@@ -1,5 +1,5 @@
{
"version": "0.90.0-beta.28",
"version": "0.90.0-beta.29",
"private": true,
"engines": {
"yarn": "^1.10.1"
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "0.90.0-beta.28",
"version": "0.90.0-beta.29",
"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.28"
"@polkadot/types": "^0.90.0-beta.29"
}
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "0.90.0-beta.28",
"version": "0.90.0-beta.29",
"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.28",
"@polkadot/types": "^0.90.0-beta.28"
"@polkadot/api": "^0.90.0-beta.29",
"@polkadot/types": "^0.90.0-beta.29"
},
"devDependencies": {
"@polkadot/keyring": "^1.0.1"
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-metadata",
"version": "0.90.0-beta.28",
"version": "0.90.0-beta.29",
"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.28",
"@polkadot/types": "^0.90.0-beta.29",
"@polkadot/util": "^1.0.1",
"@polkadot/util-crypto": "^1.0.1"
},
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "0.90.0-beta.28",
"version": "0.90.0-beta.29",
"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.28",
"@polkadot/api-metadata": "^0.90.0-beta.28",
"@polkadot/rpc-core": "^0.90.0-beta.28",
"@polkadot/rpc-provider": "^0.90.0-beta.28",
"@polkadot/types": "^0.90.0-beta.28",
"@polkadot/api-derive": "^0.90.0-beta.29",
"@polkadot/api-metadata": "^0.90.0-beta.29",
"@polkadot/rpc-core": "^0.90.0-beta.29",
"@polkadot/rpc-provider": "^0.90.0-beta.29",
"@polkadot/types": "^0.90.0-beta.29",
"@polkadot/util-crypto": "^1.0.1"
},
"devDependencies": {
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "0.90.0-beta.28",
"version": "0.90.0-beta.29",
"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.28",
"@polkadot/rpc-provider": "^0.90.0-beta.28",
"@polkadot/types": "^0.90.0-beta.28",
"@polkadot/jsonrpc": "^0.90.0-beta.29",
"@polkadot/rpc-provider": "^0.90.0-beta.29",
"@polkadot/types": "^0.90.0-beta.29",
"@polkadot/util": "^1.0.1",
"rxjs": "^6.5.2"
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "0.90.0-beta.28",
"version": "0.90.0-beta.29",
"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.28",
"@polkadot/api-metadata": "^0.90.0-beta.29",
"@polkadot/util": "^1.0.1",
"@polkadot/util-crypto": "^1.0.1",
"@types/nock": "^10.0.3",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/jsonrpc",
"version": "0.90.0-beta.28",
"version": "0.90.0-beta.29",
"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.28",
"version": "0.90.0-beta.29",
"description": "Implementation of the Parity codec",
"main": "index.js",
"keywords": [