Skip to content

Commit

Permalink
Rebuild typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Nov 24, 2023
1 parent 13e50f8 commit 0dce4fc
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 109 deletions.
2 changes: 1 addition & 1 deletion cli/creditcoin.json

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions cli/src/lib/interfaces/augment-api-consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ import '@polkadot/api-base/types/consts';
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import {
FrameSupportPalletId,
FrameSystemLimitsBlockLength,
FrameSystemLimitsBlockWeights,
SpWeightsRuntimeDbWeight,
SpVersionRuntimeVersion,
} from '@polkadot/types/lookup';

export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;

Expand Down
15 changes: 0 additions & 15 deletions cli/src/lib/interfaces/augment-api-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,6 @@ import type {
} from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import {
FrameSupportTokensMiscBalanceStatus,
EvmCoreErrorExitReason,
EthereumLog,
SpRuntimeDispatchError,
SpConsensusGrandpaAppPublic,
PalletImOnlineSr25519AppSr25519Public,
PalletStakingExposure,
PalletNominationPoolsCommissionChangeRate,
PalletNominationPoolsPoolState,
Creditcoin3RuntimeProxyFilter,
PalletStakingForcing,
PalletStakingValidatorPrefs,
FrameSupportDispatchDispatchInfo,
} from '@polkadot/types/lookup';

export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;

Expand Down
55 changes: 3 additions & 52 deletions cli/src/lib/interfaces/augment-api-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,61 +7,10 @@ import '@polkadot/api-base/types/storage';

