Update Substrate metadata & scheduler usage (#4371)
This commit is contained in:
@@ -4,37 +4,6 @@
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
export default {
|
||||
/**
|
||||
* Lookup30: frame_support::traits::schedule::LookupError
|
||||
**/
|
||||
FrameSupportScheduleLookupError: {
|
||||
_enum: ['Unknown', 'BadFormat']
|
||||
},
|
||||
/**
|
||||
* Lookup31: pallet_preimage::pallet::Event<T>
|
||||
**/
|
||||
PalletPreimageEvent: {
|
||||
_enum: {
|
||||
Noted: {
|
||||
_alias: {
|
||||
hash_: 'hash',
|
||||
},
|
||||
hash_: 'H256',
|
||||
},
|
||||
Requested: {
|
||||
_alias: {
|
||||
hash_: 'hash',
|
||||
},
|
||||
hash_: 'H256',
|
||||
},
|
||||
Cleared: {
|
||||
_alias: {
|
||||
hash_: 'hash',
|
||||
},
|
||||
hash_: 'H256'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup66: polkadot_runtime_common::claims::pallet::Event<T>
|
||||
**/
|
||||
@@ -653,53 +622,6 @@ export default {
|
||||
V1: 'XcmV1MultiLocation'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup164: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<polkadot_runtime::Call, primitive_types::H256>, BlockNumber, polkadot_runtime::OriginCaller, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletSchedulerScheduledV3: {
|
||||
maybeId: 'Option<Bytes>',
|
||||
priority: 'u8',
|
||||
call: 'FrameSupportScheduleMaybeHashed',
|
||||
maybePeriodic: 'Option<(u32,u32)>',
|
||||
origin: 'PolkadotRuntimeOriginCaller'
|
||||
},
|
||||
/**
|
||||
* Lookup165: frame_support::traits::schedule::MaybeHashed<polkadot_runtime::Call, primitive_types::H256>
|
||||
**/
|
||||
FrameSupportScheduleMaybeHashed: {
|
||||
_enum: {
|
||||
Value: 'Call',
|
||||
Hash: 'H256'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup169: pallet_preimage::pallet::Call<T>
|
||||
**/
|
||||
PalletPreimageCall: {
|
||||
_enum: {
|
||||
note_preimage: {
|
||||
bytes: 'Bytes',
|
||||
},
|
||||
unnote_preimage: {
|
||||
_alias: {
|
||||
hash_: 'hash',
|
||||
},
|
||||
hash_: 'H256',
|
||||
},
|
||||
request_preimage: {
|
||||
_alias: {
|
||||
hash_: 'hash',
|
||||
},
|
||||
hash_: 'H256',
|
||||
},
|
||||
unrequest_preimage: {
|
||||
_alias: {
|
||||
hash_: 'hash',
|
||||
},
|
||||
hash_: 'H256'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup197: polkadot_runtime::SessionKeys
|
||||
**/
|
||||
@@ -1803,21 +1725,6 @@ export default {
|
||||
Version: 'u32'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup428: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletPreimageRequestStatus: {
|
||||
_enum: {
|
||||
Unrequested: 'Option<(AccountId32,u128)>',
|
||||
Requested: 'u32'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup431: pallet_preimage::pallet::Error<T>
|
||||
**/
|
||||
PalletPreimageError: {
|
||||
_enum: ['TooLarge', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']
|
||||
},
|
||||
/**
|
||||
* Lookup528: polkadot_runtime_common::claims::pallet::Error<T>
|
||||
**/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5,31 +5,7 @@ declare module '@polkadot/types/lookup' {
|
||||
import type { BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
/** @name FrameSupportScheduleLookupError (30) */
|
||||
export interface FrameSupportScheduleLookupError extends Enum {
|
||||
readonly isUnknown: boolean;
|
||||
readonly isBadFormat: boolean;
|
||||
readonly type: 'Unknown' | 'BadFormat';
|
||||
}
|
||||
|
||||
/** @name PalletPreimageEvent (31) */
|
||||
export interface PalletPreimageEvent extends Enum {
|
||||
readonly isNoted: boolean;
|
||||
readonly asNoted: {
|
||||
readonly hash_: H256;
|
||||
} & Struct;
|
||||
readonly isRequested: boolean;
|
||||
readonly asRequested: {
|
||||
readonly hash_: H256;
|
||||
} & Struct;
|
||||
readonly isCleared: boolean;
|
||||
readonly asCleared: {
|
||||
readonly hash_: H256;
|
||||
} & Struct;
|
||||
readonly type: 'Noted' | 'Requested' | 'Cleared';
|
||||
}
|
||||
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletEvent (66) */
|
||||
export interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
|
||||
@@ -744,45 +720,6 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'V0' | 'V1';
|
||||
}
|
||||
|
||||
/** @name PalletSchedulerScheduledV3 (164) */
|
||||
export interface PalletSchedulerScheduledV3 extends Struct {
|
||||
readonly maybeId: Option<Bytes>;
|
||||
readonly priority: u8;
|
||||
readonly call: FrameSupportScheduleMaybeHashed;
|
||||
readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
|
||||
readonly origin: PolkadotRuntimeOriginCaller;
|
||||
}
|
||||
|
||||
/** @name FrameSupportScheduleMaybeHashed (165) */
|
||||
export interface FrameSupportScheduleMaybeHashed extends Enum {
|
||||
readonly isValue: boolean;
|
||||
readonly asValue: Call;
|
||||
readonly isHash: boolean;
|
||||
readonly asHash: H256;
|
||||
readonly type: 'Value' | 'Hash';
|
||||
}
|
||||
|
||||
/** @name PalletPreimageCall (169) */
|
||||
export interface PalletPreimageCall extends Enum {
|
||||
readonly isNotePreimage: boolean;
|
||||
readonly asNotePreimage: {
|
||||
readonly bytes: Bytes;
|
||||
} & Struct;
|
||||
readonly isUnnotePreimage: boolean;
|
||||
readonly asUnnotePreimage: {
|
||||
readonly hash_: H256;
|
||||
} & Struct;
|
||||
readonly isRequestPreimage: boolean;
|
||||
readonly asRequestPreimage: {
|
||||
readonly hash_: H256;
|
||||
} & Struct;
|
||||
readonly isUnrequestPreimage: boolean;
|
||||
readonly asUnrequestPreimage: {
|
||||
readonly hash_: H256;
|
||||
} & Struct;
|
||||
readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeSessionKeys (197) */
|
||||
export interface PolkadotRuntimeSessionKeys extends Struct {
|
||||
readonly grandpa: SpFinalityGrandpaAppPublic;
|
||||
@@ -1738,26 +1675,6 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Assets' | 'Version';
|
||||
}
|
||||
|
||||
/** @name PalletPreimageRequestStatus (428) */
|
||||
export interface PalletPreimageRequestStatus extends Enum {
|
||||
readonly isUnrequested: boolean;
|
||||
readonly asUnrequested: Option<ITuple<[AccountId32, u128]>>;
|
||||
readonly isRequested: boolean;
|
||||
readonly asRequested: u32;
|
||||
readonly type: 'Unrequested' | 'Requested';
|
||||
}
|
||||
|
||||
/** @name PalletPreimageError (431) */
|
||||
export interface PalletPreimageError extends Enum {
|
||||
readonly isTooLarge: boolean;
|
||||
readonly isAlreadyNoted: boolean;
|
||||
readonly isNotAuthorized: boolean;
|
||||
readonly isNotNoted: boolean;
|
||||
readonly isRequested: boolean;
|
||||
readonly isNotRequested: boolean;
|
||||
readonly type: 'TooLarge' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletError (528) */
|
||||
export interface PolkadotRuntimeCommonClaimsPalletError extends Enum {
|
||||
readonly isInvalidEthereumSignature: boolean;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user