Bump static Substrate metadata (#3616)
* Bump static Substrate metadata * Add size alias
This commit is contained in:
@@ -160,7 +160,7 @@ declare module '@polkadot/api/types/consts' {
|
||||
**/
|
||||
enactmentPeriod: BlockNumber & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum voting period allowed for an emergency referendum.
|
||||
* Minimum voting period allowed for a fast-track referendum.
|
||||
**/
|
||||
fastTrackVotingPeriod: BlockNumber & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -169,6 +169,9 @@ declare module '@polkadot/api/types/consts' {
|
||||
launchPeriod: BlockNumber & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of votes for an account.
|
||||
*
|
||||
* Also used to compute weight, an overly big value can
|
||||
* lead to extrinsic with very big weight: see `delegate` for instance.
|
||||
**/
|
||||
maxVotes: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
|
||||
@@ -136,6 +136,10 @@ declare module '@polkadot/api/types/errors' {
|
||||
* Account liquidity restrictions prevent withdrawal
|
||||
**/
|
||||
LiquidityRestrictions: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Number of named reserves exceed MaxReserves
|
||||
**/
|
||||
TooManyReserves: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Vesting balance too high to send value
|
||||
**/
|
||||
@@ -1370,6 +1374,64 @@ declare module '@polkadot/api/types/errors' {
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
transactionStorage: {
|
||||
/**
|
||||
* Attempted to call `store` outside of block execution.
|
||||
**/
|
||||
BadContext: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Double proof check in the block.
|
||||
**/
|
||||
DoubleCheck: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Attempting to store empty transaction
|
||||
**/
|
||||
EmptyTransaction: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Insufficient account balance.
|
||||
**/
|
||||
InsufficientFunds: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Proof failed verification.
|
||||
**/
|
||||
InvalidProof: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Missing storage proof.
|
||||
**/
|
||||
MissingProof: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Unable to verify proof becasue state data is missing.
|
||||
**/
|
||||
MissingStateData: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid configuration.
|
||||
**/
|
||||
NotConfigured: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Storage proof was not checked in the block.
|
||||
**/
|
||||
ProofNotChecked: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Renewed extrinsic is not found.
|
||||
**/
|
||||
RenewedNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Too many transactions in the block.
|
||||
**/
|
||||
TooManyTransactions: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Transaction is too large.
|
||||
**/
|
||||
TransactionTooLarge: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Proof was not expected in this block.
|
||||
**/
|
||||
UnexpectedProof: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
treasury: {
|
||||
/**
|
||||
* Proposer's balance is too low.
|
||||
|
||||
@@ -996,6 +996,24 @@ declare module '@polkadot/api/types/events' {
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
transactionStorage: {
|
||||
/**
|
||||
* Storage proof was successfully checked.
|
||||
**/
|
||||
ProofChecked: AugmentedEvent<ApiType, []>;
|
||||
/**
|
||||
* Renewed data under specified index.
|
||||
**/
|
||||
Renewed: AugmentedEvent<ApiType, [u32]>;
|
||||
/**
|
||||
* Stored data under specified index.
|
||||
**/
|
||||
Stored: AugmentedEvent<ApiType, [u32]>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
treasury: {
|
||||
/**
|
||||
* Some funds have been allocated. \[proposal_index, award, beneficiary\]
|
||||
|
||||
@@ -6,7 +6,7 @@ import type { AnyNumber, ITuple, Observable } from '@polkadot/types/types';
|
||||
import type { AssetApproval, AssetBalance, AssetDetails, AssetMetadata } from '@polkadot/types/interfaces/assets';
|
||||
import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
|
||||
import type { BabeAuthorityWeight, BabeEpochConfiguration, MaybeRandomness, NextConfigDescriptor, Randomness } from '@polkadot/types/interfaces/babe';
|
||||
import type { AccountData, BalanceLock } from '@polkadot/types/interfaces/balances';
|
||||
import type { AccountData, BalanceLock, ReserveData } from '@polkadot/types/interfaces/balances';
|
||||
import type { ProposalIndex, Votes } from '@polkadot/types/interfaces/collective';
|
||||
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
|
||||
import type { CodeHash, ContractInfo, DeletedContract, PrefabWasmModule } from '@polkadot/types/interfaces/contracts';
|
||||
@@ -20,7 +20,7 @@ import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lotter
|
||||
import type { Kind, OffenceDetails, OpaqueTimeSlot, ReportIdOf } from '@polkadot/types/interfaces/offences';
|
||||
import type { ProxyAnnouncement, ProxyDefinition } from '@polkadot/types/interfaces/proxy';
|
||||
import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';
|
||||
import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, Hash, KeyTypeId, Moment, OpaqueCall, Perbill, Releases, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
||||
import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, Hash, KeyTypeId, Moment, OpaqueCall, Perbill, Releases, Slot, TransactionInfo, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
||||
import type { Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler';
|
||||
import type { Keys, SessionIndex } from '@polkadot/types/interfaces/session';
|
||||
import type { Bid, BidKind, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
|
||||
@@ -189,6 +189,10 @@ declare module '@polkadot/api/types/storage' {
|
||||
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
||||
**/
|
||||
locks: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Vec<BalanceLock>>, [AccountId]> & QueryableStorageEntry<ApiType, [AccountId]>;
|
||||
/**
|
||||
* Named reserves on some account balances.
|
||||
**/
|
||||
reserves: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Vec<ReserveData>>, [AccountId]> & QueryableStorageEntry<ApiType, [AccountId]>;
|
||||
/**
|
||||
* Storage version of the pallet.
|
||||
*
|
||||
@@ -1207,6 +1211,46 @@ declare module '@polkadot/api/types/storage' {
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
transactionStorage: {
|
||||
blockTransactions: AugmentedQuery<ApiType, () => Observable<Vec<TransactionInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Storage fee per byte.
|
||||
**/
|
||||
byteFee: AugmentedQuery<ApiType, () => Observable<Option<BalanceOf>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Count indexed chunks for each block.
|
||||
**/
|
||||
chunkCount: AugmentedQuery<ApiType, (arg: BlockNumber | AnyNumber | Uint8Array) => Observable<u32>, [BlockNumber]> & QueryableStorageEntry<ApiType, [BlockNumber]>;
|
||||
/**
|
||||
* Storage fee per transaction.
|
||||
**/
|
||||
entryFee: AugmentedQuery<ApiType, () => Observable<Option<BalanceOf>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Maximum number of indexed transactions in the block.
|
||||
**/
|
||||
maxBlockTransactions: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Maximum data set in a single transaction in bytes.
|
||||
**/
|
||||
maxTransactionSize: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Was the proof checked in this block?
|
||||
**/
|
||||
proofChecked: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Storage period for data in blocks. Should match `sp_storage_proof::DEFAULT_STORAGE_PERIOD`
|
||||
* for block authoring.
|
||||
**/
|
||||
storagePeriod: AugmentedQuery<ApiType, () => Observable<BlockNumber>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Collection of transaction metadata by block number.
|
||||
**/
|
||||
transactions: AugmentedQuery<ApiType, (arg: BlockNumber | AnyNumber | Uint8Array) => Observable<Option<Vec<TransactionInfo>>>, [BlockNumber]> & QueryableStorageEntry<ApiType, [BlockNumber]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
treasury: {
|
||||
/**
|
||||
* Proposal indices that have been approved but not yet awarded.
|
||||
|
||||
@@ -15,7 +15,7 @@ import type { GrandpaEquivocationProof, KeyOwnerProof } from '@polkadot/types/in
|
||||
import type { IdentityFields, IdentityInfo, IdentityJudgement, RegistrarIndex } from '@polkadot/types/interfaces/identity';
|
||||
import type { Heartbeat } from '@polkadot/types/interfaces/imOnline';
|
||||
import type { ProxyType } from '@polkadot/types/interfaces/proxy';
|
||||
import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, Call, CallHashOf, ChangesTrieConfiguration, Hash, Header, KeyValue, LookupSource, Moment, OpaqueCall, Perbill, Percent, Perquintill, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, Call, CallHashOf, ChangesTrieConfiguration, Hash, Header, KeyValue, LookupSource, Moment, OpaqueCall, Perbill, Percent, Perquintill, TransactionStorageProof, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { Period, Priority } from '@polkadot/types/interfaces/scheduler';
|
||||
import type { Keys } from '@polkadot/types/interfaces/session';
|
||||
import type { SocietyJudgement } from '@polkadot/types/interfaces/society';
|
||||
@@ -3837,6 +3837,41 @@ declare module '@polkadot/api/types/submittable' {
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
transactionStorage: {
|
||||
/**
|
||||
* Check storage proof for block number `block_number() - StoragePeriod`.
|
||||
* If such block does not exist the proof is expected to be `None`.
|
||||
* # <weight>
|
||||
* - Linear w.r.t the number of indexed transactions in the proved block for random probing.
|
||||
* There's a DB read for each transaction.
|
||||
* Here we assume a maximum of 100 probed transactions.
|
||||
* # </weight>
|
||||
**/
|
||||
checkProof: AugmentedSubmittable<(proof: TransactionStorageProof | { chunk?: any; proof?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [TransactionStorageProof]>;
|
||||
/**
|
||||
* Renew previously stored data. Parameters are the block number that contains
|
||||
* previous `store` or `renew` call and transaction index within that block.
|
||||
* Transaction index is emitted in the `Stored` or `Renewed` event.
|
||||
* Applies same fees as `store`.
|
||||
* # <weight>
|
||||
* - Constant.
|
||||
* # </weight>
|
||||
**/
|
||||
renew: AugmentedSubmittable<(block: BlockNumber | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [BlockNumber, u32]>;
|
||||
/**
|
||||
* Index and store data on chain. Minimum data size is 1 bytes, maximum is `MaxTransactionSize`.
|
||||
* Data will be removed after `STORAGE_PERIOD` blocks, unless `renew` is called.
|
||||
* # <weight>
|
||||
* - n*log(n) of data size, as all data is pushed to an in-memory trie.
|
||||
* Additionally contains a DB write.
|
||||
* # </weight>
|
||||
**/
|
||||
store: AugmentedSubmittable<(data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
treasury: {
|
||||
/**
|
||||
* Approve a proposal. At a later time, the proposal will be allocated to the beneficiary
|
||||
|
||||
@@ -1477,6 +1477,22 @@
|
||||
" NOTE: Should only be accessed when setting, changing and freeing a lock."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Reserves",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"map": {
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "Vec<ReserveData>",
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" Named reserves on some account balances."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
@@ -1765,6 +1781,12 @@
|
||||
"documentation": [
|
||||
" Beneficiary account must pre-exist"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TooManyReserves",
|
||||
"documentation": [
|
||||
" Number of named reserves exceed MaxReserves"
|
||||
]
|
||||
}
|
||||
],
|
||||
"index": 6
|
||||
@@ -4663,7 +4685,7 @@
|
||||
"type": "BlockNumber",
|
||||
"value": "0x80510100",
|
||||
"documentation": [
|
||||
" Minimum voting period allowed for an emergency referendum."
|
||||
" Minimum voting period allowed for a fast-track referendum."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -4687,7 +4709,10 @@
|
||||
"type": "u32",
|
||||
"value": "0x64000000",
|
||||
"documentation": [
|
||||
" The maximum number of votes for an account."
|
||||
" The maximum number of votes for an account.",
|
||||
"",
|
||||
" Also used to compute weight, an overly big value can",
|
||||
" lead to extrinsic with very big weight: see `delegate` for instance."
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -15512,6 +15537,290 @@
|
||||
}
|
||||
],
|
||||
"index": 38
|
||||
},
|
||||
{
|
||||
"name": "TransactionStorage",
|
||||
"storage": {
|
||||
"prefix": "TransactionStorage",
|
||||
"items": [
|
||||
{
|
||||
"name": "Transactions",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"map": {
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "BlockNumber",
|
||||
"value": "Vec<TransactionInfo>",
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" Collection of transaction metadata by block number."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ChunkCount",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"map": {
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "BlockNumber",
|
||||
"value": "u32",
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00000000",
|
||||
"documentation": [
|
||||
" Count indexed chunks for each block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ByteFee",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": "BalanceOf"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" Storage fee per byte."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "EntryFee",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": "BalanceOf"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" Storage fee per transaction."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxTransactionSize",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "u32"
|
||||
},
|
||||
"fallback": "0x00000000",
|
||||
"documentation": [
|
||||
" Maximum data set in a single transaction in bytes."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxBlockTransactions",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "u32"
|
||||
},
|
||||
"fallback": "0x00000000",
|
||||
"documentation": [
|
||||
" Maximum number of indexed transactions in the block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "StoragePeriod",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "BlockNumber"
|
||||
},
|
||||
"fallback": "0x00000000",
|
||||
"documentation": [
|
||||
" Storage period for data in blocks. Should match `sp_storage_proof::DEFAULT_STORAGE_PERIOD`",
|
||||
" for block authoring."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "BlockTransactions",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "Vec<TransactionInfo>"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": []
|
||||
},
|
||||
{
|
||||
"name": "ProofChecked",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "bool"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" Was the proof checked in this block?"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"calls": [
|
||||
{
|
||||
"name": "store",
|
||||
"args": [
|
||||
{
|
||||
"name": "data",
|
||||
"type": "Bytes"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
" Index and store data on chain. Minimum data size is 1 bytes, maximum is `MaxTransactionSize`.",
|
||||
" Data will be removed after `STORAGE_PERIOD` blocks, unless `renew` is called.",
|
||||
" # <weight>",
|
||||
" - n*log(n) of data size, as all data is pushed to an in-memory trie.",
|
||||
" Additionally contains a DB write.",
|
||||
" # </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "renew",
|
||||
"args": [
|
||||
{
|
||||
"name": "block",
|
||||
"type": "BlockNumber"
|
||||
},
|
||||
{
|
||||
"name": "index",
|
||||
"type": "u32"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
" Renew previously stored data. Parameters are the block number that contains",
|
||||
" previous `store` or `renew` call and transaction index within that block.",
|
||||
" Transaction index is emitted in the `Stored` or `Renewed` event.",
|
||||
" Applies same fees as `store`.",
|
||||
" # <weight>",
|
||||
" - Constant.",
|
||||
" # </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "check_proof",
|
||||
"args": [
|
||||
{
|
||||
"name": "proof",
|
||||
"type": "TransactionStorageProof"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
" Check storage proof for block number `block_number() - StoragePeriod`.",
|
||||
" If such block does not exist the proof is expected to be `None`.",
|
||||
" # <weight>",
|
||||
" - Linear w.r.t the number of indexed transactions in the proved block for random probing.",
|
||||
" There's a DB read for each transaction.",
|
||||
" Here we assume a maximum of 100 probed transactions.",
|
||||
" # </weight>"
|
||||
]
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"name": "Stored",
|
||||
"args": [
|
||||
"u32"
|
||||
],
|
||||
"documentation": [
|
||||
" Stored data under specified index."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Renewed",
|
||||
"args": [
|
||||
"u32"
|
||||
],
|
||||
"documentation": [
|
||||
" Renewed data under specified index."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProofChecked",
|
||||
"args": [],
|
||||
"documentation": [
|
||||
" Storage proof was successfully checked."
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [],
|
||||
"errors": [
|
||||
{
|
||||
"name": "InsufficientFunds",
|
||||
"documentation": [
|
||||
" Insufficient account balance."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "NotConfigured",
|
||||
"documentation": [
|
||||
" Invalid configuration."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "RenewedNotFound",
|
||||
"documentation": [
|
||||
" Renewed extrinsic is not found."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "EmptyTransaction",
|
||||
"documentation": [
|
||||
" Attempting to store empty transaction"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UnexpectedProof",
|
||||
"documentation": [
|
||||
" Proof was not expected in this block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "InvalidProof",
|
||||
"documentation": [
|
||||
" Proof failed verification."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MissingProof",
|
||||
"documentation": [
|
||||
" Missing storage proof."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MissingStateData",
|
||||
"documentation": [
|
||||
" Unable to verify proof becasue state data is missing."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DoubleCheck",
|
||||
"documentation": [
|
||||
" Double proof check in the block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProofNotChecked",
|
||||
"documentation": [
|
||||
" Storage proof was not checked in the block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TransactionTooLarge",
|
||||
"documentation": [
|
||||
" Transaction is too large."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TooManyTransactions",
|
||||
"documentation": [
|
||||
" Too many transactions in the block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "BadContext",
|
||||
"documentation": [
|
||||
" Attempted to call `store` outside of block execution."
|
||||
]
|
||||
}
|
||||
],
|
||||
"index": 39
|
||||
}
|
||||
],
|
||||
"extrinsic": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -8,7 +8,7 @@ import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
|
||||
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
|
||||
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, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
|
||||
import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
|
||||
import type { BeefyCommitment, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
||||
import type { BridgedBlockHash, BridgedBlockNumber, BridgedHeader, InitializationData } from '@polkadot/types/interfaces/bridges';
|
||||
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
||||
@@ -43,7 +43,7 @@ import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/ty
|
||||
import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
|
||||
import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';
|
||||
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
|
||||
import type { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionPriority, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
|
||||
import type { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
|
||||
import type { SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiVariant } from '@polkadot/types/interfaces/scaleInfo';
|
||||
import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler';
|
||||
import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';
|
||||
@@ -786,6 +786,8 @@ declare module '@polkadot/types/types/registry' {
|
||||
'Option<ReportedRoundStates>': Option<ReportedRoundStates>;
|
||||
'Option<Reporter>': Option<Reporter>;
|
||||
'Option<ReportIdOf>': Option<ReportIdOf>;
|
||||
'Option<ReserveData>': Option<ReserveData>;
|
||||
'Option<ReserveIdentifier>': Option<ReserveIdentifier>;
|
||||
'Option<Retriable>': Option<Retriable>;
|
||||
'Option<RewardDestination>': Option<RewardDestination>;
|
||||
'Option<RewardPoint>': Option<RewardPoint>;
|
||||
@@ -922,7 +924,9 @@ declare module '@polkadot/types/types/registry' {
|
||||
'Option<TombstoneContractInfo>': Option<TombstoneContractInfo>;
|
||||
'Option<TraceBlockResponse>': Option<TraceBlockResponse>;
|
||||
'Option<TraceError>': Option<TraceError>;
|
||||
'Option<TransactionInfo>': Option<TransactionInfo>;
|
||||
'Option<TransactionPriority>': Option<TransactionPriority>;
|
||||
'Option<TransactionStorageProof>': Option<TransactionStorageProof>;
|
||||
'Option<TransactionValidityError>': Option<TransactionValidityError>;
|
||||
'Option<TransientValidationData>': Option<TransientValidationData>;
|
||||
'Option<TreasuryProposal>': Option<TreasuryProposal>;
|
||||
@@ -1655,6 +1659,8 @@ declare module '@polkadot/types/types/registry' {
|
||||
'Vec<ReportedRoundStates>': Vec<ReportedRoundStates>;
|
||||
'Vec<Reporter>': Vec<Reporter>;
|
||||
'Vec<ReportIdOf>': Vec<ReportIdOf>;
|
||||
'Vec<ReserveData>': Vec<ReserveData>;
|
||||
'Vec<ReserveIdentifier>': Vec<ReserveIdentifier>;
|
||||
'Vec<Retriable>': Vec<Retriable>;
|
||||
'Vec<RewardDestination>': Vec<RewardDestination>;
|
||||
'Vec<RewardPoint>': Vec<RewardPoint>;
|
||||
@@ -1791,7 +1797,9 @@ declare module '@polkadot/types/types/registry' {
|
||||
'Vec<TombstoneContractInfo>': Vec<TombstoneContractInfo>;
|
||||
'Vec<TraceBlockResponse>': Vec<TraceBlockResponse>;
|
||||
'Vec<TraceError>': Vec<TraceError>;
|
||||
'Vec<TransactionInfo>': Vec<TransactionInfo>;
|
||||
'Vec<TransactionPriority>': Vec<TransactionPriority>;
|
||||
'Vec<TransactionStorageProof>': Vec<TransactionStorageProof>;
|
||||
'Vec<TransactionValidityError>': Vec<TransactionValidityError>;
|
||||
'Vec<TransientValidationData>': Vec<TransientValidationData>;
|
||||
'Vec<TreasuryProposal>': Vec<TreasuryProposal>;
|
||||
@@ -2524,6 +2532,8 @@ declare module '@polkadot/types/types/registry' {
|
||||
ReportedRoundStates: ReportedRoundStates;
|
||||
Reporter: Reporter;
|
||||
ReportIdOf: ReportIdOf;
|
||||
ReserveData: ReserveData;
|
||||
ReserveIdentifier: ReserveIdentifier;
|
||||
Retriable: Retriable;
|
||||
RewardDestination: RewardDestination;
|
||||
RewardPoint: RewardPoint;
|
||||
@@ -2660,7 +2670,9 @@ declare module '@polkadot/types/types/registry' {
|
||||
TombstoneContractInfo: TombstoneContractInfo;
|
||||
TraceBlockResponse: TraceBlockResponse;
|
||||
TraceError: TraceError;
|
||||
TransactionInfo: TransactionInfo;
|
||||
TransactionPriority: TransactionPriority;
|
||||
TransactionStorageProof: TransactionStorageProof;
|
||||
TransactionValidityError: TransactionValidityError;
|
||||
TransientValidationData: TransientValidationData;
|
||||
TreasuryProposal: TreasuryProposal;
|
||||
|
||||
@@ -32,6 +32,11 @@ export default {
|
||||
Reasons: {
|
||||
_enum: ['Fee', 'Misc', 'All']
|
||||
},
|
||||
ReserveData: {
|
||||
id: 'ReserveIdentifier',
|
||||
amount: 'Balance'
|
||||
},
|
||||
ReserveIdentifier: '[u8; 8]',
|
||||
VestingSchedule: {
|
||||
offset: 'Balance',
|
||||
perBlock: 'Balance',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { Enum, Set, Struct } from '@polkadot/types';
|
||||
import type { Enum, Set, Struct, U8aFixed } from '@polkadot/types';
|
||||
import type { Balance, BlockNumber, LockIdentifier } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
/** @name AccountData */
|
||||
@@ -40,6 +40,15 @@ export interface Reasons extends Enum {
|
||||
readonly isAll: boolean;
|
||||
}
|
||||
|
||||
/** @name ReserveData */
|
||||
export interface ReserveData extends Struct {
|
||||
readonly id: ReserveIdentifier;
|
||||
readonly amount: Balance;
|
||||
}
|
||||
|
||||
/** @name ReserveIdentifier */
|
||||
export interface ReserveIdentifier extends U8aFixed {}
|
||||
|
||||
/** @name VestingSchedule */
|
||||
export interface VestingSchedule extends Struct {
|
||||
readonly offset: Balance;
|
||||
|
||||
@@ -151,6 +151,19 @@ export default {
|
||||
trieNodes: 'Vec<Bytes>'
|
||||
},
|
||||
TransactionPriority: 'u64',
|
||||
TransactionInfo: {
|
||||
_alias: {
|
||||
dataSize: 'size'
|
||||
},
|
||||
chunkRoot: 'H256',
|
||||
contentHash: 'H256',
|
||||
dataSize: 'u32',
|
||||
blockChunks: 'u32'
|
||||
},
|
||||
TransactionStorageProof: {
|
||||
chunk: 'Vec<u8>',
|
||||
proof: 'Vec<Vec<u8>>'
|
||||
},
|
||||
ValidatorId: 'AccountId',
|
||||
ValidatorIdOf: 'ValidatorId',
|
||||
Weight: 'u64',
|
||||
|
||||
@@ -314,9 +314,23 @@ export interface StorageProof extends Struct {
|
||||
readonly trieNodes: Vec<Bytes>;
|
||||
}
|
||||
|
||||
/** @name TransactionInfo */
|
||||
export interface TransactionInfo extends Struct {
|
||||
readonly chunkRoot: H256;
|
||||
readonly contentHash: H256;
|
||||
readonly dataSize: u32;
|
||||
readonly blockChunks: u32;
|
||||
}
|
||||
|
||||
/** @name TransactionPriority */
|
||||
export interface TransactionPriority extends u64 {}
|
||||
|
||||
/** @name TransactionStorageProof */
|
||||
export interface TransactionStorageProof extends Struct {
|
||||
readonly chunk: Bytes;
|
||||
readonly proof: Vec<Bytes>;
|
||||
}
|
||||
|
||||
/** @name U32F32 */
|
||||
export interface U32F32 extends UInt {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user