Compare commits

...
7 Commits
Author SHA1 Message Date
Github Actions b51988193a [CI Skip] release/stable 5.3.2
skip-checks: true
2021-08-03 08:36:43 +00:00
Jaco fd31e5a6e5 5.3.2 (#3837) 2021-08-03 10:26:46 +02:00
Github Actions 074663cdb7 [CI Skip] release/beta 5.3.2-1
skip-checks: true
2021-08-03 08:07:30 +00:00
Jaco 5f5be13c08 Add missing bridges ChainId (#3836)
* Add missing bridges ChainId

* CHANGELOG
2021-08-03 09:56:35 +02:00
Jaco d60b1818d0 Update bridges types (#3835)
* Update bridges types

* BitVec

* BitVec
2021-08-03 09:39:32 +02:00
Github Actions 9c611e9414 [CI Skip] release/beta 5.3.2-0
skip-checks: true
2021-08-03 05:44:26 +00:00
Jaco da14679b65 v14 metadata bump (#3834) 2021-08-03 07:32:47 +02:00
26 changed files with 333 additions and 84 deletions
+2
View File
@@ -24,3 +24,5 @@
4.9.2
4.11.2
4.16.2
5.3.2
+13
View File
@@ -1,5 +1,18 @@
# CHANGELOG
## 5.3.2 Aug 3, 2021
Upgrade priority: Low. Recommended for users of bridges.
Contributed:
- Add missing bridges types (Thanks to https://github.com/tomusdrw)
Changes:
- Align static metadata with latest Substrate
## 5.3.1 Aug 2, 2021
Upgrade priority: Low. Recommended for users of `api.at(...)` interfaces
+1 -1
View File
@@ -35,5 +35,5 @@
"@types/jest": "^26.0.24",
"copyfiles": "^2.4.1"
},
"version": "5.3.1"
"version": "5.3.2"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "5.3.1",
"version": "5.3.2",
"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.14.8",
"@polkadot/api": "5.3.1",
"@polkadot/types": "5.3.1",
"@polkadot/api": "5.3.2",
"@polkadot/types": "5.3.2",
"@polkadot/util": "^7.1.1",
"rxjs": "^7.2.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.3.1' };
export const packageInfo = { name: '@polkadot/api-contract', version: '5.3.2' };
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "5.3.1",
"version": "5.3.2",
"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.14.8",
"@polkadot/api": "5.3.1",
"@polkadot/rpc-core": "5.3.1",
"@polkadot/types": "5.3.1",
"@polkadot/api": "5.3.2",
"@polkadot/rpc-core": "5.3.2",
"@polkadot/types": "5.3.2",
"@polkadot/util": "^7.1.1",
"@polkadot/util-crypto": "^7.1.1",
"rxjs": "^7.2.0"
},
"devDependencies": {
"@polkadot/keyring": "^7.1.1",
"@polkadot/rpc-provider": "5.3.1"
"@polkadot/rpc-provider": "5.3.2"
}
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/api-derive', version: '5.3.2' };
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "5.3.1",
"version": "5.3.2",
"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.14.8",
"@polkadot/api-derive": "5.3.1",
"@polkadot/api-derive": "5.3.2",
"@polkadot/keyring": "^7.1.1",
"@polkadot/rpc-core": "5.3.1",
"@polkadot/rpc-provider": "5.3.1",
"@polkadot/types": "5.3.1",
"@polkadot/types-known": "5.3.1",
"@polkadot/rpc-core": "5.3.2",
"@polkadot/rpc-provider": "5.3.2",
"@polkadot/types": "5.3.2",
"@polkadot/types-known": "5.3.2",
"@polkadot/util": "^7.1.1",
"@polkadot/util-crypto": "^7.1.1",
"eventemitter3": "^4.0.7",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api', version: '5.3.1' };
export const packageInfo = { name: '@polkadot/api', version: '5.3.2' };
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "5.3.1",
"version": "5.3.2",
"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.14.8",
"@polkadot/rpc-provider": "5.3.1",
"@polkadot/types": "5.3.1",
"@polkadot/rpc-provider": "5.3.2",
"@polkadot/types": "5.3.2",
"@polkadot/util": "^7.1.1",
"rxjs": "^7.2.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.3.1' };
export const packageInfo = { name: '@polkadot/rpc-core', version: '5.3.2' };
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "5.3.1",
"version": "5.3.2",
"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.14.8",
"@polkadot/types": "5.3.1",
"@polkadot/types": "5.3.2",
"@polkadot/util": "^7.1.1",
"@polkadot/util-crypto": "^7.1.1",
"@polkadot/x-fetch": "^7.1.1",
@@ -30,7 +30,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.1.1",
"@polkadot/types": "5.3.1",
"@polkadot/types": "5.3.2",
"mock-socket": "^9.0.3",
"nock": "^13.1.1"
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', version: '5.3.2' };
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "5.3.1",
"version": "5.3.2",
"type": "module",
"description": "Type generation scripts",
"main": "index.js",
@@ -29,9 +29,9 @@
"@babel/core": "^7.14.8",
"@babel/register": "^7.14.5",
"@babel/runtime": "^7.14.8",
"@polkadot/api": "5.3.1",
"@polkadot/rpc-provider": "5.3.1",
"@polkadot/types": "5.3.1",
"@polkadot/api": "5.3.2",
"@polkadot/rpc-provider": "5.3.2",
"@polkadot/types": "5.3.2",
"@polkadot/util": "^7.1.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.3.1' };
export const packageInfo = { name: '@polkadot/typegen', version: '5.3.2' };
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "5.3.1",
"version": "5.3.2",
"type": "module",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
@@ -21,7 +21,7 @@
"dependencies": {
"@babel/runtime": "^7.14.8",
"@polkadot/networks": "^7.1.1",
"@polkadot/types": "5.3.1",
"@polkadot/types": "5.3.2",
"@polkadot/util": "^7.1.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.3.1' };
export const packageInfo = { name: '@polkadot/types-known', version: '5.3.2' };
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "5.3.1",
"version": "5.3.2",
"type": "module",
"description": "Implementation of the Parity codec",
"main": "index.js",
+50 -4
View File
@@ -10,7 +10,7 @@ import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { BridgedBlockHash, BridgedBlockNumber, BridgedHeader, ChainId, Id, InitializationData, LaneId, MessageKey, MessageNonce } from '@polkadot/types/interfaces/bridges';
import type { BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { EthereumAddress, StatementKind } from '@polkadot/types/interfaces/claims';
@@ -103,6 +103,7 @@ declare module '@polkadot/types/types/registry' {
'Compact<MomentOf>': Compact<MomentOf>;
'Compact<NominatorIndex>': Compact<NominatorIndex>;
'Compact<OffchainAccuracy>': Compact<OffchainAccuracy>;
'Compact<OutboundMessageFee>': Compact<OutboundMessageFee>;
'Compact<OverweightIndex>': Compact<OverweightIndex>;
'Compact<PageCounter>': Compact<PageCounter>;
'Compact<ParaId>': Compact<ParaId>;
@@ -275,6 +276,7 @@ declare module '@polkadot/types/types/registry' {
'Option<CallHash>': Option<CallHash>;
'Option<CallHashOf>': Option<CallHashOf>;
'Option<CallIndex>': Option<CallIndex>;
'Option<CallOrigin>': Option<CallOrigin>;
'Option<CandidateCommitments>': Option<CandidateCommitments>;
'Option<CandidateDescriptor>': Option<CandidateDescriptor>;
'Option<CandidateHash>': Option<CandidateHash>;
@@ -355,6 +357,7 @@ declare module '@polkadot/types/types/registry' {
'Option<DelayKindBest>': Option<DelayKindBest>;
'Option<Delegations>': Option<Delegations>;
'Option<DeletedContract>': Option<DeletedContract>;
'Option<DeliveredMessages>': Option<DeliveredMessages>;
'Option<DepositBalance>': Option<DepositBalance>;
'Option<DepositBalanceOf>': Option<DepositBalanceOf>;
'Option<DestroyWitness>': Option<DestroyWitness>;
@@ -365,6 +368,7 @@ declare module '@polkadot/types/types/registry' {
'Option<DispatchError>': Option<DispatchError>;
'Option<DispatchErrorModule>': Option<DispatchErrorModule>;
'Option<DispatchErrorTo198>': Option<DispatchErrorTo198>;
'Option<DispatchFeePayment>': Option<DispatchFeePayment>;
'Option<DispatchInfo>': Option<DispatchInfo>;
'Option<DispatchInfoTo190>': Option<DispatchInfoTo190>;
'Option<DispatchInfoTo244>': Option<DispatchInfoTo244>;
@@ -546,7 +550,6 @@ declare module '@polkadot/types/types/registry' {
'Option<I64>': Option<I64>;
'Option<i8>': Option<i8>;
'Option<I8>': Option<I8>;
'Option<Id>': Option<Id>;
'Option<IdentificationTuple>': Option<IdentificationTuple>;
'Option<IdentityFields>': Option<IdentityFields>;
'Option<IdentityInfo>': Option<IdentityInfo>;
@@ -557,6 +560,8 @@ declare module '@polkadot/types/types/registry' {
'Option<InboundDownwardMessage>': Option<InboundDownwardMessage>;
'Option<InboundHrmpMessage>': Option<InboundHrmpMessage>;
'Option<InboundHrmpMessages>': Option<InboundHrmpMessages>;
'Option<InboundLaneData>': Option<InboundLaneData>;
'Option<InboundRelayer>': Option<InboundRelayer>;
'Option<InboundStatus>': Option<InboundStatus>;
'Option<IncludedBlocks>': Option<IncludedBlocks>;
'Option<InclusionFee>': Option<InclusionFee>;
@@ -604,11 +609,14 @@ declare module '@polkadot/types/types/registry' {
'Option<MaybeVrf>': Option<MaybeVrf>;
'Option<MemberCount>': Option<MemberCount>;
'Option<MembershipProof>': Option<MembershipProof>;
'Option<MessageData>': Option<MessageData>;
'Option<MessageId>': Option<MessageId>;
'Option<MessageIngestionType>': Option<MessageIngestionType>;
'Option<MessageKey>': Option<MessageKey>;
'Option<MessageNonce>': Option<MessageNonce>;
'Option<MessageQueueChain>': Option<MessageQueueChain>;
'Option<MessagesDeliveryProofOf>': Option<MessagesDeliveryProofOf>;
'Option<MessagesProofOf>': Option<MessagesProofOf>;
'Option<MessagingStateSnapshot>': Option<MessagingStateSnapshot>;
'Option<MessagingStateSnapshotEgressEntry>': Option<MessagingStateSnapshotEgressEntry>;
'Option<MetadataAll>': Option<MetadataAll>;
@@ -677,9 +685,13 @@ declare module '@polkadot/types/types/registry' {
'Option<OpenTipFinderTo225>': Option<OpenTipFinderTo225>;
'Option<OpenTipTip>': Option<OpenTipTip>;
'Option<OpenTipTo225>': Option<OpenTipTo225>;
'Option<OperatingMode>': Option<OperatingMode>;
'Option<Origin>': Option<Origin>;
'Option<OriginCaller>': Option<OriginCaller>;
'Option<OutboundHrmpMessage>': Option<OutboundHrmpMessage>;
'Option<OutboundLaneData>': Option<OutboundLaneData>;
'Option<OutboundMessageFee>': Option<OutboundMessageFee>;
'Option<OutboundPayload>': Option<OutboundPayload>;
'Option<OutboundStatus>': Option<OutboundStatus>;
'Option<Outcome>': Option<Outcome>;
'Option<OverweightIndex>': Option<OverweightIndex>;
@@ -709,6 +721,7 @@ declare module '@polkadot/types/types/registry' {
'Option<ParaId>': Option<ParaId>;
'Option<ParaInfo>': Option<ParaInfo>;
'Option<ParaLifecycle>': Option<ParaLifecycle>;
'Option<Parameter>': Option<Parameter>;
'Option<ParaPastCodeMeta>': Option<ParaPastCodeMeta>;
'Option<ParaScheduling>': Option<ParaScheduling>;
'Option<ParathreadClaim>': Option<ParathreadClaim>;
@@ -799,6 +812,7 @@ declare module '@polkadot/types/types/registry' {
'Option<RelayBlockNumber>': Option<RelayBlockNumber>;
'Option<RelayChainBlockNumber>': Option<RelayChainBlockNumber>;
'Option<RelayChainHash>': Option<RelayChainHash>;
'Option<RelayerId>': Option<RelayerId>;
'Option<RelayHash>': Option<RelayHash>;
'Option<Releases>': Option<Releases>;
'Option<Remark>': Option<Remark>;
@@ -1003,6 +1017,8 @@ declare module '@polkadot/types/types/registry' {
'Option<UncleEntryItem>': Option<UncleEntryItem>;
'Option<UnknownTransaction>': Option<UnknownTransaction>;
'Option<UnlockChunk>': Option<UnlockChunk>;
'Option<UnrewardedRelayer>': Option<UnrewardedRelayer>;
'Option<UnrewardedRelayersState>': Option<UnrewardedRelayersState>;
'Option<UpwardMessage>': Option<UpwardMessage>;
'Option<usize>': Option<usize>;
'Option<USize>': Option<USize>;
@@ -1199,6 +1215,7 @@ declare module '@polkadot/types/types/registry' {
'Vec<CallHash>': Vec<CallHash>;
'Vec<CallHashOf>': Vec<CallHashOf>;
'Vec<CallIndex>': Vec<CallIndex>;
'Vec<CallOrigin>': Vec<CallOrigin>;
'Vec<CandidateCommitments>': Vec<CandidateCommitments>;
'Vec<CandidateDescriptor>': Vec<CandidateDescriptor>;
'Vec<CandidateHash>': Vec<CandidateHash>;
@@ -1279,6 +1296,7 @@ declare module '@polkadot/types/types/registry' {
'Vec<DelayKindBest>': Vec<DelayKindBest>;
'Vec<Delegations>': Vec<Delegations>;
'Vec<DeletedContract>': Vec<DeletedContract>;
'Vec<DeliveredMessages>': Vec<DeliveredMessages>;
'Vec<DepositBalance>': Vec<DepositBalance>;
'Vec<DepositBalanceOf>': Vec<DepositBalanceOf>;
'Vec<DestroyWitness>': Vec<DestroyWitness>;
@@ -1289,6 +1307,7 @@ declare module '@polkadot/types/types/registry' {
'Vec<DispatchError>': Vec<DispatchError>;
'Vec<DispatchErrorModule>': Vec<DispatchErrorModule>;
'Vec<DispatchErrorTo198>': Vec<DispatchErrorTo198>;
'Vec<DispatchFeePayment>': Vec<DispatchFeePayment>;
'Vec<DispatchInfo>': Vec<DispatchInfo>;
'Vec<DispatchInfoTo190>': Vec<DispatchInfoTo190>;
'Vec<DispatchInfoTo244>': Vec<DispatchInfoTo244>;
@@ -1470,7 +1489,6 @@ declare module '@polkadot/types/types/registry' {
'Vec<I64>': Vec<I64>;
'Vec<i8>': Vec<i8>;
'Vec<I8>': Vec<I8>;
'Vec<Id>': Vec<Id>;
'Vec<IdentificationTuple>': Vec<IdentificationTuple>;
'Vec<IdentityFields>': Vec<IdentityFields>;
'Vec<IdentityInfo>': Vec<IdentityInfo>;
@@ -1481,6 +1499,8 @@ declare module '@polkadot/types/types/registry' {
'Vec<InboundDownwardMessage>': Vec<InboundDownwardMessage>;
'Vec<InboundHrmpMessage>': Vec<InboundHrmpMessage>;
'Vec<InboundHrmpMessages>': Vec<InboundHrmpMessages>;
'Vec<InboundLaneData>': Vec<InboundLaneData>;
'Vec<InboundRelayer>': Vec<InboundRelayer>;
'Vec<InboundStatus>': Vec<InboundStatus>;
'Vec<IncludedBlocks>': Vec<IncludedBlocks>;
'Vec<InclusionFee>': Vec<InclusionFee>;
@@ -1528,11 +1548,14 @@ declare module '@polkadot/types/types/registry' {
'Vec<MaybeVrf>': Vec<MaybeVrf>;
'Vec<MemberCount>': Vec<MemberCount>;
'Vec<MembershipProof>': Vec<MembershipProof>;
'Vec<MessageData>': Vec<MessageData>;
'Vec<MessageId>': Vec<MessageId>;
'Vec<MessageIngestionType>': Vec<MessageIngestionType>;
'Vec<MessageKey>': Vec<MessageKey>;
'Vec<MessageNonce>': Vec<MessageNonce>;
'Vec<MessageQueueChain>': Vec<MessageQueueChain>;
'Vec<MessagesDeliveryProofOf>': Vec<MessagesDeliveryProofOf>;
'Vec<MessagesProofOf>': Vec<MessagesProofOf>;
'Vec<MessagingStateSnapshot>': Vec<MessagingStateSnapshot>;
'Vec<MessagingStateSnapshotEgressEntry>': Vec<MessagingStateSnapshotEgressEntry>;
'Vec<MetadataAll>': Vec<MetadataAll>;
@@ -1601,9 +1624,13 @@ declare module '@polkadot/types/types/registry' {
'Vec<OpenTipFinderTo225>': Vec<OpenTipFinderTo225>;
'Vec<OpenTipTip>': Vec<OpenTipTip>;
'Vec<OpenTipTo225>': Vec<OpenTipTo225>;
'Vec<OperatingMode>': Vec<OperatingMode>;
'Vec<Origin>': Vec<Origin>;
'Vec<OriginCaller>': Vec<OriginCaller>;
'Vec<OutboundHrmpMessage>': Vec<OutboundHrmpMessage>;
'Vec<OutboundLaneData>': Vec<OutboundLaneData>;
'Vec<OutboundMessageFee>': Vec<OutboundMessageFee>;
'Vec<OutboundPayload>': Vec<OutboundPayload>;
'Vec<OutboundStatus>': Vec<OutboundStatus>;
'Vec<Outcome>': Vec<Outcome>;
'Vec<OverweightIndex>': Vec<OverweightIndex>;
@@ -1633,6 +1660,7 @@ declare module '@polkadot/types/types/registry' {
'Vec<ParaId>': Vec<ParaId>;
'Vec<ParaInfo>': Vec<ParaInfo>;
'Vec<ParaLifecycle>': Vec<ParaLifecycle>;
'Vec<Parameter>': Vec<Parameter>;
'Vec<ParaPastCodeMeta>': Vec<ParaPastCodeMeta>;
'Vec<ParaScheduling>': Vec<ParaScheduling>;
'Vec<ParathreadClaim>': Vec<ParathreadClaim>;
@@ -1723,6 +1751,7 @@ declare module '@polkadot/types/types/registry' {
'Vec<RelayBlockNumber>': Vec<RelayBlockNumber>;
'Vec<RelayChainBlockNumber>': Vec<RelayChainBlockNumber>;
'Vec<RelayChainHash>': Vec<RelayChainHash>;
'Vec<RelayerId>': Vec<RelayerId>;
'Vec<RelayHash>': Vec<RelayHash>;
'Vec<Releases>': Vec<Releases>;
'Vec<Remark>': Vec<Remark>;
@@ -1927,6 +1956,8 @@ declare module '@polkadot/types/types/registry' {
'Vec<UncleEntryItem>': Vec<UncleEntryItem>;
'Vec<UnknownTransaction>': Vec<UnknownTransaction>;
'Vec<UnlockChunk>': Vec<UnlockChunk>;
'Vec<UnrewardedRelayer>': Vec<UnrewardedRelayer>;
'Vec<UnrewardedRelayersState>': Vec<UnrewardedRelayersState>;
'Vec<UpwardMessage>': Vec<UpwardMessage>;
'Vec<usize>': Vec<usize>;
'Vec<USize>': Vec<USize>;
@@ -2123,6 +2154,7 @@ declare module '@polkadot/types/types/registry' {
CallHash: CallHash;
CallHashOf: CallHashOf;
CallIndex: CallIndex;
CallOrigin: CallOrigin;
CandidateCommitments: CandidateCommitments;
CandidateDescriptor: CandidateDescriptor;
CandidateHash: CandidateHash;
@@ -2203,6 +2235,7 @@ declare module '@polkadot/types/types/registry' {
DelayKindBest: DelayKindBest;
Delegations: Delegations;
DeletedContract: DeletedContract;
DeliveredMessages: DeliveredMessages;
DepositBalance: DepositBalance;
DepositBalanceOf: DepositBalanceOf;
DestroyWitness: DestroyWitness;
@@ -2213,6 +2246,7 @@ declare module '@polkadot/types/types/registry' {
DispatchError: DispatchError;
DispatchErrorModule: DispatchErrorModule;
DispatchErrorTo198: DispatchErrorTo198;
DispatchFeePayment: DispatchFeePayment;
DispatchInfo: DispatchInfo;
DispatchInfoTo190: DispatchInfoTo190;
DispatchInfoTo244: DispatchInfoTo244;
@@ -2394,7 +2428,6 @@ declare module '@polkadot/types/types/registry' {
I64: I64;
i8: i8;
I8: I8;
Id: Id;
IdentificationTuple: IdentificationTuple;
IdentityFields: IdentityFields;
IdentityInfo: IdentityInfo;
@@ -2405,6 +2438,8 @@ declare module '@polkadot/types/types/registry' {
InboundDownwardMessage: InboundDownwardMessage;
InboundHrmpMessage: InboundHrmpMessage;
InboundHrmpMessages: InboundHrmpMessages;
InboundLaneData: InboundLaneData;
InboundRelayer: InboundRelayer;
InboundStatus: InboundStatus;
IncludedBlocks: IncludedBlocks;
InclusionFee: InclusionFee;
@@ -2452,11 +2487,14 @@ declare module '@polkadot/types/types/registry' {
MaybeVrf: MaybeVrf;
MemberCount: MemberCount;
MembershipProof: MembershipProof;
MessageData: MessageData;
MessageId: MessageId;
MessageIngestionType: MessageIngestionType;
MessageKey: MessageKey;
MessageNonce: MessageNonce;
MessageQueueChain: MessageQueueChain;
MessagesDeliveryProofOf: MessagesDeliveryProofOf;
MessagesProofOf: MessagesProofOf;
MessagingStateSnapshot: MessagingStateSnapshot;
MessagingStateSnapshotEgressEntry: MessagingStateSnapshotEgressEntry;
MetadataAll: MetadataAll;
@@ -2525,9 +2563,13 @@ declare module '@polkadot/types/types/registry' {
OpenTipFinderTo225: OpenTipFinderTo225;
OpenTipTip: OpenTipTip;
OpenTipTo225: OpenTipTo225;
OperatingMode: OperatingMode;
Origin: Origin;
OriginCaller: OriginCaller;
OutboundHrmpMessage: OutboundHrmpMessage;
OutboundLaneData: OutboundLaneData;
OutboundMessageFee: OutboundMessageFee;
OutboundPayload: OutboundPayload;
OutboundStatus: OutboundStatus;
Outcome: Outcome;
OverweightIndex: OverweightIndex;
@@ -2557,6 +2599,7 @@ declare module '@polkadot/types/types/registry' {
ParaId: ParaId;
ParaInfo: ParaInfo;
ParaLifecycle: ParaLifecycle;
Parameter: Parameter;
ParaPastCodeMeta: ParaPastCodeMeta;
ParaScheduling: ParaScheduling;
ParathreadClaim: ParathreadClaim;
@@ -2647,6 +2690,7 @@ declare module '@polkadot/types/types/registry' {
RelayBlockNumber: RelayBlockNumber;
RelayChainBlockNumber: RelayChainBlockNumber;
RelayChainHash: RelayChainHash;
RelayerId: RelayerId;
RelayHash: RelayHash;
Releases: Releases;
Remark: Remark;
@@ -2851,6 +2895,8 @@ declare module '@polkadot/types/types/registry' {
UncleEntryItem: UncleEntryItem;
UnknownTransaction: UnknownTransaction;
UnlockChunk: UnlockChunk;
UnrewardedRelayer: UnrewardedRelayer;
UnrewardedRelayersState: UnrewardedRelayersState;
UpwardMessage: UpwardMessage;
usize: usize;
USize: USize;
@@ -12,21 +12,82 @@ export default {
BridgedBlockHash: 'H256',
BridgedBlockNumber: 'BlockNumber',
BridgedHeader: 'Header',
CallOrigin: {
_enum: {
SourceRoot: 'Null',
TargetAccount: '(AccountId, MultiSigner, MultiSignature)',
SourceAccount: 'AccountId'
}
},
ChainId: '[u8; 4]',
DeliveredMessages: {
begin: 'MessageNonce',
end: 'MessageNonce',
// pub type DispatchResultsBitVec = BitVec<Msb0, u8>;
dispatchResults: 'BitVec'
},
DispatchFeePayment: {
_enum: ['AtSourceChain', 'AtTargetChain']
},
InboundLaneData: {
relayers: 'Vec<UnrewardedRelayer>',
lastConfirmedNonce: 'MessageNonce'
},
InboundRelayer: 'AccountId',
InitializationData: {
header: 'Header',
authorityList: 'AuthorityList',
setId: 'SetId',
isHalted: 'bool'
},
Id: '[u8; 4]',
ChainId: 'Id',
LaneId: 'Id',
MessageNonce: 'u64',
// Overrides what is in cumulus, however needed - needs an alias
// MessageId: '(Id, u64)',
LaneId: '[u8; 4]',
MessageData: {
payload: 'Bytes',
fee: 'Balance'
},
MessagesDeliveryProofOf: {
bridgedHeaderHash: 'BlockHash',
storageProof: 'Vec<Bytes>',
lane: 'LaneId'
},
MessageKey: {
laneId: 'LaneId',
nonce: 'MessageNonce'
},
MessageNonce: 'u64',
MessagesProofOf: {
bridgedHeaderHash: 'BridgedBlockHash',
storageProof: 'Vec<Bytes>',
lane: 'LaneId',
noncesStart: 'MessageNonce',
noncesEnd: 'MessageNonce'
},
OperatingMode: {
_enum: ['Normal', 'RejectingOutboundMessages', 'Halted']
},
OutboundLaneData: {
latestGeneratedNonce: 'MessageNonce',
latestReceivedNonce: 'MessageNonce',
oldestUnprunedNonce: 'MessageNonce'
},
OutboundMessageFee: 'Balance',
OutboundPayload: {
specVersion: 'u32',
weight: 'Weight',
origin: 'CallOrigin',
dispatchFeePayment: 'DispatchFeePayment',
call: 'Bytes'
},
Parameter: 'Null',
RelayerId: 'AccountId',
UnrewardedRelayer: {
relayer: 'RelayerId',
messages: 'DeliveredMessages'
},
UnrewardedRelayersState: {
unrewardedRelayer_Entries: 'MessageNonce',
messagesInOldestEntry: 'MessageNonce',
totalMessages: 'MessageNonce'
}
}
} as Definitions;
+105 -7
View File
@@ -1,9 +1,12 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
import type { Struct, U8aFixed, bool, u64 } from '@polkadot/types';
import type { BitVec, Bytes, Enum, Null, Struct, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types';
import type { ITuple } from '@polkadot/types/types';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { MultiSignature } from '@polkadot/types/interfaces/extrinsics';
import type { AuthorityList, SetId } from '@polkadot/types/interfaces/grandpa';
import type { BlockNumber, H256, Header } from '@polkadot/types/interfaces/runtime';
import type { AccountId, Balance, BlockNumber, H256, Header, MultiSigner, Weight } from '@polkadot/types/interfaces/runtime';
/** @name BridgedBlockHash */
export interface BridgedBlockHash extends H256 {}
@@ -14,11 +17,39 @@ export interface BridgedBlockNumber extends BlockNumber {}
/** @name BridgedHeader */
export interface BridgedHeader extends Header {}
/** @name ChainId */
export interface ChainId extends Id {}
/** @name CallOrigin */
export interface CallOrigin extends Enum {
readonly isSourceRoot: boolean;
readonly isTargetAccount: boolean;
readonly asTargetAccount: ITuple<[AccountId, MultiSigner, MultiSignature]>;
readonly isSourceAccount: boolean;
readonly asSourceAccount: AccountId;
}
/** @name Id */
export interface Id extends U8aFixed {}
/** @name ChainId */
export interface ChainId extends U8aFixed {}
/** @name DeliveredMessages */
export interface DeliveredMessages extends Struct {
readonly begin: MessageNonce;
readonly end: MessageNonce;
readonly dispatchResults: BitVec;
}
/** @name DispatchFeePayment */
export interface DispatchFeePayment extends Enum {
readonly isAtSourceChain: boolean;
readonly isAtTargetChain: boolean;
}
/** @name InboundLaneData */
export interface InboundLaneData extends Struct {
readonly relayers: Vec<UnrewardedRelayer>;
readonly lastConfirmedNonce: MessageNonce;
}
/** @name InboundRelayer */
export interface InboundRelayer extends AccountId {}
/** @name InitializationData */
export interface InitializationData extends Struct {
@@ -29,7 +60,13 @@ export interface InitializationData extends Struct {
}
/** @name LaneId */
export interface LaneId extends Id {}
export interface LaneId extends U8aFixed {}
/** @name MessageData */
export interface MessageData extends Struct {
readonly payload: Bytes;
readonly fee: Balance;
}
/** @name MessageKey */
export interface MessageKey extends Struct {
@@ -40,4 +77,65 @@ export interface MessageKey extends Struct {
/** @name MessageNonce */
export interface MessageNonce extends u64 {}
/** @name MessagesDeliveryProofOf */
export interface MessagesDeliveryProofOf extends Struct {
readonly bridgedHeaderHash: BlockHash;
readonly storageProof: Vec<Bytes>;
readonly lane: LaneId;
}
/** @name MessagesProofOf */
export interface MessagesProofOf extends Struct {
readonly bridgedHeaderHash: BridgedBlockHash;
readonly storageProof: Vec<Bytes>;
readonly lane: LaneId;
readonly noncesStart: MessageNonce;
readonly noncesEnd: MessageNonce;
}
/** @name OperatingMode */
export interface OperatingMode extends Enum {
readonly isNormal: boolean;
readonly isRejectingOutboundMessages: boolean;
readonly isHalted: boolean;
}
/** @name OutboundLaneData */
export interface OutboundLaneData extends Struct {
readonly latestGeneratedNonce: MessageNonce;
readonly latestReceivedNonce: MessageNonce;
readonly oldestUnprunedNonce: MessageNonce;
}
/** @name OutboundMessageFee */
export interface OutboundMessageFee extends Balance {}
/** @name OutboundPayload */
export interface OutboundPayload extends Struct {
readonly specVersion: u32;
readonly weight: Weight;
readonly origin: CallOrigin;
readonly dispatchFeePayment: DispatchFeePayment;
readonly call: Bytes;
}
/** @name Parameter */
export interface Parameter extends Null {}
/** @name RelayerId */
export interface RelayerId extends AccountId {}
/** @name UnrewardedRelayer */
export interface UnrewardedRelayer extends Struct {
readonly relayer: RelayerId;
readonly messages: DeliveredMessages;
}
/** @name UnrewardedRelayersState */
export interface UnrewardedRelayersState extends Struct {
readonly unrewardedRelayer_Entries: MessageNonce;
readonly messagesInOldestEntry: MessageNonce;
readonly totalMessages: MessageNonce;
}
export type PHANTOM_BRIDGES = 'bridges';
File diff suppressed because one or more lines are too long
@@ -254,7 +254,7 @@
{
"name": "Version",
"type": 115,
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000b0100000000000034df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf502000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a80100000091d5df18b0d2cf5801000000ab3c0572291feb8b0100000002000000",
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000b0100000000000034df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a80100000091d5df18b0d2cf5801000000ab3c0572291feb8b0100000002000000",
"docs": [
" Get the chain's current version."
]
@@ -1478,6 +1478,14 @@
"docs": [
"Batch of dispatches completed fully with no error."
]
},
{
"name": "ItemCompleted",
"fields": [],
"index": 2,
"docs": [
"A single item within a Batch of dispatches has completed with no error."
]
}
]
}
@@ -2075,7 +2083,7 @@
"variant": {
"variants": [
{
"name": "EraPayout",
"name": "EraPaid",
"fields": [
{
"name": null,
@@ -2104,7 +2112,7 @@
]
},
{
"name": "Reward",
"name": "Rewarded",
"fields": [
{
"name": null,
@@ -2121,11 +2129,11 @@
],
"index": 1,
"docs": [
"The staker has been rewarded by this amount. \\[stash, amount\\]"
"The nominator has been rewarded by this amount. \\[stash, amount\\]"
]
},
{
"name": "Slash",
"name": "Slashed",
"fields": [
{
"name": null,
@@ -2163,7 +2171,7 @@
]
},
{
"name": "StakingElection",
"name": "StakersElected",
"fields": [],
"index": 4,
"docs": [
@@ -2281,6 +2289,27 @@
"An account has stopped participating as either a validator or nominator.",
"\\[stash\\]"
]
},
{
"name": "PayoutStarted",
"fields": [
{
"name": null,
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": null,
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 11,
"docs": [
"The stakers' rewards are getting paid. \\[era_index, validator_stash\\]"
]
}
]
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types', version: '5.3.1' };
export const packageInfo = { name: '@polkadot/types', version: '5.3.2' };
+24 -24
View File
@@ -1867,40 +1867,40 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.14.8
"@polkadot/api": 5.3.1
"@polkadot/types": 5.3.1
"@polkadot/api": 5.3.2
"@polkadot/types": 5.3.2
"@polkadot/util": ^7.1.1
rxjs: ^7.2.0
languageName: unknown
linkType: soft
"@polkadot/api-derive@5.3.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@5.3.2, @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.14.8
"@polkadot/api": 5.3.1
"@polkadot/api": 5.3.2
"@polkadot/keyring": ^7.1.1
"@polkadot/rpc-core": 5.3.1
"@polkadot/rpc-provider": 5.3.1
"@polkadot/types": 5.3.1
"@polkadot/rpc-core": 5.3.2
"@polkadot/rpc-provider": 5.3.2
"@polkadot/types": 5.3.2
"@polkadot/util": ^7.1.1
"@polkadot/util-crypto": ^7.1.1
rxjs: ^7.2.0
languageName: unknown
linkType: soft
"@polkadot/api@5.3.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@5.3.2, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.14.8
"@polkadot/api-derive": 5.3.1
"@polkadot/api-derive": 5.3.2
"@polkadot/keyring": ^7.1.1
"@polkadot/rpc-core": 5.3.1
"@polkadot/rpc-provider": 5.3.1
"@polkadot/types": 5.3.1
"@polkadot/types-known": 5.3.1
"@polkadot/rpc-core": 5.3.2
"@polkadot/rpc-provider": 5.3.2
"@polkadot/types": 5.3.2
"@polkadot/types-known": 5.3.2
"@polkadot/util": ^7.1.1
"@polkadot/util-crypto": ^7.1.1
eventemitter3: ^4.0.7
@@ -2024,26 +2024,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-core@5.3.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@5.3.2, @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.14.8
"@polkadot/keyring": ^7.1.1
"@polkadot/rpc-provider": 5.3.1
"@polkadot/types": 5.3.1
"@polkadot/rpc-provider": 5.3.2
"@polkadot/types": 5.3.2
"@polkadot/util": ^7.1.1
rxjs: ^7.2.0
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@5.3.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@5.3.2, @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.14.8
"@polkadot/keyring": ^7.1.1
"@polkadot/types": 5.3.1
"@polkadot/types": 5.3.2
"@polkadot/util": ^7.1.1
"@polkadot/util-crypto": ^7.1.1
"@polkadot/x-fetch": ^7.1.1
@@ -2071,9 +2071,9 @@ __metadata:
"@babel/core": ^7.14.8
"@babel/register": ^7.14.5
"@babel/runtime": ^7.14.8
"@polkadot/api": 5.3.1
"@polkadot/rpc-provider": 5.3.1
"@polkadot/types": 5.3.1
"@polkadot/api": 5.3.2
"@polkadot/rpc-provider": 5.3.2
"@polkadot/types": 5.3.2
"@polkadot/util": ^7.1.1
"@types/websocket": ^1.0.4
"@types/yargs": ^17.0.2
@@ -2089,18 +2089,18 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-known@5.3.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@5.3.2, @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.14.8
"@polkadot/networks": ^7.1.1
"@polkadot/types": 5.3.1
"@polkadot/types": 5.3.2
"@polkadot/util": ^7.1.1
languageName: unknown
linkType: soft
"@polkadot/types@5.3.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@5.3.2, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies: