Skip to content

Commit eb19a39

Browse files
committed
[CI Skip] release/beta 1.17.0-beta.8
skip-checks: true
1 parent 7ed958f commit eb19a39

File tree

14 files changed

+118
-76
lines changed

14 files changed

+118
-76
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.17.0-beta.7"
12+
"version": "1.17.0-beta.8"
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.0",
3535
"copyfiles": "^2.3.0"
3636
},
37-
"version": "1.17.0-beta.7"
37+
"version": "1.17.0-beta.8"
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.17.0-beta.7",
3+
"version": "1.17.0-beta.8",
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.2",
30-
"@polkadot/api": "1.17.0-beta.7",
31-
"@polkadot/rpc-core": "1.17.0-beta.7",
32-
"@polkadot/types": "1.17.0-beta.7",
30+
"@polkadot/api": "1.17.0-beta.8",
31+
"@polkadot/rpc-core": "1.17.0-beta.8",
32+
"@polkadot/types": "1.17.0-beta.8",
3333
"@polkadot/util": "^2.12.2",
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.17.0-beta.7",
3+
"version": "1.17.0-beta.8",
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.2",
31-
"@polkadot/api": "1.17.0-beta.7",
32-
"@polkadot/rpc-core": "1.17.0-beta.7",
33-
"@polkadot/rpc-provider": "1.17.0-beta.7",
34-
"@polkadot/types": "1.17.0-beta.7",
31+
"@polkadot/api": "1.17.0-beta.8",
32+
"@polkadot/rpc-core": "1.17.0-beta.8",
33+
"@polkadot/rpc-provider": "1.17.0-beta.8",
34+
"@polkadot/types": "1.17.0-beta.8",
3535
"@polkadot/util": "^2.12.2",
3636
"@polkadot/util-crypto": "^2.12.2",
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.17.0-beta.7",
3+
"version": "1.17.0-beta.8",
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.2",
30-
"@polkadot/api-derive": "1.17.0-beta.7",
30+
"@polkadot/api-derive": "1.17.0-beta.8",
3131
"@polkadot/keyring": "^2.12.2",
32-
"@polkadot/metadata": "1.17.0-beta.7",
33-
"@polkadot/rpc-core": "1.17.0-beta.7",
34-
"@polkadot/rpc-provider": "1.17.0-beta.7",
35-
"@polkadot/types": "1.17.0-beta.7",
36-
"@polkadot/types-known": "1.17.0-beta.7",
32+
"@polkadot/metadata": "1.17.0-beta.8",
33+
"@polkadot/rpc-core": "1.17.0-beta.8",
34+
"@polkadot/rpc-provider": "1.17.0-beta.8",
35+
"@polkadot/types": "1.17.0-beta.8",
36+
"@polkadot/types-known": "1.17.0-beta.8",
3737
"@polkadot/util": "^2.12.2",
3838
"@polkadot/util-crypto": "^2.12.2",
3939
"bn.js": "^5.1.2",

packages/api/src/augment/consts.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,12 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
6868
**/
6969
signedClaimHandicap: AugmentedConst<BlockNumber>;
7070
/**
71-
* Size of a contract at the time of instantiation. This is a simple way to ensure that
72-
* empty contracts eventually gets deleted.
71+
* A size offset for an contract. A just created account with untouched storage will have that
72+
* much of storage from the perspective of the state rent.
73+
*
74+
* This is a simple way to ensure that contracts with empty storage eventually get deleted
75+
* by making them pay rent. This creates an incentive to remove them early in order to save
76+
* rent.
7377
**/
7478
storageSizeOffset: AugmentedConst<u32>;
7579
/**

packages/api/src/augment/tx.ts

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,24 @@ declare module '@polkadot/api/types/submittable' {
184184
* - up to 3 events
185185
* # </weight>
186186
**/
187-
close: AugmentedSubmittable<(proposal: Hash | string | Uint8Array, index: Compact<ProposalIndex> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
187+
close: AugmentedSubmittable<(proposalHash: Hash | string | Uint8Array, index: Compact<ProposalIndex> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
188+
/**
189+
* Disapprove a proposal, close, and remove it from the system, regardless of its current state.
190+
*
191+
* Must be called by the Root origin.
192+
*
193+
* Parameters:
194+
* * `proposal_hash`: The hash of the proposal that should be disapproved.
195+
*
196+
* # <weight>
197+
* Complexity: O(P) where P is the number of max proposals
198+
* Base Weight: .49 * P
199+
* DB Weight:
200+
* * Reads: Proposals
201+
* * Writes: Voting, Proposals, ProposalOf
202+
* # </weight>
203+
**/
204+
disapproveProposal: AugmentedSubmittable<(proposalHash: Hash | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
188205
/**
189206
* Dispatch a proposal from a member using the `Member` origin.
190207
*
@@ -2668,7 +2685,24 @@ declare module '@polkadot/api/types/submittable' {
26682685
* - up to 3 events
26692686
* # </weight>
26702687
**/
2671-
close: AugmentedSubmittable<(proposal: Hash | string | Uint8Array, index: Compact<ProposalIndex> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
2688+
close: AugmentedSubmittable<(proposalHash: Hash | string | Uint8Array, index: Compact<ProposalIndex> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
2689+
/**
2690+
* Disapprove a proposal, close, and remove it from the system, regardless of its current state.
2691+
*
2692+
* Must be called by the Root origin.
2693+
*
2694+
* Parameters:
2695+
* * `proposal_hash`: The hash of the proposal that should be disapproved.
2696+
*
2697+
* # <weight>
2698+
* Complexity: O(P) where P is the number of max proposals
2699+
* Base Weight: .49 * P
2700+
* DB Weight:
2701+
* * Reads: Proposals
2702+
* * Writes: Voting, Proposals, ProposalOf
2703+
* # </weight>
2704+
**/
2705+
disapproveProposal: AugmentedSubmittable<(proposalHash: Hash | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
26722706
/**
26732707
* Dispatch a proposal from a member using the `Member` origin.
26742708
*
@@ -3026,7 +3060,8 @@ declare module '@polkadot/api/types/submittable' {
30263060
* Register approval for a dispatch to be made from a deterministic composite account if
30273061
* approved by a total of `threshold - 1` of `other_signatories`.
30283062
*
3029-
* If there are enough, then dispatch the call.
3063+
* If there are enough, then dispatch the call. Calls must each fulfil the `IsCallable`
3064+
* filter.
30303065
*
30313066
* Payment: `MultisigDepositBase` will be reserved if this is the first approval, plus
30323067
* `threshold` times `MultisigDepositFactor`. It is returned once this dispatch happens or
@@ -3078,6 +3113,8 @@ declare module '@polkadot/api/types/submittable' {
30783113
/**
30793114
* Send a call through an indexed pseudonym of the sender.
30803115
*
3116+
* Calls must each fulfil the `IsCallable` filter.
3117+
*
30813118
* The dispatch origin for this call must be _Signed_.
30823119
*
30833120
* # <weight>
@@ -3089,7 +3126,8 @@ declare module '@polkadot/api/types/submittable' {
30893126
/**
30903127
* Send a batch of dispatch calls.
30913128
*
3092-
* This will execute until the first one fails and then stop.
3129+
* This will execute until the first one fails and then stop. Calls must fulfil the
3130+
* `IsCallable` filter unless the origin is `Root`.
30933131
*
30943132
* May be called from any origin.
30953133
*

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.17.0-beta.7",
3+
"version": "1.17.0-beta.8",
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.2",
30-
"@polkadot/types": "1.17.0-beta.7",
31-
"@polkadot/types-known": "1.17.0-beta.7",
30+
"@polkadot/types": "1.17.0-beta.8",
31+
"@polkadot/types-known": "1.17.0-beta.8",
3232
"@polkadot/util": "^2.12.2",
3333
"@polkadot/util-crypto": "^2.12.2",
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.17.0-beta.7",
3+
"version": "1.17.0-beta.8",
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.2",
30-
"@polkadot/metadata": "1.17.0-beta.7",
31-
"@polkadot/rpc-provider": "1.17.0-beta.7",
32-
"@polkadot/types": "1.17.0-beta.7",
30+
"@polkadot/metadata": "1.17.0-beta.8",
31+
"@polkadot/rpc-provider": "1.17.0-beta.8",
32+
"@polkadot/types": "1.17.0-beta.8",
3333
"@polkadot/util": "^2.12.2",
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.17.0-beta.7",
3+
"version": "1.17.0-beta.8",
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.2",
30-
"@polkadot/metadata": "1.17.0-beta.7",
31-
"@polkadot/types": "1.17.0-beta.7",
30+
"@polkadot/metadata": "1.17.0-beta.8",
31+
"@polkadot/types": "1.17.0-beta.8",
3232
"@polkadot/util": "^2.12.2",
3333
"@polkadot/util-crypto": "^2.12.2",
3434
"bn.js": "^5.1.2",

0 commit comments

Comments
 (0)