Bump statis metadata (#5017)

This commit is contained in:
Jaco
2022-07-02 07:41:25 +03:00
committed by GitHub
parent 98506f9fea
commit 0282cbac35
16 changed files with 63 additions and 18 deletions
+3
View File
@@ -9,7 +9,10 @@ Contributed:
Changes:
- Support for `state_call` definitions via API config (exposed on `api.runtime.*`)
- Base type definitions for state APIs from Substrate, Polkadot & Orml
- Align runtime types with latest Substrate master
- Type generation for runtime call definitions
- Update to latest Substrate, Polkadot & Kusama metadata
## 8.10.1 Jun 26, 2022
@@ -497,6 +497,10 @@ declare module '@polkadot/api-base/types/errors' {
* these are removed, either through `unvote` or `reap_vote`.
**/
VotesExist: AugmentedError<ApiType>;
/**
* Voting period too low
**/
VotingPeriodLow: AugmentedError<ApiType>;
/**
* Invalid upper bound.
**/
+3 -2
View File
@@ -1139,8 +1139,9 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch of this call must be `FastTrackOrigin`.
*
* - `proposal_hash`: The hash of the current external proposal.
* - `voting_period`: The period that is allowed for voting on this proposal. Increased to
* `FastTrackVotingPeriod` if too low.
* - `voting_period`: The period that is allowed for voting on this proposal.
* Must be always greater than zero.
* For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.
* - `delay`: The number of block after voting has ended in approval and this should be
* enacted. This doesn't have a minimum amount.
*
@@ -497,6 +497,10 @@ declare module '@polkadot/api-base/types/errors' {
* these are removed, either through `unvote` or `reap_vote`.
**/
VotesExist: AugmentedError<ApiType>;
/**
* Voting period too low
**/
VotingPeriodLow: AugmentedError<ApiType>;
/**
* Invalid upper bound.
**/
+3 -2
View File
@@ -1139,8 +1139,9 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch of this call must be `FastTrackOrigin`.
*
* - `proposal_hash`: The hash of the current external proposal.
* - `voting_period`: The period that is allowed for voting on this proposal. Increased to
* `FastTrackVotingPeriod` if too low.
* - `voting_period`: The period that is allowed for voting on this proposal.
* Must be always greater than zero.
* For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.
* - `delay`: The number of block after voting has ended in approval and this should be
* enacted. This doesn't have a minimum amount.
*
@@ -733,6 +733,10 @@ declare module '@polkadot/api-base/types/errors' {
* these are removed, either through `unvote` or `reap_vote`.
**/
VotesExist: AugmentedError<ApiType>;
/**
* Voting period too low
**/
VotingPeriodLow: AugmentedError<ApiType>;
/**
* Invalid upper bound.
**/
+3 -2
View File
@@ -1655,8 +1655,9 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch of this call must be `FastTrackOrigin`.
*
* - `proposal_hash`: The hash of the current external proposal.
* - `voting_period`: The period that is allowed for voting on this proposal. Increased to
* `FastTrackVotingPeriod` if too low.
* - `voting_period`: The period that is allowed for voting on this proposal.
* Must be always greater than zero.
* For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.
* - `delay`: The number of block after voting has ended in approval and this should be
* enacted. This doesn't have a minimum amount.
*
-1
View File
@@ -4,7 +4,6 @@
// Simple non-runnable checks to test type definitions in the editor itself
import '@polkadot/api-augment';
import '@polkadot/api-augment/substrate/runtime';
import type { HeaderExtended } from '@polkadot/api-derive/types';
import type { StorageKey } from '@polkadot/types';
@@ -4216,7 +4216,7 @@ export default {
* Lookup458: pallet_democracy::pallet::Error<T>
**/
PalletDemocracyError: {
_enum: ['ValueLow', 'ProposalMissing', 'AlreadyCanceled', 'DuplicateProposal', 'ProposalBlacklisted', 'NotSimpleMajority', 'InvalidHash', 'NoProposal', 'AlreadyVetoed', 'DuplicatePreimage', 'NotImminent', 'TooEarly', 'Imminent', 'PreimageMissing', 'ReferendumInvalid', 'PreimageInvalid', 'NoneWaiting', 'NotVoter', 'NoPermission', 'AlreadyDelegating', 'InsufficientFunds', 'NotDelegating', 'VotesExist', 'InstantNotAllowed', 'Nonsense', 'WrongUpperBound', 'MaxVotesReached', 'TooManyProposals']
_enum: ['ValueLow', 'ProposalMissing', 'AlreadyCanceled', 'DuplicateProposal', 'ProposalBlacklisted', 'NotSimpleMajority', 'InvalidHash', 'NoProposal', 'AlreadyVetoed', 'DuplicatePreimage', 'NotImminent', 'TooEarly', 'Imminent', 'PreimageMissing', 'ReferendumInvalid', 'PreimageInvalid', 'NoneWaiting', 'NotVoter', 'NoPermission', 'AlreadyDelegating', 'InsufficientFunds', 'NotDelegating', 'VotesExist', 'InstantNotAllowed', 'Nonsense', 'WrongUpperBound', 'MaxVotesReached', 'TooManyProposals', 'VotingPeriodLow']
},
/**
* Lookup460: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
@@ -4564,7 +4564,8 @@ declare module '@polkadot/types/lookup' {
readonly isWrongUpperBound: boolean;
readonly isMaxVotesReached: boolean;
readonly isTooManyProposals: boolean;
readonly type: 'ValueLow' | 'ProposalMissing' | 'AlreadyCanceled' | 'DuplicateProposal' | 'ProposalBlacklisted' | 'NotSimpleMajority' | 'InvalidHash' | 'NoProposal' | 'AlreadyVetoed' | 'DuplicatePreimage' | 'NotImminent' | 'TooEarly' | 'Imminent' | 'PreimageMissing' | 'ReferendumInvalid' | 'PreimageInvalid' | 'NoneWaiting' | 'NotVoter' | 'NoPermission' | 'AlreadyDelegating' | 'InsufficientFunds' | 'NotDelegating' | 'VotesExist' | 'InstantNotAllowed' | 'Nonsense' | 'WrongUpperBound' | 'MaxVotesReached' | 'TooManyProposals';
readonly isVotingPeriodLow: boolean;
readonly type: 'ValueLow' | 'ProposalMissing' | 'AlreadyCanceled' | 'DuplicateProposal' | 'ProposalBlacklisted' | 'NotSimpleMajority' | 'InvalidHash' | 'NoProposal' | 'AlreadyVetoed' | 'DuplicatePreimage' | 'NotImminent' | 'TooEarly' | 'Imminent' | 'PreimageMissing' | 'ReferendumInvalid' | 'PreimageInvalid' | 'NoneWaiting' | 'NotVoter' | 'NoPermission' | 'AlreadyDelegating' | 'InsufficientFunds' | 'NotDelegating' | 'VotesExist' | 'InstantNotAllowed' | 'Nonsense' | 'WrongUpperBound' | 'MaxVotesReached' | 'TooManyProposals' | 'VotingPeriodLow';
}
/** @name PalletCollectiveVotes (460) */
File diff suppressed because one or more lines are too long
@@ -19573,8 +19573,9 @@
"The dispatch of this call must be `FastTrackOrigin`.",
"",
"- `proposal_hash`: The hash of the current external proposal.",
"- `voting_period`: The period that is allowed for voting on this proposal. Increased to",
" `FastTrackVotingPeriod` if too low.",
"- `voting_period`: The period that is allowed for voting on this proposal.",
"\tMust be always greater than zero.",
"\tFor `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.",
"- `delay`: The number of block after voting has ended in approval and this should be",
" enacted. This doesn't have a minimum amount.",
"",
@@ -20263,6 +20264,14 @@
"docs": [
"Maximum number of proposals reached."
]
},
{
"name": "VotingPeriodLow",
"fields": [],
"index": 28,
"docs": [
"Voting period too low"
]
}
]
}
File diff suppressed because one or more lines are too long
@@ -16353,8 +16353,9 @@
"The dispatch of this call must be `FastTrackOrigin`.",
"",
"- `proposal_hash`: The hash of the current external proposal.",
"- `voting_period`: The period that is allowed for voting on this proposal. Increased to",
" `FastTrackVotingPeriod` if too low.",
"- `voting_period`: The period that is allowed for voting on this proposal.",
"\tMust be always greater than zero.",
"\tFor `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.",
"- `delay`: The number of block after voting has ended in approval and this should be",
" enacted. This doesn't have a minimum amount.",
"",
@@ -33889,6 +33890,14 @@
"docs": [
"Maximum number of proposals reached."
]
},
{
"name": "VotingPeriodLow",
"fields": [],
"index": 28,
"docs": [
"Voting period too low"
]
}
]
}
File diff suppressed because one or more lines are too long
@@ -16070,8 +16070,9 @@
"The dispatch of this call must be `FastTrackOrigin`.",
"",
"- `proposal_hash`: The hash of the current external proposal.",
"- `voting_period`: The period that is allowed for voting on this proposal. Increased to",
" `FastTrackVotingPeriod` if too low.",
"- `voting_period`: The period that is allowed for voting on this proposal.",
"\tMust be always greater than zero.",
"\tFor `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.",
"- `delay`: The number of block after voting has ended in approval and this should be",
" enacted. This doesn't have a minimum amount.",
"",
@@ -32800,6 +32801,14 @@
"docs": [
"Maximum number of proposals reached."
]
},
{
"name": "VotingPeriodLow",
"fields": [],
"index": 28,
"docs": [
"Voting period too low"
]
}
]
}