From be6dbdd3e46a0eb039f68cdd316508f16fca28cc Mon Sep 17 00:00:00 2001 From: Github Actions Date: Sun, 21 Mar 2021 16:37:49 +0000 Subject: [PATCH] [CI Skip] release/beta 4.1.2-8 skip-checks: true --- package.json | 2 +- packages/api-contract/package.json | 6 +- packages/api-contract/src/packageInfo.ts | 2 +- packages/api-derive/package.json | 10 ++-- packages/api-derive/src/packageInfo.ts | 2 +- packages/api/package.json | 14 ++--- packages/api/src/augment/consts.ts | 46 ++++++--------- packages/api/src/augment/errors.ts | 74 +++++------------------- packages/api/src/augment/events.ts | 8 +-- packages/api/src/augment/query.ts | 46 +-------------- packages/api/src/augment/tx.ts | 68 +--------------------- packages/api/src/packageInfo.ts | 2 +- packages/metadata/package.json | 6 +- packages/metadata/src/packageInfo.ts | 2 +- packages/rpc-core/package.json | 8 +-- packages/rpc-core/src/packageInfo.ts | 2 +- packages/rpc-provider/package.json | 6 +- packages/rpc-provider/src/packageInfo.ts | 2 +- packages/typegen/package.json | 10 ++-- packages/typegen/src/packageInfo.ts | 2 +- packages/types-known/package.json | 4 +- packages/types-known/src/packageInfo.ts | 2 +- packages/types/package.json | 4 +- packages/types/src/packageInfo.ts | 2 +- yarn.lock | 64 ++++++++++---------- 25 files changed, 115 insertions(+), 279 deletions(-) diff --git a/package.json b/package.json index 4e601cde5b..76aa9d95e1 100644 --- a/package.json +++ b/package.json @@ -34,5 +34,5 @@ "@types/jest": "^26.0.21", "copyfiles": "^2.4.1" }, - "version": "4.1.2-7" + "version": "4.1.2-8" } diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 41dc6e5a81..f929d9637b 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "Interfaces for interacting with contracts and contract ABIs", "main": "index.js", @@ -17,8 +17,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { "@babel/runtime": "^7.13.10", - "@polkadot/api": "4.1.2-7", - "@polkadot/types": "4.1.2-7", + "@polkadot/api": "4.1.2-8", + "@polkadot/types": "4.1.2-8", "@polkadot/util": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5", "bn.js": "^4.11.9" diff --git a/packages/api-contract/src/packageInfo.ts b/packages/api-contract/src/packageInfo.ts index 743e5939a4..239eaefc71 100644 --- a/packages/api-contract/src/packageInfo.ts +++ b/packages/api-contract/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/api-contract', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/api-contract', version: '4.1.2-8' }; diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 7c3468cd3a..45369be235 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", @@ -17,9 +17,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.13.10", - "@polkadot/api": "4.1.2-7", - "@polkadot/rpc-core": "4.1.2-7", - "@polkadot/types": "4.1.2-7", + "@polkadot/api": "4.1.2-8", + "@polkadot/rpc-core": "4.1.2-8", + "@polkadot/types": "4.1.2-8", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5", @@ -27,6 +27,6 @@ }, "devDependencies": { "@polkadot/keyring": "^6.0.5", - "@polkadot/rpc-provider": "4.1.2-7" + "@polkadot/rpc-provider": "4.1.2-8" } } diff --git a/packages/api-derive/src/packageInfo.ts b/packages/api-derive/src/packageInfo.ts index 20ff686067..9f4d29240f 100644 --- a/packages/api-derive/src/packageInfo.ts +++ b/packages/api-derive/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/api-derive', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/api-derive', version: '4.1.2-8' }; diff --git a/packages/api/package.json b/packages/api/package.json index ecac6e2bd6..9afad73b0d 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", @@ -17,13 +17,13 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.13.10", - "@polkadot/api-derive": "4.1.2-7", + "@polkadot/api-derive": "4.1.2-8", "@polkadot/keyring": "^6.0.5", - "@polkadot/metadata": "4.1.2-7", - "@polkadot/rpc-core": "4.1.2-7", - "@polkadot/rpc-provider": "4.1.2-7", - "@polkadot/types": "4.1.2-7", - "@polkadot/types-known": "4.1.2-7", + "@polkadot/metadata": "4.1.2-8", + "@polkadot/rpc-core": "4.1.2-8", + "@polkadot/rpc-provider": "4.1.2-8", + "@polkadot/types": "4.1.2-8", + "@polkadot/types-known": "4.1.2-8", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5", diff --git a/packages/api/src/augment/consts.ts b/packages/api/src/augment/consts.ts index ace2e24bf3..7bdd6e629b 100644 --- a/packages/api/src/augment/consts.ts +++ b/packages/api/src/augment/consts.ts @@ -16,11 +16,9 @@ declare module '@polkadot/api/types/consts' { babe: { [key: string]: Codec; /** - * The number of **slots** that an epoch takes. We couple sessions to - * epochs, i.e. we start a new session once the new epoch begins. - * NOTE: Currently it is not possible to change the epoch duration - * after the chain has started. Attempting to do so will brick block - * production. + * The amount of time, in slots, that each epoch should last. + * NOTE: Currently it is not possible to change the epoch duration after + * the chain has started. Attempting to do so will brick block production. **/ epochDuration: u64 & AugmentedConst; /** @@ -318,15 +316,20 @@ declare module '@polkadot/api/types/consts' { proxy: { [key: string]: Codec; /** - * `AnnouncementDepositBase` metadata shadow. + * The base amount of currency needed to reserve for creating an announcement. + * + * This is held when a new storage item holding a `Balance` is created (typically 16 bytes). **/ announcementDepositBase: BalanceOf & AugmentedConst; /** - * `AnnouncementDepositFactor` metadata shadow. + * The amount of currency needed per announcement made. + * + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. **/ announcementDepositFactor: BalanceOf & AugmentedConst; /** - * `MaxPending` metadata shadow. + * The maximum amount of time-delayed announcements that are allowed to be pending. **/ maxPending: u32 & AugmentedConst; /** @@ -335,10 +338,17 @@ declare module '@polkadot/api/types/consts' { maxProxies: u16 & AugmentedConst; /** * The base amount of currency needed to reserve for creating a proxy. + * + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. **/ proxyDepositBase: BalanceOf & AugmentedConst; /** * The amount of currency needed per proxy added. + * + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing + * storage value. Thus, when configuring `ProxyDepositFactor` one should take into account + * `32 + proxy_type.encode().len()` bytes of data. **/ proxyDepositFactor: BalanceOf & AugmentedConst; }; @@ -400,22 +410,6 @@ declare module '@polkadot/api/types/consts' { * Number of eras that staked funds must remain bonded for. **/ bondingDuration: EraIndex & AugmentedConst; - /** - * The number of blocks before the end of the era from which election submissions are allowed. - * - * Setting this to zero will disable the offchain compute and only on-chain seq-phragmen will - * be used. - * - * This is bounded by being within the last session. Hence, setting it to a value more than the - * length of a session will be pointless. - **/ - electionLookahead: BlockNumber & AugmentedConst; - /** - * Maximum number of balancing iterations to run in the offchain submission. - * - * If set to 0, balance_solution will not be executed at all. - **/ - maxIterations: u32 & AugmentedConst; /** * The maximum number of nominators rewarded for each validator. * @@ -423,10 +417,6 @@ declare module '@polkadot/api/types/consts' { * their reward. This used to limit the i/o cost for the nominator payout. **/ maxNominatorRewardedPerValidator: u32 & AugmentedConst; - /** - * The threshold of improvement that should be provided for a new solution to be accepted. - **/ - minSolutionScoreBump: Perbill & AugmentedConst; /** * Number of sessions per era. **/ diff --git a/packages/api/src/augment/errors.ts b/packages/api/src/augment/errors.ts index cb42aeb56a..a32938c0a7 100644 --- a/packages/api/src/augment/errors.ts +++ b/packages/api/src/augment/errors.ts @@ -91,6 +91,21 @@ declare module '@polkadot/api/types/errors' { **/ UnclesAlreadySet: AugmentedError; }; + babe: { + [key: string]: AugmentedError; + /** + * A given equivocation report is valid but already previously reported. + **/ + DuplicateOffenceReport: AugmentedError; + /** + * An equivocation proof provided as part of an equivocation report is invalid. + **/ + InvalidEquivocationProof: AugmentedError; + /** + * A key ownership proof provided as part of an equivocation report is invalid. + **/ + InvalidKeyOwnershipProof: AugmentedError; + }; balances: { [key: string]: AugmentedError; /** @@ -1032,10 +1047,6 @@ declare module '@polkadot/api/types/errors' { * A nomination target was supplied that was blocked or otherwise not a validator. **/ BadTarget: AugmentedError; - /** - * The call is not allowed at the given time due to restrictions of election period. - **/ - CallNotAllowed: AugmentedError; /** * Duplicate index. **/ @@ -1092,61 +1103,6 @@ declare module '@polkadot/api/types/errors' { * Can not rebond without unlocking chunks. **/ NoUnlockChunk: AugmentedError; - /** - * Error while building the assignment type from the compact. This can happen if an index - * is invalid, or if the weights _overflow_. - **/ - OffchainElectionBogusCompact: AugmentedError; - /** - * The submitted result has unknown edges that are not among the presented winners. - **/ - OffchainElectionBogusEdge: AugmentedError; - /** - * The election size is invalid. - **/ - OffchainElectionBogusElectionSize: AugmentedError; - /** - * One of the submitted nominators has an edge to which they have not voted on chain. - **/ - OffchainElectionBogusNomination: AugmentedError; - /** - * One of the submitted nominators is not an active nominator on chain. - **/ - OffchainElectionBogusNominator: AugmentedError; - /** - * The claimed score does not match with the one computed from the data. - **/ - OffchainElectionBogusScore: AugmentedError; - /** - * A self vote must only be originated from a validator to ONLY themselves. - **/ - OffchainElectionBogusSelfVote: AugmentedError; - /** - * One of the submitted winners is not an active candidate on chain (index is out of range - * in snapshot). - **/ - OffchainElectionBogusWinner: AugmentedError; - /** - * Incorrect number of winners were presented. - **/ - OffchainElectionBogusWinnerCount: AugmentedError; - /** - * The submitted result is received out of the open window. - **/ - OffchainElectionEarlySubmission: AugmentedError; - /** - * One of the submitted nominators has an edge which is submitted before the last non-zero - * slash of the target. - **/ - OffchainElectionSlashedNomination: AugmentedError; - /** - * The submitted result is not as good as the one stored on chain. - **/ - OffchainElectionWeakSubmission: AugmentedError; - /** - * The snapshot data of the current window is missing. - **/ - SnapshotUnavailable: AugmentedError; /** * Too many nomination targets supplied. **/ diff --git a/packages/api/src/augment/events.ts b/packages/api/src/augment/events.ts index c54ce106b9..0895264ff8 100644 --- a/packages/api/src/augment/events.ts +++ b/packages/api/src/augment/events.ts @@ -769,13 +769,9 @@ declare module '@polkadot/api/types/events' { **/ Slash: AugmentedEvent; /** - * A new solution for the upcoming election has been stored. \[compute\] + * A new set of stakers was elected. **/ - SolutionStored: AugmentedEvent; - /** - * A new set of stakers was elected with the given \[compute\]. - **/ - StakingElection: AugmentedEvent; + StakingElection: AugmentedEvent; /** * An account has unbonded this amount. \[stash, amount\] **/ diff --git a/packages/api/src/augment/query.ts b/packages/api/src/augment/query.ts index 4f2ba6e4a7..8a3079c6be 100644 --- a/packages/api/src/augment/query.ts +++ b/packages/api/src/augment/query.ts @@ -24,7 +24,7 @@ import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, import type { Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler'; import type { Keys, SessionIndex } from '@polkadot/types/interfaces/session'; import type { Bid, BidKind, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; -import type { ActiveEraInfo, ElectionPhase, ElectionResult, ElectionScore, ElectionStatus, EraIndex, EraRewardPoints, Exposure, Forcing, Nominations, ReadySolution, RewardDestination, RoundSnapshot, SeatHolder, SlashingSpans, SolutionOrSnapshotSize, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, ValidatorPrefs, Voter } from '@polkadot/types/interfaces/staking'; +import type { ActiveEraInfo, ElectionPhase, EraIndex, EraRewardPoints, Exposure, Forcing, Nominations, ReadySolution, RewardDestination, RoundSnapshot, SeatHolder, SlashingSpans, SolutionOrSnapshotSize, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, ValidatorPrefs, Voter } from '@polkadot/types/interfaces/staking'; import type { AccountInfo, ConsumedWeight, DigestOf, EventIndex, EventRecord, LastRuntimeUpgradeInfo, Phase } from '@polkadot/types/interfaces/system'; import type { Bounty, BountyIndex, OpenTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; import type { Multiplier } from '@polkadot/types/interfaces/txpayment'; @@ -822,13 +822,6 @@ declare module '@polkadot/api/types/storage' { * The earliest era for which we have a pending, unapplied slash. **/ earliestUnappliedSlash: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Flag to control the execution of the offchain election. When `Open(_)`, we accept - * solutions to be submitted. - * - * TWO_PHASE_NOTE: should be removed once we switch to multi-phase. - **/ - eraElectionStatus: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Rewards for the last `HISTORY_DEPTH` eras. * If reward hasn't been set or has been removed then 0 reward is returned. @@ -903,13 +896,6 @@ declare module '@polkadot/api/types/storage' { * invulnerables) and restricted to testnets. **/ invulnerables: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * True if the current **planned** session is final. Note that this does not take era - * forcing into account. - * - * TWO_PHASE_NOTE: should be removed once we switch to multi-phase. - **/ - isCurrentSessionFinal: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Map from all (unlocked) "controller" accounts to the info regarding the staking. **/ @@ -930,20 +916,6 @@ declare module '@polkadot/api/types/storage' { * Where the reward payment should be made. Keyed by stash. **/ payee: AugmentedQuery Observable, [AccountId]> & QueryableStorageEntry; - /** - * The next validator set. At the end of an era, if this is available (potentially from the - * result of an offchain worker), it is immediately used. Otherwise, the on-chain election - * is executed. - * - * TWO_PHASE_NOTE: should be removed once we switch to multi-phase. - **/ - queuedElected: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The score of the current [`QueuedElected`]. - * - * TWO_PHASE_NOTE: should be removed once we switch to multi-phase. - **/ - queuedScore: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Slashing spans for stash accounts. **/ @@ -954,20 +926,6 @@ declare module '@polkadot/api/types/storage' { * The rest of the slashed value is handled by the `Slash`. **/ slashRewardFraction: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Snapshot of nominators at the beginning of the current election window. This should only - * have a value when [`EraElectionStatus`] == `ElectionStatus::Open(_)`. - * - * TWO_PHASE_NOTE: should be removed once we switch to multi-phase. - **/ - snapshotNominators: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** - * Snapshot of validators at the beginning of the current election window. This should only - * have a value when [`EraElectionStatus`] == `ElectionStatus::Open(_)`. - * - * TWO_PHASE_NOTE: should be removed once we switch to multi-phase. - **/ - snapshotValidators: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * Records information about the maximum slash of a stash within a slashing span, * as well as how much reward has been paid out. @@ -977,7 +935,7 @@ declare module '@polkadot/api/types/storage' { * True if network has been upgraded to this version. * Storage version of the pallet. * - * This is set to v5.0.0 for new networks. + * This is set to v6.0.0 for new networks. **/ storageVersion: AugmentedQuery Observable, []> & QueryableStorageEntry; /** diff --git a/packages/api/src/augment/tx.ts b/packages/api/src/augment/tx.ts index 7a12513921..92f823a309 100644 --- a/packages/api/src/augment/tx.ts +++ b/packages/api/src/augment/tx.ts @@ -19,7 +19,7 @@ import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, import type { Period, Priority } from '@polkadot/types/interfaces/scheduler'; import type { Keys } from '@polkadot/types/interfaces/session'; import type { SocietyJudgement } from '@polkadot/types/interfaces/society'; -import type { CompactAssignments, ElectionScore, ElectionSize, EraIndex, RawSolution, RewardDestination, SolutionOrSnapshotSize, ValidatorIndex, ValidatorPrefs } from '@polkadot/types/interfaces/staking'; +import type { EraIndex, RawSolution, RewardDestination, SolutionOrSnapshotSize, ValidatorPrefs } from '@polkadot/types/interfaces/staking'; import type { Key } from '@polkadot/types/interfaces/system'; import type { BountyIndex } from '@polkadot/types/interfaces/treasury'; import type { Timepoint } from '@polkadot/types/interfaces/utility'; @@ -2098,7 +2098,7 @@ declare module '@polkadot/api/types/submittable' { **/ proxy: AugmentedSubmittable<(real: AccountId | string | Uint8Array, forceProxyType: Option | null | object | string | Uint8Array, call: Call | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic, [AccountId, Option, Call]>; /** - * Dispatch the given `call` from an account that the sender is authorised for through + * Dispatch the given `call` from an account that the sender is authorized for through * `add_proxy`. * * Removes any corresponding announcement(s). @@ -3155,70 +3155,6 @@ declare module '@polkadot/api/types/submittable' { * # **/ setValidatorCount: AugmentedSubmittable<(updated: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Submit an election result to the chain. If the solution: - * - * 1. is valid. - * 2. has a better score than a potentially existing solution on chain. - * - * then, it will be _put_ on chain. - * - * A solution consists of two pieces of data: - * - * 1. `winners`: a flat vector of all the winners of the round. - * 2. `assignments`: the compact version of an assignment vector that encodes the edge - * weights. - * - * Both of which may be computed using _phragmen_, or any other algorithm. - * - * Additionally, the submitter must provide: - * - * - The `score` that they claim their solution has. - * - * Both validators and nominators will be represented by indices in the solution. The - * indices should respect the corresponding types ([`ValidatorIndex`] and - * [`NominatorIndex`]). Moreover, they should be valid when used to index into - * [`SnapshotValidators`] and [`SnapshotNominators`]. Any invalid index will cause the - * solution to be rejected. These two storage items are set during the election window and - * may be used to determine the indices. - * - * A solution is valid if: - * - * 0. It is submitted when [`EraElectionStatus`] is `Open`. - * 1. Its claimed score is equal to the score computed on-chain. - * 2. Presents the correct number of winners. - * 3. All indexes must be value according to the snapshot vectors. All edge values must - * also be correct and should not overflow the granularity of the ratio type (i.e. 256 - * or billion). - * 4. For each edge, all targets are actually nominated by the voter. - * 5. Has correct self-votes. - * - * A solutions score is consisted of 3 parameters: - * - * 1. `min { support.total }` for each support of a winner. This value should be maximized. - * 2. `sum { support.total }` for each support of a winner. This value should be minimized. - * 3. `sum { support.total^2 }` for each support of a winner. This value should be - * minimized (to ensure less variance) - * - * # - * The transaction is assumed to be the longest path, a better solution. - * - Initial solution is almost the same. - * - Worse solution is retraced in pre-dispatch-checks which sets its own weight. - * # - **/ - submitElectionSolution: AugmentedSubmittable<(winners: Vec | (ValidatorIndex | AnyNumber | Uint8Array)[], compact: CompactAssignments | { votes1?: any; votes2?: any; votes3?: any; votes4?: any; votes5?: any; votes6?: any; votes7?: any; votes8?: any; votes9?: any; votes10?: any; votes11?: any; votes12?: any; votes13?: any; votes14?: any; votes15?: any; votes16?: any } | string | Uint8Array, score: ElectionScore, era: EraIndex | AnyNumber | Uint8Array, size: ElectionSize | { validators?: any; nominators?: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec, CompactAssignments, ElectionScore, EraIndex, ElectionSize]>; - /** - * Unsigned version of `submit_election_solution`. - * - * Note that this must pass the [`ValidateUnsigned`] check which only allows transactions - * from the local node to be included. In other words, only the block author can include a - * transaction in the block. - * - * # - * See [`submit_election_solution`]. - * # - **/ - submitElectionSolutionUnsigned: AugmentedSubmittable<(winners: Vec | (ValidatorIndex | AnyNumber | Uint8Array)[], compact: CompactAssignments | { votes1?: any; votes2?: any; votes3?: any; votes4?: any; votes5?: any; votes6?: any; votes7?: any; votes8?: any; votes9?: any; votes10?: any; votes11?: any; votes12?: any; votes13?: any; votes14?: any; votes15?: any; votes16?: any } | string | Uint8Array, score: ElectionScore, era: EraIndex | AnyNumber | Uint8Array, size: ElectionSize | { validators?: any; nominators?: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec, CompactAssignments, ElectionScore, EraIndex, ElectionSize]>; /** * Schedule a portion of the stash to be unlocked ready for transfer out after the bond * period ends. If this leaves an amount actively bonded less than diff --git a/packages/api/src/packageInfo.ts b/packages/api/src/packageInfo.ts index ed2a460751..c857a7a5eb 100644 --- a/packages/api/src/packageInfo.ts +++ b/packages/api/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/api', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/api', version: '4.1.2-8' }; diff --git a/packages/metadata/package.json b/packages/metadata/package.json index 6b6d2f2cba..1323f45da4 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/metadata", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "Helpers to extract information from runtime metadata", "main": "index.js", @@ -17,8 +17,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "dependencies": { "@babel/runtime": "^7.13.10", - "@polkadot/types": "4.1.2-7", - "@polkadot/types-known": "4.1.2-7", + "@polkadot/types": "4.1.2-8", + "@polkadot/types-known": "4.1.2-8", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "bn.js": "^4.11.9" diff --git a/packages/metadata/src/packageInfo.ts b/packages/metadata/src/packageInfo.ts index 30b5e76f25..854a9fbce6 100644 --- a/packages/metadata/src/packageInfo.ts +++ b/packages/metadata/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/metadata', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/metadata', version: '4.1.2-8' }; diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 496ccba5f6..2e5b315d27 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", @@ -17,9 +17,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.13.10", - "@polkadot/metadata": "4.1.2-7", - "@polkadot/rpc-provider": "4.1.2-7", - "@polkadot/types": "4.1.2-7", + "@polkadot/metadata": "4.1.2-8", + "@polkadot/rpc-provider": "4.1.2-8", + "@polkadot/types": "4.1.2-8", "@polkadot/util": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5" }, diff --git a/packages/rpc-core/src/packageInfo.ts b/packages/rpc-core/src/packageInfo.ts index 7cdc1a6fb9..a464cb1bbc 100644 --- a/packages/rpc-core/src/packageInfo.ts +++ b/packages/rpc-core/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/rpc-core', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/rpc-core', version: '4.1.2-8' }; diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index ea7eae180a..13f3c0adc0 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "Transport providers for the API", "main": "index.js", @@ -17,7 +17,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.13.10", - "@polkadot/types": "4.1.2-7", + "@polkadot/types": "4.1.2-8", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "@polkadot/x-fetch": "^6.0.5", @@ -28,7 +28,7 @@ }, "devDependencies": { "@polkadot/keyring": "^6.0.5", - "@polkadot/metadata": "4.1.2-7", + "@polkadot/metadata": "4.1.2-8", "mock-socket": "^9.0.3", "nock": "^13.0.11" } diff --git a/packages/rpc-provider/src/packageInfo.ts b/packages/rpc-provider/src/packageInfo.ts index c700655544..7ceacef4ae 100644 --- a/packages/rpc-provider/src/packageInfo.ts +++ b/packages/rpc-provider/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/rpc-provider', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/rpc-provider', version: '4.1.2-8' }; diff --git a/packages/typegen/package.json b/packages/typegen/package.json index b73d86676b..7b87c46d8b 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/typegen", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "Type generation scripts", "main": "index.js", @@ -26,10 +26,10 @@ "@babel/core": "^7.13.10", "@babel/register": "^7.13.8", "@babel/runtime": "^7.13.10", - "@polkadot/api": "4.1.2-7", - "@polkadot/metadata": "4.1.2-7", - "@polkadot/rpc-provider": "4.1.2-7", - "@polkadot/types": "4.1.2-7", + "@polkadot/api": "4.1.2-8", + "@polkadot/metadata": "4.1.2-8", + "@polkadot/rpc-provider": "4.1.2-8", + "@polkadot/types": "4.1.2-8", "@polkadot/util": "^6.0.5", "handlebars": "^4.7.7", "websocket": "^1.0.33", diff --git a/packages/typegen/src/packageInfo.ts b/packages/typegen/src/packageInfo.ts index 154ea148fc..91d404c3ff 100644 --- a/packages/typegen/src/packageInfo.ts +++ b/packages/typegen/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/typegen', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/typegen', version: '4.1.2-8' }; diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 8596012619..8c77f40b4c 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types-known", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", @@ -18,7 +18,7 @@ "dependencies": { "@babel/runtime": "^7.13.10", "@polkadot/networks": "^6.0.5", - "@polkadot/types": "4.1.2-7", + "@polkadot/types": "4.1.2-8", "@polkadot/util": "^6.0.5", "bn.js": "^4.11.9" }, diff --git a/packages/types-known/src/packageInfo.ts b/packages/types-known/src/packageInfo.ts index 0fea7cc71a..fb43b9c6c9 100644 --- a/packages/types-known/src/packageInfo.ts +++ b/packages/types-known/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/types-known', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/types-known', version: '4.1.2-8' }; diff --git a/packages/types/package.json b/packages/types/package.json index eab5d7b0e9..3a2f1ad03f 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "4.1.2-7", + "version": "4.1.2-8", "type": "module", "description": "Implementation of the Parity codec", "main": "index.js", @@ -17,7 +17,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { "@babel/runtime": "^7.13.10", - "@polkadot/metadata": "4.1.2-7", + "@polkadot/metadata": "4.1.2-8", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5", diff --git a/packages/types/src/packageInfo.ts b/packages/types/src/packageInfo.ts index 90d65e11b4..6ea260556a 100644 --- a/packages/types/src/packageInfo.ts +++ b/packages/types/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/types', version: '4.1.2-7' }; +export const packageInfo = { name: '@polkadot/types', version: '4.1.2-8' }; diff --git a/yarn.lock b/yarn.lock index ec896d110c..2f1858dc06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1778,24 +1778,24 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.13.10 - "@polkadot/api": 4.1.2-7 - "@polkadot/types": 4.1.2-7 + "@polkadot/api": 4.1.2-8 + "@polkadot/types": 4.1.2-8 "@polkadot/util": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/api-derive@4.1.2-7, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@4.1.2-8, @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.13.10 - "@polkadot/api": 4.1.2-7 + "@polkadot/api": 4.1.2-8 "@polkadot/keyring": ^6.0.5 - "@polkadot/rpc-core": 4.1.2-7 - "@polkadot/rpc-provider": 4.1.2-7 - "@polkadot/types": 4.1.2-7 + "@polkadot/rpc-core": 4.1.2-8 + "@polkadot/rpc-provider": 4.1.2-8 + "@polkadot/types": 4.1.2-8 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5 @@ -1803,18 +1803,18 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/api@4.1.2-7, @polkadot/api@workspace:packages/api": +"@polkadot/api@4.1.2-8, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.13.10 - "@polkadot/api-derive": 4.1.2-7 + "@polkadot/api-derive": 4.1.2-8 "@polkadot/keyring": ^6.0.5 - "@polkadot/metadata": 4.1.2-7 - "@polkadot/rpc-core": 4.1.2-7 - "@polkadot/rpc-provider": 4.1.2-7 - "@polkadot/types": 4.1.2-7 - "@polkadot/types-known": 4.1.2-7 + "@polkadot/metadata": 4.1.2-8 + "@polkadot/rpc-core": 4.1.2-8 + "@polkadot/rpc-provider": 4.1.2-8 + "@polkadot/types": 4.1.2-8 + "@polkadot/types-known": 4.1.2-8 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5 @@ -1923,14 +1923,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/metadata@4.1.2-7, @polkadot/metadata@workspace:packages/metadata": +"@polkadot/metadata@4.1.2-8, @polkadot/metadata@workspace:packages/metadata": version: 0.0.0-use.local resolution: "@polkadot/metadata@workspace:packages/metadata" dependencies: "@babel/runtime": ^7.13.10 "@polkadot/keyring": ^6.0.5 - "@polkadot/types": 4.1.2-7 - "@polkadot/types-known": 4.1.2-7 + "@polkadot/types": 4.1.2-8 + "@polkadot/types-known": 4.1.2-8 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 bn.js: ^4.11.9 @@ -1946,28 +1946,28 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@4.1.2-7, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@4.1.2-8, @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.13.10 "@polkadot/keyring": ^6.0.5 - "@polkadot/metadata": 4.1.2-7 - "@polkadot/rpc-provider": 4.1.2-7 - "@polkadot/types": 4.1.2-7 + "@polkadot/metadata": 4.1.2-8 + "@polkadot/rpc-provider": 4.1.2-8 + "@polkadot/types": 4.1.2-8 "@polkadot/util": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5 languageName: unknown linkType: soft -"@polkadot/rpc-provider@4.1.2-7, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@4.1.2-8, @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.13.10 "@polkadot/keyring": ^6.0.5 - "@polkadot/metadata": 4.1.2-7 - "@polkadot/types": 4.1.2-7 + "@polkadot/metadata": 4.1.2-8 + "@polkadot/types": 4.1.2-8 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 "@polkadot/x-fetch": ^6.0.5 @@ -1996,10 +1996,10 @@ __metadata: "@babel/core": ^7.13.10 "@babel/register": ^7.13.8 "@babel/runtime": ^7.13.10 - "@polkadot/api": 4.1.2-7 - "@polkadot/metadata": 4.1.2-7 - "@polkadot/rpc-provider": 4.1.2-7 - "@polkadot/types": 4.1.2-7 + "@polkadot/api": 4.1.2-8 + "@polkadot/metadata": 4.1.2-8 + "@polkadot/rpc-provider": 4.1.2-8 + "@polkadot/types": 4.1.2-8 "@polkadot/util": ^6.0.5 "@types/websocket": ^1.0.2 "@types/yargs": ^16.0.0 @@ -2015,26 +2015,26 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-known@4.1.2-7, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@4.1.2-8, @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.13.10 "@polkadot/networks": ^6.0.5 - "@polkadot/types": 4.1.2-7 + "@polkadot/types": 4.1.2-8 "@polkadot/util": ^6.0.5 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/types@4.1.2-7, @polkadot/types@workspace:packages/types": +"@polkadot/types@4.1.2-8, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.13.10 "@polkadot/keyring": ^6.0.5 - "@polkadot/metadata": 4.1.2-7 + "@polkadot/metadata": 4.1.2-8 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5