Compare commits

...
16 Commits
Author SHA1 Message Date
github-actions[bot] 3b7b44f048 [CI Skip] release/stable 12.3.1
skip-checks: true
2024-08-05 19:02:40 +00:00
Tarik Gul a1e7566114 12.3.1 (#5951) 2024-08-05 21:54:54 +03:00
github-actions[bot] ec4ec4fa5e [CI Skip] bump/beta 12.2.4-4-x
skip-checks: true
2024-08-05 17:23:01 +00:00
Tarik Gul cf26e34008 Support for BeefyApi v4 (#5950) 2024-08-05 20:15:13 +03:00
github-actions[bot] 15c440d72f [CI Skip] bump/beta 12.2.4-3-x
skip-checks: true
2024-08-05 15:42:49 +00:00
Tarik Gul 9b9c621265 Update substrate types via metadata (#5949) 2024-08-05 18:35:16 +03:00
github-actions[bot] eb7fd94c20 [CI Skip] bump/beta 12.2.4-2-x
skip-checks: true
2024-08-01 12:08:05 +00:00
Tarik Gul 54baf26d4f Upgrade known Polkadot and Westend CodeUpdated blocks (#5948) 2024-08-01 15:00:25 +03:00
github-actions[bot] 1ab7475a58 [CI Skip] bump/beta 12.2.4-1-x
skip-checks: true
2024-08-01 11:11:41 +00:00
Przemek Rzad b5adbe72f8 Increase Vec max length (#5947) 2024-08-01 07:03:57 -04:00
github-actions[bot] 778d79a9a5 [CI Skip] bump/beta 12.2.4-0-x
skip-checks: true
2024-07-30 03:15:35 +00:00
Jeeyong Um cd4b5e36dd Revert "Alias for Noir types (#5678)" (#5946)
This reverts commit d946a99a35.
2024-07-29 23:08:02 -04:00
github-actions[bot] 9de00f5a46 [CI Skip] release/stable 12.2.3
skip-checks: true
2024-07-29 19:44:17 +00:00
Tarik Gul 60e8148e8c 12.2.3 (#5945) 2024-07-29 22:36:39 +03:00
github-actions[bot] 56358b1016 [CI Skip] bump/beta 12.2.3-0-x
skip-checks: true
2024-07-29 11:36:06 +00:00
Branislav Kontur 68ce512573 Fix for fungiblesApi (#5944) 2024-07-29 07:28:13 -04:00
54 changed files with 3477 additions and 2633 deletions
+22
View File
@@ -1,5 +1,27 @@
# CHANGELOG
## 12.3.1 Aug 5, 2024
Contributed:
- Revert alias for Noir types (Thanks to https://github.com/conr2d) ([#5946](https://github.com/polkadot-js/api/pull/5946))
- Increase Vec Max Length (Thanks to https://github.com/rzadp) ([#5947](https://github.com/polkadot-js/api/pull/5947))
Changes:
- Upgrade known Polkadot and Westend CodeUpdated blocks ([#5948](https://github.com/polkadot-js/api/pull/5948))
- Update substrate types via metadata ([#5949](https://github.com/polkadot-js/api/pull/5949))
- Note: Please review the above PR for any changes to the augmented types.
- Support for BeefyApi v4 ([#5950](https://github.com/polkadot-js/api/pull/5950))
## 12.2.3 July 29, 2024
Contributed:
- Fix Fungible Api (Thanks to https://github.com/bkontur)
## 12.2.2 July 25, 2024
Changes:
+4 -3
View File
@@ -1,6 +1,6 @@
3512 Jaco Bump deps (#5785)
84 Tarik Gul 12.3.1 (#5951)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
79 Tarik Gul 12.2.2 (#5943)
37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709)
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
@@ -10,8 +10,8 @@
11 Ian He HttpProvider support clone() (#3949)
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
6 Andreea Eftene Update check for contract instantiation (#5699)
6 Branislav Kontur Fix for fungiblesApi (#5944)
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
5 Branislav Kontur Adjusted `LocationToAccountApi` (#5919)
5 Chevdor Fix metadata package link (#3458)
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
5 Julien Eluard General WsProvider extensibility improvements (#5467)
@@ -29,6 +29,7 @@
3 Ewa Kowalska Handle no council for bounties proposals (#3062)
3 hamidra add support for n key entries for NMaps (#3886)
3 Hamza Tokuchi more typos (#2532)
3 Jeeyong Um Revert "Alias for Noir types (#5678)" (#5946)
3 Josep M Sobrepere docs: improve rpc-provider README (#4719)
3 KarishmaBothara Backward compatibility thing (#3511)
3 Miguel Hervas Adding RT4 Types (#3007)
@@ -42,7 +43,6 @@
2 Jakub Pánik All heads subscription (#1899)
2 James Lefrère Add `.eq()` usage to docs and fix docs typos (#1405)
2 Javier Viola add muln(2), as was in the old code (#5829)
2 Jeeyong Um Alias for Noir types (#5678)
2 Jegor Sidorenko Use Box<XcmV3MultiLocation> instead of MultiAssetId (#5700)
2 Keith Yeung Allow keyPrefix to accept an additional argument for double maps (#2230)
2 MOZGIII Follow-up fix after #4665 (#4666)
@@ -112,6 +112,7 @@
1 philipstanislaus Update types for centrifuge chain v1.2.0 (#2424)
1 Pierre Krieger Update substrate/connect to 0.7.6 (#4940)
1 polymath-eric Allow unset external signer (#5649)
1 Przemek Rzad Increase Vec max length (#5947)
1 Qinxuan Chen Add fp_account::AccountId20 mapping (#5551)
1 qiuhao update DeriveCustom type (#2581)
1 r0t0r-r0t0r Fix memory leak on raw rpc call (#4505)
+3 -3
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"versions": {
"git": "12.2.2",
"npm": "12.2.2"
"git": "12.3.1",
"npm": "12.3.1"
},
"workspaces": [
"packages/*"
+6 -6
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "12.2.2",
"@polkadot/rpc-augment": "12.2.2",
"@polkadot/types": "12.2.2",
"@polkadot/types-augment": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/api-base": "12.3.1",
"@polkadot/rpc-augment": "12.3.1",
"@polkadot/types": "12.3.1",
"@polkadot/types-augment": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.2"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '12.3.1' };
@@ -353,6 +353,11 @@ declare module '@polkadot/api-base/types/consts' {
* The maximum allowable length in bytes for storage keys.
**/
maxStorageKeyLen: u32 & AugmentedConst<ApiType>;
/**
* The maximum size of the transient storage in bytes.
* This includes keys, values, and previous entries used for storage rollback.
**/
maxTransientStorageSize: u32 & AugmentedConst<ApiType>;
/**
* Cost schedule and limits.
**/
+18 -2
View File
@@ -484,9 +484,21 @@ declare module '@polkadot/api-base/types/errors' {
**/
InvalidConfiguration: AugmentedError<ApiType>;
/**
* An equivocation proof provided as part of an equivocation report is invalid.
* A double voting proof provided as part of an equivocation report is invalid.
**/
InvalidEquivocationProof: AugmentedError<ApiType>;
InvalidDoubleVotingProof: AugmentedError<ApiType>;
/**
* The session of the equivocation proof is invalid
**/
InvalidEquivocationProofSession: AugmentedError<ApiType>;
/**
* A fork voting proof provided as part of an equivocation report is invalid.
**/
InvalidForkVotingProof: AugmentedError<ApiType>;
/**
* A future block voting proof provided as part of an equivocation report is invalid.
**/
InvalidFutureBlockVotingProof: AugmentedError<ApiType>;
/**
* A key ownership proof provided as part of an equivocation report is invalid.
**/
@@ -801,6 +813,10 @@ declare module '@polkadot/api-base/types/errors' {
* The executed contract exhausted its gas limit.
**/
OutOfGas: AugmentedError<ApiType>;
/**
* Can not add more data to transient storage.
**/
OutOfTransientStorage: AugmentedError<ApiType>;
/**
* The output buffer supplied to a contract API call was too small.
**/
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U64, Vec, bool, u128, u32 } from '@po
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { TAssetBalance } from '@polkadot/types/interfaces/assets';
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
import type { BeefyEquivocationProof, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
@@ -29,7 +29,7 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
import type { StatementStoreInvalidStatement, StatementStoreStatementSource, StatementStoreValidStatement } from '@polkadot/types/interfaces/statement';
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
import type { SpStatementStoreStatement, StagingXcmV3MultiLocation } from '@polkadot/types/lookup';
import type { SpConsensusBeefyDoubleVotingProof, SpStatementStoreStatement, StagingXcmV3MultiLocation } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -120,7 +120,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x49eaaf1b548a0cb0/3 */
/** 0x49eaaf1b548a0cb0/4 */
beefyApi: {
/**
* Return the block number where BEEFY consensus is enabled/started
@@ -131,9 +131,9 @@ declare module '@polkadot/api-base/types/calls' {
**/
generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: ValidatorSetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
/**
* Submits an unsigned extrinsic to report an equivocation.
* Submits an unsigned extrinsic to report a double voting equivocation.
**/
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: BeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
/**
* Return the current active BEEFY validator set
**/
+37 -3
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerOnDemandRevenueRecord, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeOption, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerOnDemandRevenueRecord, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeOption, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -988,7 +988,7 @@ declare module '@polkadot/api-base/types/submittable' {
* against the extracted offender. If both are valid, the offence
* will be reported.
**/
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
reportDoubleVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
/**
* Report voter equivocation/misbehavior. This method will verify the
* equivocation proof and validate the given key ownership proof
@@ -1000,7 +1000,41 @@ declare module '@polkadot/api-base/types/submittable' {
* if the block author is defined it will be defined as the equivocation
* reporter.
**/
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
reportDoubleVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
/**
* Report fork voting equivocation. This method will verify the equivocation proof
* and validate the given key ownership proof against the extracted offender.
* If both are valid, the offence will be reported.
**/
reportForkVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProof | { vote?: any; ancestryProof?: any; header?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProof, SpSessionMembershipProof]>;
/**
* Report fork voting equivocation. This method will verify the equivocation proof
* and validate the given key ownership proof against the extracted offender.
* If both are valid, the offence will be reported.
*
* This extrinsic must be called unsigned and it is expected that only
* block authors will call it (validated in `ValidateUnsigned`), as such
* if the block author is defined it will be defined as the equivocation
* reporter.
**/
reportForkVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProof | { vote?: any; ancestryProof?: any; header?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProof, SpSessionMembershipProof]>;
/**
* Report future block voting equivocation. This method will verify the equivocation proof
* and validate the given key ownership proof against the extracted offender.
* If both are valid, the offence will be reported.
**/
reportFutureBlockVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | { vote?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
/**
* Report future block voting equivocation. This method will verify the equivocation proof
* and validate the given key ownership proof against the extracted offender.
* If both are valid, the offence will be reported.
*
* This extrinsic must be called unsigned and it is expected that only
* block authors will call it (validated in `ValidateUnsigned`), as such
* if the block author is defined it will be defined as the equivocation
* reporter.
**/
reportFutureBlockVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | { vote?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
/**
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
* future.
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "12.2.2",
"@polkadot/types": "12.2.2",
"@polkadot/rpc-core": "12.3.1",
"@polkadot/types": "12.3.1",
"@polkadot/util": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '12.3.1' };
+8 -8
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/api": "12.2.2",
"@polkadot/api-augment": "12.2.2",
"@polkadot/types": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/types-create": "12.2.2",
"@polkadot/api": "12.3.1",
"@polkadot/api-augment": "12.3.1",
"@polkadot/types": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/types-create": "12.3.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "12.2.2",
"@polkadot/api-augment": "12.3.1",
"@polkadot/keyring": "^13.0.2",
"@polkadot/types-support": "12.2.2"
"@polkadot/types-support": "12.3.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '12.3.1' };
+12 -12
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/api": "12.2.2",
"@polkadot/api-augment": "12.2.2",
"@polkadot/api-base": "12.2.2",
"@polkadot/rpc-core": "12.2.2",
"@polkadot/types": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/api": "12.3.1",
"@polkadot/api-augment": "12.3.1",
"@polkadot/api-base": "12.3.1",
"@polkadot/rpc-core": "12.3.1",
"@polkadot/types": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api": "12.2.2",
"@polkadot/api-augment": "12.2.2",
"@polkadot/rpc-augment": "12.2.2",
"@polkadot/rpc-provider": "12.2.2",
"@polkadot/types-support": "12.2.2"
"@polkadot/api": "12.3.1",
"@polkadot/api-augment": "12.3.1",
"@polkadot/rpc-augment": "12.3.1",
"@polkadot/rpc-provider": "12.3.1",
"@polkadot/types-support": "12.3.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '12.3.1' };
+14 -14
View File
@@ -18,21 +18,21 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "12.2.2",
"@polkadot/api-base": "12.2.2",
"@polkadot/api-derive": "12.2.2",
"@polkadot/api-augment": "12.3.1",
"@polkadot/api-base": "12.3.1",
"@polkadot/api-derive": "12.3.1",
"@polkadot/keyring": "^13.0.2",
"@polkadot/rpc-augment": "12.2.2",
"@polkadot/rpc-core": "12.2.2",
"@polkadot/rpc-provider": "12.2.2",
"@polkadot/types": "12.2.2",
"@polkadot/types-augment": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/types-create": "12.2.2",
"@polkadot/types-known": "12.2.2",
"@polkadot/rpc-augment": "12.3.1",
"@polkadot/rpc-core": "12.3.1",
"@polkadot/rpc-provider": "12.3.1",
"@polkadot/types": "12.3.1",
"@polkadot/types-augment": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/types-create": "12.3.1",
"@polkadot/types-known": "12.3.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"eventemitter3": "^5.0.1",
@@ -40,7 +40,7 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "12.2.2",
"@polkadot/types-support": "12.2.2"
"@polkadot/api-augment": "12.3.1",
"@polkadot/types-support": "12.3.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '12.3.1' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "12.2.2",
"@polkadot/types": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/rpc-core": "12.3.1",
"@polkadot/types": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.2"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '12.3.1' };
+5 -5
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "12.2.2",
"@polkadot/rpc-provider": "12.2.2",
"@polkadot/types": "12.2.2",
"@polkadot/rpc-augment": "12.3.1",
"@polkadot/rpc-provider": "12.3.1",
"@polkadot/types": "12.3.1",
"@polkadot/util": "^13.0.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^13.0.2",
"@polkadot/rpc-augment": "12.2.2"
"@polkadot/rpc-augment": "12.3.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '12.3.1' };
+3 -3
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.0.2",
"@polkadot/types": "12.2.2",
"@polkadot/types-support": "12.2.2",
"@polkadot/types": "12.3.1",
"@polkadot/types-support": "12.3.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"@polkadot/x-fetch": "^13.0.2",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '12.3.1' };
+10 -10
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,15 +28,15 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "12.2.2",
"@polkadot/api-augment": "12.2.2",
"@polkadot/rpc-augment": "12.2.2",
"@polkadot/rpc-provider": "12.2.2",
"@polkadot/types": "12.2.2",
"@polkadot/types-augment": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/types-create": "12.2.2",
"@polkadot/types-support": "12.2.2",
"@polkadot/api": "12.3.1",
"@polkadot/api-augment": "12.3.1",
"@polkadot/rpc-augment": "12.3.1",
"@polkadot/rpc-provider": "12.3.1",
"@polkadot/types": "12.3.1",
"@polkadot/types-augment": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/types-create": "12.3.1",
"@polkadot/types-support": "12.3.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"@polkadot/x-ws": "^13.0.2",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '12.3.1' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/types": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/types": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.2"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '12.3.1' };
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.0.2",
@@ -26,9 +26,9 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "12.2.2",
"@polkadot/types-augment": "12.2.2",
"@polkadot/types-support": "12.2.2",
"@polkadot/types": "12.3.1",
"@polkadot/types-augment": "12.3.1",
"@polkadot/types-support": "12.3.1",
"@polkadot/util-crypto": "^13.0.2"
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ import { compactFromU8aLim, identity, isHex, isU8a, logger, stringify, u8aToU8a
import { AbstractArray } from '../abstract/Array.js';
import { decodeU8aVec, typeToConstructor } from '../utils/index.js';
const MAX_LENGTH = 64 * 1024;
const MAX_LENGTH = 512 * 1024;
const l = logger('Vec');
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '12.3.1' };
+3 -3
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "12.2.2",
"@polkadot/types-codec": "12.3.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "12.2.2"
"@polkadot/types": "12.3.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '12.3.1' };
+5 -5
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^13.0.2",
"@polkadot/types": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/types-create": "12.2.2",
"@polkadot/types": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/types-create": "12.3.1",
"@polkadot/util": "^13.0.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api": "12.2.2"
"@polkadot/api": "12.3.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '12.3.1' };
@@ -3626,5 +3626,87 @@ export const upgrades: ChainUpgradesExpanded = [
1
]
]
],
[
21800141,
1002007,
[
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
10
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0xfbc577b9d747efd6",
1
]
]
]
];
@@ -5674,5 +5674,283 @@ export const upgrades: ChainUpgradesExpanded = [
1
]
]
],
[
21300429,
1013000,
[
[
"0xdf6acb689907609b",
5
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
11
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x6ff52ee858e6c5bd",
1
],
[
"0x91b1c8b16328eb92",
1
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
],
[
21460051,
1014000,
[
[
"0xdf6acb689907609b",
5
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
11
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x6ff52ee858e6c5bd",
1
],
[
"0x91b1c8b16328eb92",
1
],
[
"0x9ffb505aa738d69c",
1
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
],
[
21925427,
1015000,
[
[
"0xdf6acb689907609b",
5
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
11
],
[
"0x49eaaf1b548a0cb0",
4
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x6ff52ee858e6c5bd",
1
],
[
"0x91b1c8b16328eb92",
1
],
[
"0x9ffb505aa738d69c",
1
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
]
];
@@ -15,5 +15,5 @@ export const upgrades: ChainUpgradesRaw = [
[11933818, 9270], [12217535, 9280], [12245277, 9281], [12532644, 9291], [12876189, 9300],
[13800015, 9340], [14188833, 9360], [14543918, 9370], [15978362, 9420], [16450000, 9430],
[17840000, 9431], [18407475, 1000001], [19551000, 1001002], [20181758, 1001003],
[20438530, 1002000], [21169168, 1002004], [21455374, 1002005], [21558004, 1002006]
[20438530, 1002000], [21169168, 1002004], [21455374, 1002005], [21558004, 1002006], [21800141, 1002007]
];
@@ -21,5 +21,6 @@ export const upgrades: ChainUpgradesRaw = [
[14849830, 9390], [15146832, 9400], [15332317, 9401], [15661793, 9420], [16165469, 9430],
[18293984, 102000], [18293991, 103000], [18451783, 104000], [18679741, 1005000], [19166695, 1006000],
[19234157, 1006001], [19542944, 1007000], [19621258, 1007001], [19761406, 1008000], [20056997, 1009000],
[20368318, 1010000], [20649086, 1011000], [21217837, 1011001]
[20368318, 1010000], [20649086, 1011000], [21217837, 1011001], [21300429, 1013000], [21460051, 1014000],
[21925427, 1015000]
];
+1 -1
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.0.2",
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -86,7 +86,7 @@ export default {
],
[
"0x49eaaf1b548a0cb0",
3
4
],
[
"0x91d5df18b0d2cf58",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '12.3.1' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "12.2.2",
"version": "12.3.1",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.0.2",
"@polkadot/types-augment": "12.2.2",
"@polkadot/types-codec": "12.2.2",
"@polkadot/types-create": "12.2.2",
"@polkadot/types-augment": "12.3.1",
"@polkadot/types-codec": "12.3.1",
"@polkadot/types-create": "12.3.1",
"@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1",
@@ -32,6 +32,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^13.0.2",
"@polkadot/types-support": "12.2.2"
"@polkadot/types-support": "12.3.1"
}
}
+32 -6
View File
@@ -3,7 +3,7 @@
import type { DefinitionCall, DefinitionsCall } from '../../types/index.js';
const BEEFY_V1_V3: Record<string, DefinitionCall> = {
const BEEFY_V3: Record<string, DefinitionCall> = {
beefy_genesis: {
description: 'Return the block number where BEEFY consensus is enabled/started',
params: [],
@@ -23,6 +23,15 @@ const BEEFY_V1_V3: Record<string, DefinitionCall> = {
],
type: 'Option<OpaqueKeyOwnershipProof>'
},
validator_set: {
description: 'Return the current active BEEFY validator set',
params: [],
type: 'Option<ValidatorSet>'
}
};
const BEEFY_V1_V3: Record<string, DefinitionCall> = {
...BEEFY_V3,
submit_report_equivocation_unsigned_extrinsic: {
description: 'Submits an unsigned extrinsic to report an equivocation.',
params: [
@@ -36,11 +45,24 @@ const BEEFY_V1_V3: Record<string, DefinitionCall> = {
}
],
type: 'Option<Null>'
},
validator_set: {
description: 'Return the current active BEEFY validator set',
params: [],
type: 'Option<ValidatorSet>'
}
};
const BEEFY_V4: Record<string, DefinitionCall> = {
...BEEFY_V3,
submit_report_double_voting_unsigned_extrinsic: {
description: 'Submits an unsigned extrinsic to report a double voting equivocation.',
params: [
{
name: 'equivocationProof',
type: 'SpConsensusBeefyDoubleVotingProof'
},
{
name: 'keyOwnerProof',
type: 'OpaqueKeyOwnershipProof'
}
],
type: 'Option<Null>'
}
};
@@ -59,6 +81,10 @@ const BEEFY_MMR_V1: Record<string, DefinitionCall> = {
export const runtime: DefinitionsCall = {
BeefyApi: [
{
methods: BEEFY_V4,
version: 4
},
{
methods: BEEFY_V1_V3,
version: 3
@@ -122,7 +122,7 @@ describe('runtime definitions', (): void => {
for (const { methods, version } of versions) {
describe(`version ${version}`, (): void => {
const methodsEntries = Object.entries<DefinitionCall>(methods);
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>'];
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedAssets, FungiblesAccessError>', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>'];
for (const [key, { params, type }] of methodsEntries) {
describe(`${key}`, (): void => {
@@ -30,7 +30,7 @@ export const runtime: DefinitionsCall = {
type: 'AccountId'
}
],
type: 'Result<XcmVersionedMultiAssets, FungiblesAccessError>'
type: 'Result<XcmVersionedAssets, FungiblesAccessError>'
}
},
version: 2
@@ -83,10 +83,7 @@ const PATHS_ALIAS = splitNamespace([
'ink::env::types::*',
'ink::primitives::types::*',
'ink_env::types::*',
'ink_primitives::types::*',
// noir
'np_runtime::accountname::AccountName',
'np_runtime::universaladdress::UniversalAddress'
'ink_primitives::types::*'
]);
// Mappings for types that should be converted to set via BitVec
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '12.2.2' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '12.3.1' };
+79 -79
View File
@@ -444,26 +444,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@npm:12.2.2, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@npm:12.3.1, @polkadot/api-augment@workspace:packages/api-augment":
version: 0.0.0-use.local
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
dependencies:
"@polkadot/api-base": "npm:12.2.2"
"@polkadot/rpc-augment": "npm:12.2.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-augment": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/api-base": "npm:12.3.1"
"@polkadot/rpc-augment": "npm:12.3.1"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-augment": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/api-base@npm:12.2.2, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@npm:12.3.1, @polkadot/api-base@workspace:packages/api-base":
version: 0.0.0-use.local
resolution: "@polkadot/api-base@workspace:packages/api-base"
dependencies:
"@polkadot/rpc-core": "npm:12.2.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/rpc-core": "npm:12.3.1"
"@polkadot/types": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
@@ -474,13 +474,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@polkadot/api": "npm:12.2.2"
"@polkadot/api-augment": "npm:12.2.2"
"@polkadot/api": "npm:12.3.1"
"@polkadot/api-augment": "npm:12.3.1"
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/types-create": "npm:12.2.2"
"@polkadot/types-support": "npm:12.2.2"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/types-create": "npm:12.3.1"
"@polkadot/types-support": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
@@ -488,19 +488,19 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api-derive@npm:12.2.2, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@npm:12.3.1, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@polkadot/api": "npm:12.2.2"
"@polkadot/api-augment": "npm:12.2.2"
"@polkadot/api-base": "npm:12.2.2"
"@polkadot/rpc-augment": "npm:12.2.2"
"@polkadot/rpc-core": "npm:12.2.2"
"@polkadot/rpc-provider": "npm:12.2.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/types-support": "npm:12.2.2"
"@polkadot/api": "npm:12.3.1"
"@polkadot/api-augment": "npm:12.3.1"
"@polkadot/api-base": "npm:12.3.1"
"@polkadot/rpc-augment": "npm:12.3.1"
"@polkadot/rpc-core": "npm:12.3.1"
"@polkadot/rpc-provider": "npm:12.3.1"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/types-support": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
@@ -508,23 +508,23 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@npm:12.2.2, @polkadot/api@workspace:packages/api":
"@polkadot/api@npm:12.3.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@polkadot/api-augment": "npm:12.2.2"
"@polkadot/api-base": "npm:12.2.2"
"@polkadot/api-derive": "npm:12.2.2"
"@polkadot/api-augment": "npm:12.3.1"
"@polkadot/api-base": "npm:12.3.1"
"@polkadot/api-derive": "npm:12.3.1"
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/rpc-augment": "npm:12.2.2"
"@polkadot/rpc-core": "npm:12.2.2"
"@polkadot/rpc-provider": "npm:12.2.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-augment": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/types-create": "npm:12.2.2"
"@polkadot/types-known": "npm:12.2.2"
"@polkadot/types-support": "npm:12.2.2"
"@polkadot/rpc-augment": "npm:12.3.1"
"@polkadot/rpc-core": "npm:12.3.1"
"@polkadot/rpc-provider": "npm:12.3.1"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-augment": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/types-create": "npm:12.3.1"
"@polkadot/types-known": "npm:12.3.1"
"@polkadot/types-support": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
eventemitter3: "npm:^5.0.1"
@@ -654,39 +654,39 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@npm:12.2.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@npm:12.3.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
dependencies:
"@polkadot/rpc-core": "npm:12.2.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/rpc-core": "npm:12.3.1"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:12.2.2, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@npm:12.3.1, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/rpc-augment": "npm:12.2.2"
"@polkadot/rpc-provider": "npm:12.2.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/rpc-augment": "npm:12.3.1"
"@polkadot/rpc-provider": "npm:12.3.1"
"@polkadot/types": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@npm:12.2.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@npm:12.3.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-support": "npm:12.2.2"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-support": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-fetch": "npm:^13.0.2"
@@ -707,15 +707,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@polkadot/api": "npm:12.2.2"
"@polkadot/api-augment": "npm:12.2.2"
"@polkadot/rpc-augment": "npm:12.2.2"
"@polkadot/rpc-provider": "npm:12.2.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-augment": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/types-create": "npm:12.2.2"
"@polkadot/types-support": "npm:12.2.2"
"@polkadot/api": "npm:12.3.1"
"@polkadot/api-augment": "npm:12.3.1"
"@polkadot/rpc-augment": "npm:12.3.1"
"@polkadot/rpc-provider": "npm:12.3.1"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-augment": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/types-create": "npm:12.3.1"
"@polkadot/types-support": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-ws": "npm:^13.0.2"
@@ -732,24 +732,24 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@npm:12.2.2, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@npm:12.3.1, @polkadot/types-augment@workspace:packages/types-augment":
version: 0.0.0-use.local
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
dependencies:
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-codec@npm:12.2.2, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@npm:12.3.1, @polkadot/types-codec@workspace:packages/types-codec":
version: 0.0.0-use.local
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
dependencies:
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-augment": "npm:12.2.2"
"@polkadot/types-support": "npm:12.2.2"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-augment": "npm:12.3.1"
"@polkadot/types-support": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-bigint": "npm:^13.0.2"
@@ -757,32 +757,32 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-create@npm:12.2.2, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@npm:12.3.1, @polkadot/types-create@workspace:packages/types-create":
version: 0.0.0-use.local
resolution: "@polkadot/types-create@workspace:packages/types-create"
dependencies:
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-known@npm:12.2.2, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@npm:12.3.1, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@polkadot/api": "npm:12.2.2"
"@polkadot/api": "npm:12.3.1"
"@polkadot/networks": "npm:^13.0.2"
"@polkadot/types": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/types-create": "npm:12.2.2"
"@polkadot/types": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/types-create": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-support@npm:12.2.2, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@npm:12.3.1, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -791,15 +791,15 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@npm:12.2.2, @polkadot/types@workspace:packages/types":
"@polkadot/types@npm:12.3.1, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types-augment": "npm:12.2.2"
"@polkadot/types-codec": "npm:12.2.2"
"@polkadot/types-create": "npm:12.2.2"
"@polkadot/types-support": "npm:12.2.2"
"@polkadot/types-augment": "npm:12.3.1"
"@polkadot/types-codec": "npm:12.3.1"
"@polkadot/types-create": "npm:12.3.1"
"@polkadot/types-support": "npm:12.3.1"
"@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1"