diff --git a/src/interfaces/augment-types.ts b/src/interfaces/augment-types.ts index 740096d..db34846 100644 --- a/src/interfaces/augment-types.ts +++ b/src/interfaces/augment-types.ts @@ -6,7 +6,7 @@ import { BitVec, Bytes, Data, DoNotConstruct, Null, StorageKey, Text, Type, U256 import { AttestationTopic, AttestationValue } from '@cennznet/api-types/interfaces/attestation'; import { ExchangeKey, FeeRate } from '@cennznet/api-types/interfaces/cennzx'; import { AssetInfo } from '@cennznet/api-types/interfaces/ga'; -import { RewardBalance, RewardBalanceOf, RewardDestination, VecDeque } from '@cennznet/api-types/interfaces/staking'; +import { RewardBalance, RewardBalanceOf, RewardDestination } from '@cennznet/api-types/interfaces/staking'; import { AcceptPayload, DeviceId, DeviceIdResponse, Group, Invite, Member, MemberRoles, Message, MessageId, Meta, PendingInvite, PreKeyBundle, PreKeyBundlesResponse, Response, VaultKey, VaultValue, WithdrawnPreKeyBundle } from '@cennznet/api-types/interfaces/sylo'; import { ChargeTransactionPayment, FeeExchange, FeeExchangeV1 } from '@cennznet/api-types/interfaces/transactionPayment'; import { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; @@ -1530,9 +1530,6 @@ declare module '@polkadot/types/types/registry' { RewardDestination: RewardDestination; 'Option': Option; 'Vec': Vec; - VecDeque: VecDeque; - 'Option': Option; - 'Vec': Vec; Meta: Meta; 'Option': Option; 'Vec': Vec; diff --git a/src/interfaces/injects.ts b/src/interfaces/injects.ts index 8568686..f4434aa 100644 --- a/src/interfaces/injects.ts +++ b/src/interfaces/injects.ts @@ -16,6 +16,7 @@ import { CENNZnetExtrinsicSignatureV1, SignerPayload } from './extrinsic'; import * as definitions from './definitions'; +import VecAny from "@polkadot/types/codec/VecAny"; const _types = { ...definitions, @@ -25,6 +26,7 @@ const _types = { types: { ExtrinsicSignatureV4: CENNZnetExtrinsicSignatureV1, SignerPayload, + VecDeque: VecAny, } } }; diff --git a/src/interfaces/staking/definitions.ts b/src/interfaces/staking/definitions.ts index 92e6b9f..bf977e3 100644 --- a/src/interfaces/staking/definitions.ts +++ b/src/interfaces/staking/definitions.ts @@ -10,6 +10,5 @@ export default { Account: 'AccountId' } }, - VecDeque: 'Vec', } } \ No newline at end of file diff --git a/src/interfaces/staking/types.ts b/src/interfaces/staking/types.ts index a91da35..038fe42 100644 --- a/src/interfaces/staking/types.ts +++ b/src/interfaces/staking/types.ts @@ -1,7 +1,7 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -import { Enum, Vec } from '@polkadot/types/codec'; +import { Enum } from '@polkadot/types/codec'; import { AccountId, Balance } from '@polkadot/types/interfaces/runtime'; /** @name RewardBalance */ @@ -18,7 +18,4 @@ export interface RewardDestination extends Enum { readonly asAccount: AccountId; } -/** @name VecDeque */ -export interface VecDeque extends Vec {} - export type PHANTOM_STAKING = 'staking';