[CI Skip] release/beta 5.9.2-4

skip-checks: true
This commit is contained in:
Github Actions
2021-09-15 08:58:54 +00:00
parent 264bbf12c9
commit 538544be84
24 changed files with 122 additions and 233 deletions
+1 -1
View File
@@ -35,6 +35,6 @@
"@types/jest": "^27.0.1",
"copyfiles": "^2.4.1"
},
"version": "5.9.2-3",
"version": "5.9.2-4",
"packageManager": "yarn@3.0.1"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
@@ -20,8 +20,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api": "5.9.2-3",
"@polkadot/types": "5.9.2-3",
"@polkadot/api": "5.9.2-4",
"@polkadot/types": "5.9.2-4",
"@polkadot/util": "^7.3.1",
"rxjs": "^7.3.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api-contract', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/api-contract', version: '5.9.2-4' };
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
@@ -20,15 +20,15 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api": "5.9.2-3",
"@polkadot/rpc-core": "5.9.2-3",
"@polkadot/types": "5.9.2-3",
"@polkadot/api": "5.9.2-4",
"@polkadot/rpc-core": "5.9.2-4",
"@polkadot/types": "5.9.2-4",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"rxjs": "^7.3.0"
},
"devDependencies": {
"@polkadot/keyring": "^7.3.1",
"@polkadot/rpc-provider": "5.9.2-3"
"@polkadot/rpc-provider": "5.9.2-4"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api-derive', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/api-derive', version: '5.9.2-4' };
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
@@ -20,12 +20,12 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api-derive": "5.9.2-3",
"@polkadot/api-derive": "5.9.2-4",
"@polkadot/keyring": "^7.3.1",
"@polkadot/rpc-core": "5.9.2-3",
"@polkadot/rpc-provider": "5.9.2-3",
"@polkadot/types": "5.9.2-3",
"@polkadot/types-known": "5.9.2-3",
"@polkadot/rpc-core": "5.9.2-4",
"@polkadot/rpc-provider": "5.9.2-4",
"@polkadot/types": "5.9.2-4",
"@polkadot/types-known": "5.9.2-4",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"eventemitter3": "^4.0.7",
+9 -58
View File
@@ -128,6 +128,13 @@ declare module '@polkadot/api/types/consts' {
[key: string]: Codec;
};
contracts: {
/**
* The deposit that must be placed into the contract's account to instantiate it.
* This is in **addition** to the [`pallet_balances::Pallet::ExistenialDeposit`].
* The minimum balance for a contract's account can be queried using
* [`Pallet::subsistence_threshold`].
**/
contractDeposit: BalanceOf & AugmentedConst<ApiType>;
/**
* The maximum number of tries that can be queued for deletion.
**/
@@ -136,61 +143,10 @@ declare module '@polkadot/api/types/consts' {
* The maximum amount of weight that can be consumed per block for lazy trie removal.
**/
deletionWeightLimit: Weight & AugmentedConst<ApiType>;
/**
* The balance every contract needs to deposit to stay alive indefinitely.
*
* This is different from the [`Self::TombstoneDeposit`] because this only needs to be
* deposited while the contract is alive. Costs for additional storage are added to
* this base cost.
*
* This is a simple way to ensure that contracts with empty storage eventually get deleted
* by making them pay rent. This creates an incentive to remove them early in order to save
* rent.
**/
depositPerContract: BalanceOf & AugmentedConst<ApiType>;
/**
* The balance a contract needs to deposit per storage byte to stay alive indefinitely.
*
* Let's suppose the deposit is 1,000 BU (balance units)/byte and the rent is 1
* BU/byte/day, then a contract with 1,000,000 BU that uses 1,000 bytes of storage would
* pay no rent. But if the balance reduced to 500,000 BU and the storage stayed the same at
* 1,000, then it would pay 500 BU/day.
**/
depositPerStorageByte: BalanceOf & AugmentedConst<ApiType>;
/**
* The balance a contract needs to deposit per storage item to stay alive indefinitely.
*
* It works the same as [`Self::DepositPerStorageByte`] but for storage items.
**/
depositPerStorageItem: BalanceOf & AugmentedConst<ApiType>;
/**
* The fraction of the deposit that should be used as rent per block.
*
* When a contract hasn't enough balance deposited to stay alive indefinitely it needs
* to pay per block for the storage it consumes that is not covered by the deposit.
* This determines how high this rent payment is per block as a fraction of the deposit.
**/
rentFraction: Perbill & AugmentedConst<ApiType>;
/**
* Cost schedule and limits.
**/
schedule: Schedule & AugmentedConst<ApiType>;
/**
* Number of block delay an extrinsic claim surcharge has.
*
* When claim surcharge is called by an extrinsic the rent is checked
* for current_block - delay
**/
signedClaimHandicap: BlockNumber & AugmentedConst<ApiType>;
/**
* Reward that is received by the party whose touch has led
* to removal of a contract.
**/
surchargeReward: BalanceOf & AugmentedConst<ApiType>;
/**
* The minimum amount required to generate a tombstone.
**/
tombstoneDeposit: BalanceOf & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -259,11 +215,6 @@ declare module '@polkadot/api/types/consts' {
[key: string]: Codec;
};
electionProviderMultiPhase: {
/**
* Maximum number of iteration of balancing that will be executed in the embedded miner of
* the pallet.
**/
minerMaxIterations: u32 & AugmentedConst<ApiType>;
/**
* Maximum length (bytes) that the mined solution should consume.
*
@@ -746,7 +697,7 @@ declare module '@polkadot/api/types/consts' {
};
tips: {
/**
* The amount held on deposit per byte within the tip report reason.
* The amount held on deposit per byte within the tip report reason or bounty description.
**/
dataDepositPerByte: BalanceOf & AugmentedConst<ApiType>;
/**
@@ -758,7 +709,7 @@ declare module '@polkadot/api/types/consts' {
**/
tipCountdown: BlockNumber & AugmentedConst<ApiType>;
/**
* The amount of the final tip which goes to the original reporter of the tip.
* The percent of the final tip which goes to the original reporter of the tip.
**/
tipFindersFee: Percent & AugmentedConst<ApiType>;
/**
+5 -49
View File
@@ -196,9 +196,8 @@ declare module '@polkadot/api/types/errors' {
contracts: {
/**
* Performing the requested transfer would have brought the contract below
* the subsistence threshold. No transfer is allowed to do this in order to allow
* for a tombstone to be created. Use `seal_terminate` to remove a contract without
* leaving a tombstone behind.
* the subsistence threshold. No transfer is allowed to do this. Use `seal_terminate`
* to recover a deposit.
**/
BelowSubsistenceThreshold: AugmentedError<ApiType>;
/**
@@ -210,20 +209,6 @@ declare module '@polkadot/api/types/errors' {
* current schedule.
**/
CodeTooLarge: AugmentedError<ApiType>;
/**
* A tombstone exist at the specified address.
*
* Tombstone cannot be called. Anyone can use `seal_restore_to` in order to revive
* the contract, though.
**/
ContractIsTombstone: AugmentedError<ApiType>;
/**
* A contract could not be evicted because it has enough balance to pay rent.
*
* This can be returned from [`Pallet::claim_surcharge`] because the target
* contract has enough balance to pay for its rent.
**/
ContractNotEvictable: AugmentedError<ApiType>;
/**
* No contract was found at the specified address.
**/
@@ -243,7 +228,7 @@ declare module '@polkadot/api/types/errors' {
/**
* Removal of a contract failed because the deletion queue is full.
*
* This can happen when either calling [`Pallet::claim_surcharge`] or `seal_terminate`.
* This can happen when calling `seal_terminate`.
* The queue is filled by deleting contracts and emptied by a fixed amount each block.
* Trying again during another block is the only way to resolve this issue.
**/
@@ -260,30 +245,10 @@ declare module '@polkadot/api/types/errors' {
* `seal_call` forwarded this contracts input. It therefore is no longer available.
**/
InputForwarded: AugmentedError<ApiType>;
/**
* An origin TrieId written in the current block.
**/
InvalidContractOrigin: AugmentedError<ApiType>;
/**
* Cannot restore to nonexisting or alive contract.
**/
InvalidDestinationContract: AugmentedError<ApiType>;
/**
* A new schedule must have a greater version than the current one.
**/
InvalidScheduleVersion: AugmentedError<ApiType>;
/**
* Cannot restore from nonexisting or tombstone contract.
**/
InvalidSourceContract: AugmentedError<ApiType>;
/**
* An origin must be signed or inherent and auxiliary sender only provided on inherent.
**/
InvalidSurchargeClaim: AugmentedError<ApiType>;
/**
* Tombstones don't match.
**/
InvalidTombstone: AugmentedError<ApiType>;
/**
* Performing a call was denied because the calling depth reached the limit
* of what is specified in the schedule.
@@ -320,15 +285,6 @@ declare module '@polkadot/api/types/errors' {
* A call tried to invoke a contract that is flagged as non-reentrant.
**/
ReentranceDenied: AugmentedError<ApiType>;
/**
* The called contract does not have enough balance to pay for its storage.
*
* The contract ran out of balance and is therefore eligible for eviction into a
* tombstone. Anyone can evict the contract by submitting a `claim_surcharge`
* extrinsic. Alternatively, a plain balance transfer can be used in order to
* increase the contracts funds so that it can be called again.
**/
RentNotPaid: AugmentedError<ApiType>;
/**
* A storage modification exhausted the 32bit type that holds the storage size.
*
@@ -339,12 +295,12 @@ declare module '@polkadot/api/types/errors' {
/**
* A contract self destructed in its constructor.
*
* This can be triggered by a call to `seal_terminate` or `seal_restore_to`.
* This can be triggered by a call to `seal_terminate`.
**/
TerminatedInConstructor: AugmentedError<ApiType>;
/**
* Termination of a contract is not allowed while the contract is already
* on the call stack. Can be triggered by `seal_terminate` or `seal_restore_to.
* on the call stack. Can be triggered by `seal_terminate`.
**/
TerminatedWhileReentrant: AugmentedError<ApiType>;
/**
+4 -20
View File
@@ -190,7 +190,7 @@ declare module '@polkadot/api/types/events' {
* A code with the specified hash was removed.
* \[code_hash\]
*
* This happens when the last contract that uses this code hash was removed or evicted.
* This happens when the last contract that uses this code hash was removed.
**/
CodeRemoved: AugmentedEvent<ApiType, [Hash]>;
/**
@@ -208,26 +208,10 @@ declare module '@polkadot/api/types/events' {
* is needed to decode it.
**/
ContractEmitted: AugmentedEvent<ApiType, [AccountId, Bytes]>;
/**
* Contract has been evicted and is now in tombstone state. \[contract\]
**/
Evicted: AugmentedEvent<ApiType, [AccountId]>;
/**
* Contract deployed by address at the specified address. \[deployer, contract\]
**/
Instantiated: AugmentedEvent<ApiType, [AccountId, AccountId]>;
/**
* Restoration of a contract has been successful.
* \[restorer, dest, code_hash, rent_allowance\]
*
* # Params
*
* - `restorer`: Account ID of the restoring contract.
* - `dest`: Account ID of the restored contract.
* - `code_hash`: Code hash of the restored contract.
* - `rent_allowance`: Rent allowance of the restored contract.
**/
Restored: AugmentedEvent<ApiType, [AccountId, AccountId, Hash, Balance]>;
/**
* Triggered when the current schedule is updated.
* \[version\]
@@ -238,7 +222,7 @@ declare module '@polkadot/api/types/events' {
**/
ScheduleUpdated: AugmentedEvent<ApiType, [u32]>;
/**
* Contract has been terminated without leaving a tombstone.
* Contract has been removed.
* \[contract, beneficiary\]
*
* # Params
@@ -248,8 +232,8 @@ declare module '@polkadot/api/types/events' {
*
* # Note
*
* The only way for a contract to be removed without a tombstone and emitting
* this event is by calling `seal_terminate`.
* The only way for a contract to be removed and emitting this event is by calling
* `seal_terminate`.
**/
Terminated: AugmentedEvent<ApiType, [AccountId, AccountId]>;
/**
+37 -39
View File
@@ -718,18 +718,6 @@ declare module '@polkadot/api/types/submittable' {
* a regular account will be created and any value will be transferred.
**/
call: AugmentedSubmittable<(dest: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<BalanceOf> | AnyNumber | Uint8Array, gasLimit: Compact<Weight> | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [LookupSource, Compact<BalanceOf>, Compact<Weight>, Bytes]>;
/**
* Allows block producers to claim a small reward for evicting a contract. If a block
* producer fails to do so, a regular users will be allowed to claim the reward.
*
* In case of a successful eviction no fees are charged from the sender. However, the
* reward is capped by the total amount of rent that was paid by the contract while
* it was alive.
*
* If contract is not evicted as a result of this call, [`Error::ContractNotEvictable`]
* is returned and the sender is not eligible for the reward.
**/
claimSurcharge: AugmentedSubmittable<(dest: AccountId | string | Uint8Array, auxSender: Option<AccountId> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId, Option<AccountId>]>;
/**
* Instantiates a contract from a previously deployed wasm binary.
*
@@ -783,7 +771,8 @@ declare module '@polkadot/api/types/submittable' {
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal.
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
@@ -796,14 +785,16 @@ declare module '@polkadot/api/types/submittable' {
* - `P2` is proposal-count (code-bounded)
* - DB:
* - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)
* - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec `O(P2)`)
* - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec
* `O(P2)`)
* - any mutations done while executing `proposal` (`P1`)
* - up to 3 events
* # </weight>
**/
close: AugmentedSubmittable<(proposalHash: Hash | string | Uint8Array, index: Compact<ProposalIndex> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Hash, Compact<ProposalIndex>, Compact<Weight>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current state.
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
*
* Must be called by the Root origin.
*
@@ -825,7 +816,8 @@ declare module '@polkadot/api/types/submittable' {
*
* # <weight>
* ## Weight
* - `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching `proposal`
* - `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching
* `proposal`
* - DB: 1 read (codec `O(M)`) + DB access of `proposal`
* - 1 event
* # </weight>
@@ -866,8 +858,8 @@ declare module '@polkadot/api/types/submittable' {
*
* - `new_members`: The new member list. Be nice to the chain and provide it sorted.
* - `prime`: The prime member whose vote sets the default.
* - `old_count`: The upper bound for the previous number of members in storage.
* Used for weight estimation.
* - `old_count`: The upper bound for the previous number of members in storage. Used for
* weight estimation.
*
* Requires root origin.
*
@@ -881,7 +873,8 @@ declare module '@polkadot/api/types/submittable' {
* - `N` new-members-count (code- and governance-bounded)
* - `P` proposals-count (code-bounded)
* - DB:
* - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the members
* - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the
* members
* - 1 storage read (codec `O(P)`) for reading the proposals
* - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal
* - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one
@@ -894,7 +887,8 @@ declare module '@polkadot/api/types/submittable' {
* Requires the sender to be a member.
*
* Transaction fees will be waived if the member is voting on any particular proposal
* for the first time and the call is successful. Subsequent vote changes will charge a fee.
* for the first time and the call is successful. Subsequent vote changes will charge a
* fee.
* # <weight>
* ## Weight
* - `O(M)` where `M` is members-count (code- and governance-bounded)
@@ -3529,7 +3523,8 @@ declare module '@polkadot/api/types/submittable' {
* If the close operation completes successfully with disapproval, the transaction fee will
* be waived. Otherwise execution of the approved operation will be charged to the caller.
*
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal.
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
* proposal.
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
*
@@ -3542,14 +3537,16 @@ declare module '@polkadot/api/types/submittable' {
* - `P2` is proposal-count (code-bounded)
* - DB:
* - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)
* - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec `O(P2)`)
* - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec
* `O(P2)`)
* - any mutations done while executing `proposal` (`P1`)
* - up to 3 events
* # </weight>
**/
close: AugmentedSubmittable<(proposalHash: Hash | string | Uint8Array, index: Compact<ProposalIndex> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Hash, Compact<ProposalIndex>, Compact<Weight>, Compact<u32>]>;
/**
* Disapprove a proposal, close, and remove it from the system, regardless of its current state.
* Disapprove a proposal, close, and remove it from the system, regardless of its current
* state.
*
* Must be called by the Root origin.
*
@@ -3571,7 +3568,8 @@ declare module '@polkadot/api/types/submittable' {
*
* # <weight>
* ## Weight
* - `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching `proposal`
* - `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching
* `proposal`
* - DB: 1 read (codec `O(M)`) + DB access of `proposal`
* - 1 event
* # </weight>
@@ -3612,8 +3610,8 @@ declare module '@polkadot/api/types/submittable' {
*
* - `new_members`: The new member list. Be nice to the chain and provide it sorted.
* - `prime`: The prime member whose vote sets the default.
* - `old_count`: The upper bound for the previous number of members in storage.
* Used for weight estimation.
* - `old_count`: The upper bound for the previous number of members in storage. Used for
* weight estimation.
*
* Requires root origin.
*
@@ -3627,7 +3625,8 @@ declare module '@polkadot/api/types/submittable' {
* - `N` new-members-count (code- and governance-bounded)
* - `P` proposals-count (code-bounded)
* - DB:
* - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the members
* - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the
* members
* - 1 storage read (codec `O(P)`) for reading the proposals
* - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal
* - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one
@@ -3640,7 +3639,8 @@ declare module '@polkadot/api/types/submittable' {
* Requires the sender to be a member.
*
* Transaction fees will be waived if the member is voting on any particular proposal
* for the first time and the call is successful. Subsequent vote changes will charge a fee.
* for the first time and the call is successful. Subsequent vote changes will charge a
* fee.
* # <weight>
* ## Weight
* - `O(M)` where `M` is members-count (code- and governance-bounded)
@@ -3746,10 +3746,9 @@ declare module '@polkadot/api/types/submittable' {
* as the hash of the tuple of the original tip `reason` and the beneficiary account ID.
*
* # <weight>
* - Complexity: `O(T)` where `T` is the number of tippers.
* decoding `Tipper` vec of length `T`.
* `T` is charged as upper bound given by `ContainsLengthBound`.
* The actual cost depends on the implementation of `T::Tippers`.
* - Complexity: `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length
* `T`. `T` is charged as upper bound given by `ContainsLengthBound`. The actual cost
* depends on the implementation of `T::Tippers`.
* - DbReads: `Tips`, `Tippers`, `tip finder`
* - DbWrites: `Reasons`, `Tips`, `Tippers`, `tip finder`
* # </weight>
@@ -3830,10 +3829,9 @@ declare module '@polkadot/api/types/submittable' {
* has started.
*
* # <weight>
* - Complexity: `O(T)` where `T` is the number of tippers.
* decoding `Tipper` vec of length `T`, insert tip and check closing,
* `T` is charged as upper bound given by `ContainsLengthBound`.
* The actual cost depends on the implementation of `T::Tippers`.
* - Complexity: `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length
* `T`, insert tip and check closing, `T` is charged as upper bound given by
* `ContainsLengthBound`. The actual cost depends on the implementation of `T::Tippers`.
*
* Actually weight could be lower as it depends on how many tips are in `OpenTip` but it
* is weighted as if almost full i.e of length `T-1`.
@@ -3858,9 +3856,9 @@ declare module '@polkadot/api/types/submittable' {
*
* # <weight>
* - Complexity: `O(R + T)` where `R` length of `reason`, `T` is the number of tippers.
* - `O(T)`: decoding `Tipper` vec of length `T`
* `T` is charged as upper bound given by `ContainsLengthBound`.
* The actual cost depends on the implementation of `T::Tippers`.
* - `O(T)`: decoding `Tipper` vec of length `T`. `T` is charged as upper bound given by
* `ContainsLengthBound`. The actual cost depends on the implementation of
* `T::Tippers`.
* - `O(R)`: hashing and encoding of reason of length `R`
* - DbReads: `Tippers`, `Reasons`
* - DbWrites: `Reasons`, `Tips`
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/api', version: '5.9.2-4' };
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
@@ -20,8 +20,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/rpc-provider": "5.9.2-3",
"@polkadot/types": "5.9.2-3",
"@polkadot/rpc-provider": "5.9.2-4",
"@polkadot/types": "5.9.2-4",
"@polkadot/util": "^7.3.1",
"rxjs": "^7.3.0"
},
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/rpc-core', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/rpc-core', version: '5.9.2-4' };
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "Transport providers for the API",
"main": "index.js",
@@ -20,7 +20,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/types": "5.9.2-3",
"@polkadot/types": "5.9.2-4",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"@polkadot/x-fetch": "^7.3.1",
@@ -30,7 +30,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.3.1",
"@polkadot/types": "5.9.2-3",
"@polkadot/types": "5.9.2-4",
"mock-socket": "^9.0.3",
"nock": "^13.1.3"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/rpc-provider', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/rpc-provider', version: '5.9.2-4' };
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "Type generation scripts",
"main": "index.js",
@@ -29,10 +29,10 @@
"@babel/core": "^7.15.5",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.15.4",
"@polkadot/api": "5.9.2-3",
"@polkadot/rpc-provider": "5.9.2-3",
"@polkadot/types": "5.9.2-3",
"@polkadot/types-support": "5.9.2-3",
"@polkadot/api": "5.9.2-4",
"@polkadot/rpc-provider": "5.9.2-4",
"@polkadot/types": "5.9.2-4",
"@polkadot/types-support": "5.9.2-4",
"@polkadot/util": "^7.3.1",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/typegen', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/typegen', version: '5.9.2-4' };
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "Known type definitions",
"main": "index.js",
@@ -21,7 +21,7 @@
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/networks": "^7.3.1",
"@polkadot/types": "5.9.2-3",
"@polkadot/types": "5.9.2-4",
"@polkadot/util": "^7.3.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types-known', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/types-known', version: '5.9.2-4' };
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-support",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "Supporting files for types, mostly for testing",
"main": "index.js",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types-support', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/types-support', version: '5.9.2-4' };
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "5.9.2-3",
"version": "5.9.2-4",
"type": "module",
"description": "Implementation of the Parity codec",
"main": "index.js",
@@ -26,7 +26,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.3.1",
"@polkadot/types-support": "5.9.2-3",
"@polkadot/types-support": "5.9.2-4",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.12.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types', version: '5.9.2-3' };
export const packageInfo = { name: '@polkadot/types', version: '5.9.2-4' };
+27 -27
View File
@@ -1854,40 +1854,40 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api": 5.9.2-3
"@polkadot/types": 5.9.2-3
"@polkadot/api": 5.9.2-4
"@polkadot/types": 5.9.2-4
"@polkadot/util": ^7.3.1
rxjs: ^7.3.0
languageName: unknown
linkType: soft
"@polkadot/api-derive@5.9.2-3, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@5.9.2-4, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api": 5.9.2-3
"@polkadot/api": 5.9.2-4
"@polkadot/keyring": ^7.3.1
"@polkadot/rpc-core": 5.9.2-3
"@polkadot/rpc-provider": 5.9.2-3
"@polkadot/types": 5.9.2-3
"@polkadot/rpc-core": 5.9.2-4
"@polkadot/rpc-provider": 5.9.2-4
"@polkadot/types": 5.9.2-4
"@polkadot/util": ^7.3.1
"@polkadot/util-crypto": ^7.3.1
rxjs: ^7.3.0
languageName: unknown
linkType: soft
"@polkadot/api@5.9.2-3, @polkadot/api@workspace:packages/api":
"@polkadot/api@5.9.2-4, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api-derive": 5.9.2-3
"@polkadot/api-derive": 5.9.2-4
"@polkadot/keyring": ^7.3.1
"@polkadot/rpc-core": 5.9.2-3
"@polkadot/rpc-provider": 5.9.2-3
"@polkadot/types": 5.9.2-3
"@polkadot/types-known": 5.9.2-3
"@polkadot/rpc-core": 5.9.2-4
"@polkadot/rpc-provider": 5.9.2-4
"@polkadot/types": 5.9.2-4
"@polkadot/types-known": 5.9.2-4
"@polkadot/util": ^7.3.1
"@polkadot/util-crypto": ^7.3.1
eventemitter3: ^4.0.7
@@ -2012,26 +2012,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-core@5.9.2-3, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@5.9.2-4, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.3.1
"@polkadot/rpc-provider": 5.9.2-3
"@polkadot/types": 5.9.2-3
"@polkadot/rpc-provider": 5.9.2-4
"@polkadot/types": 5.9.2-4
"@polkadot/util": ^7.3.1
rxjs: ^7.3.0
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@5.9.2-3, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@5.9.2-4, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.3.1
"@polkadot/types": 5.9.2-3
"@polkadot/types": 5.9.2-4
"@polkadot/util": ^7.3.1
"@polkadot/util-crypto": ^7.3.1
"@polkadot/x-fetch": ^7.3.1
@@ -2059,10 +2059,10 @@ __metadata:
"@babel/core": ^7.15.5
"@babel/register": ^7.15.3
"@babel/runtime": ^7.15.4
"@polkadot/api": 5.9.2-3
"@polkadot/rpc-provider": 5.9.2-3
"@polkadot/types": 5.9.2-3
"@polkadot/types-support": 5.9.2-3
"@polkadot/api": 5.9.2-4
"@polkadot/rpc-provider": 5.9.2-4
"@polkadot/types": 5.9.2-4
"@polkadot/types-support": 5.9.2-4
"@polkadot/util": ^7.3.1
"@types/websocket": ^1.0.4
"@types/yargs": ^17.0.2
@@ -2078,18 +2078,18 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-known@5.9.2-3, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@5.9.2-4, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/networks": ^7.3.1
"@polkadot/types": 5.9.2-3
"@polkadot/types": 5.9.2-4
"@polkadot/util": ^7.3.1
languageName: unknown
linkType: soft
"@polkadot/types-support@5.9.2-3, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@5.9.2-4, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -2098,13 +2098,13 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@5.9.2-3, @polkadot/types@workspace:packages/types":
"@polkadot/types@5.9.2-4, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.3.1
"@polkadot/types-support": 5.9.2-3
"@polkadot/types-support": 5.9.2-4
"@polkadot/util": ^7.3.1
"@polkadot/util-crypto": ^7.3.1
"@types/bn.js": ^4.11.6