import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { Data } from '@polkadot/types';
import type { Bytes, Option, U256, U8aFixed, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
import type { Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
import type { Observable } from '@polkadot/types/types';
import {
SpConsensusBabeAppPublic,
SpConsensusBabeBabeEpochConfiguration,
SpConsensusBabeDigestsPreDigest,
SpConsensusBabeDigestsNextConfigDescriptor,
PalletBalancesAccountData,
PalletBalancesIdAmount,
PalletBalancesBalanceLock,
PalletBalancesReserveData,
EthereumBlock,
EthereumReceiptReceiptV3,
FpRpcTransactionStatus,
EthereumTransactionTransactionV2,
PalletEvmCodeMetadata,
PalletFastUnstakeUnstakeRequest,
PalletGrandpaStoredPendingChange,
PalletGrandpaStoredState,
PalletIdentityRegistration,
PalletIdentityRegistrarInfo,
PalletImOnlineSr25519AppSr25519Public,
PalletNominationPoolsBondedPoolInner,
PalletNominationPoolsClaimPermission,
PalletNominationPoolsPoolMember,
PalletNominationPoolsRewardPool,
PalletNominationPoolsSubPools,
SpStakingOffenceOffenceDetails,
PalletProxyAnnouncement,
PalletProxyProxyDefinition,
SpCoreCryptoKeyTypeId,
Creditcoin3RuntimeOpaqueSessionKeys,
PalletStakingActiveEraInfo,
PalletStakingEraRewardPoints,
PalletStakingExposure,
PalletStakingValidatorPrefs,
PalletStakingForcing,
PalletStakingStakingLedger,
PalletStakingNominations,
PalletStakingRewardDestination,
PalletStakingSlashingSlashingSpans,
PalletStakingSlashingSpanRecord,
PalletStakingUnappliedSlash,
FrameSystemAccountInfo,
FrameSupportDispatchPerDispatchClassWeight,
SpRuntimeDigest,
FrameSystemEventRecord,
FrameSystemPhase,
FrameSystemLastRuntimeUpgradeInfo,
PalletTransactionPaymentReleases,
PalletBagsListListBag,
PalletBagsListListNode,
} from '@polkadot/types/lookup';

export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
Expand Down Expand Up @@ -376,6 +325,8 @@ declare module '@polkadot/api-base/types/storage' {
[H160, H256]
> &
QueryableStorageEntry<ApiType, [H160, H256]>;
suicided: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Null>>, [H160]> &
QueryableStorageEntry<ApiType, [H160]>;
/**
* Generic query
**/
Expand Down
6 changes: 3 additions & 3 deletions cli/src/lib/interfaces/augment-api-rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import type {
import type { AnyNumber, Codec } from '@polkadot/types-codec/types';
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';
import type { BeefyVersionedFinalityProof } from '@polkadot/types/interfaces/beefy';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
Expand Down Expand Up @@ -163,9 +163,9 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
**/
getFinalizedHead: AugmentedRpc<() => Observable<H256>>;
/**
* Returns the block most recently finalized by BEEFY, alongside side its justification.
* Returns the block most recently finalized by BEEFY, alongside its justification.
**/
subscribeJustifications: AugmentedRpc<() => Observable<BeefySignedCommitment>>;
subscribeJustifications: AugmentedRpc<() => Observable<BeefyVersionedFinalityProof>>;
};
chain: {
/**
Expand Down
30 changes: 0 additions & 30 deletions cli/src/lib/interfaces/augment-api-tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,6 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
import {
SpConsensusBabeDigestsNextConfigDescriptor,
SpConsensusSlotsEquivocationProof,
SpSessionMembershipProof,
EthereumTransactionTransactionV2,
SpConsensusGrandpaEquivocationProof,
PalletIdentityJudgement,
PalletIdentityBitFlags,
PalletIdentityIdentityInfo,
PalletImOnlineHeartbeat,
PalletImOnlineSr25519AppSr25519Signature,
PalletNominationPoolsBondExtra,
PalletNominationPoolsClaimPermission,
PalletNominationPoolsCommissionChangeRate,
PalletNominationPoolsConfigOpU128,
PalletNominationPoolsConfigOpU32,
PalletNominationPoolsConfigOpPerbill,
PalletNominationPoolsPoolState,
PalletNominationPoolsConfigOpAccountId32,
Creditcoin3RuntimeProxyFilter,
Creditcoin3RuntimeOpaqueSessionKeys,
PalletStakingRewardDestination,
PalletStakingPalletConfigOpU128,
PalletStakingPalletConfigOpU32,
PalletStakingPalletConfigOpPercent,
PalletStakingPalletConfigOpPerbill,
PalletStakingValidatorPrefs,
SpWeightsWeightV2Weight,
Creditcoin3RuntimeOriginCaller,
} from '@polkadot/types/lookup';

export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
Expand Down
4 changes: 4 additions & 0 deletions cli/src/lib/interfaces/augment-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ import type {
u8,
usize,
} from '@polkadot/types-codec';
import type { TAssetConversion } from '@polkadot/types/interfaces/assetConversion';
import type {
AssetApproval,
AssetApprovalKey,
Expand Down Expand Up @@ -114,6 +115,7 @@ import type {
BeefyPayload,
BeefyPayloadId,
BeefySignedCommitment,
BeefyVersionedFinalityProof,
BeefyVoteMessage,
MmrRootHash,
ValidatorSet,
Expand Down Expand Up @@ -1295,6 +1297,7 @@ declare module '@polkadot/types/types/registry' {
BeefyPayload: BeefyPayload;
BeefyPayloadId: BeefyPayloadId;
BeefySignedCommitment: BeefySignedCommitment;
BeefyVersionedFinalityProof: BeefyVersionedFinalityProof;
BeefyVoteMessage: BeefyVoteMessage;
BenchmarkBatch: BenchmarkBatch;
BenchmarkConfig: BenchmarkConfig;
Expand Down Expand Up @@ -2227,6 +2230,7 @@ declare module '@polkadot/types/types/registry' {
Tally: Tally;
TaskAddress: TaskAddress;
TAssetBalance: TAssetBalance;
TAssetConversion: TAssetConversion;
TAssetDepositBalance: TAssetDepositBalance;
Text: Text;
Timepoint: Timepoint;
Expand Down
2 changes: 1 addition & 1 deletion cli/src/lib/interfaces/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */

// export * from './types.js';
export * from './types.js';

0 comments on commit 0dce4fc

Please sign in to comment.