Skip to content

Commit 877eb11

Browse files
authored
Swap releases type to shared enum (#2388)
* Swap releases type to u8 * Shared enum for releases * Update metadata for new names
1 parent 4b55f1b commit 877eb11

File tree

14 files changed

+40
-78
lines changed

14 files changed

+40
-78
lines changed

packages/api/src/augment/query.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ import { Option, U8aFixed, Vec } from '@polkadot/types/codec';
66
import { Bytes, Data, bool, u32, u64 } from '@polkadot/types/primitive';
77
import { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
88
import { BabeAuthorityWeight, MaybeRandomness, NextConfigDescriptor, Randomness } from '@polkadot/types/interfaces/babe';
9-
import { AccountData, BalanceLock, ReleasesBalances } from '@polkadot/types/interfaces/balances';
9+
import { AccountData, BalanceLock } from '@polkadot/types/interfaces/balances';
1010
import { ProposalIndex, Votes } from '@polkadot/types/interfaces/collective';
1111
import { AuthorityId } from '@polkadot/types/interfaces/consensus';
1212
import { CodeHash, ContractInfo, PrefabWasmModule, Schedule } from '@polkadot/types/interfaces/contracts';
13-
import { PreimageStatus, PropIndex, Proposal, ReferendumIndex, ReferendumInfo, ReleasesDemocracy, Voting } from '@polkadot/types/interfaces/democracy';
13+
import { PreimageStatus, PropIndex, Proposal, ReferendumIndex, ReferendumInfo, Voting } from '@polkadot/types/interfaces/democracy';
1414
import { VoteThreshold } from '@polkadot/types/interfaces/elections';
1515
import { SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';
1616
import { RegistrarInfo, Registration } from '@polkadot/types/interfaces/identity';
1717
import { AuthIndex } from '@polkadot/types/interfaces/imOnline';
1818
import { DeferredOffenceOf, Kind, OffenceDetails, OpaqueTimeSlot, ReportIdOf } from '@polkadot/types/interfaces/offences';
1919
import { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';
20-
import { AccountId, AccountIndex, Balance, BalanceOf, BlockNumber, ExtrinsicsWeight, Hash, KeyTypeId, Moment, Perbill, ProxyType, ValidatorId } from '@polkadot/types/interfaces/runtime';
20+
import { AccountId, AccountIndex, Balance, BalanceOf, BlockNumber, ExtrinsicsWeight, Hash, KeyTypeId, Moment, Perbill, ProxyType, Releases, ValidatorId } from '@polkadot/types/interfaces/runtime';
2121
import { Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler';
2222
import { Keys, SessionIndex } from '@polkadot/types/interfaces/session';
2323
import { Bid, BidKind, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
24-
import { ActiveEraInfo, ElectionResult, ElectionScore, ElectionStatus, EraIndex, EraRewardPoints, Exposure, Forcing, Nominations, ReleasesStaking, RewardDestination, SlashingSpans, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, ValidatorPrefs } from '@polkadot/types/interfaces/staking';
24+
import { ActiveEraInfo, ElectionResult, ElectionScore, ElectionStatus, EraIndex, EraRewardPoints, Exposure, Forcing, Nominations, RewardDestination, SlashingSpans, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, ValidatorPrefs } from '@polkadot/types/interfaces/staking';
2525
import { AccountInfo, DigestOf, EventIndex, EventRecord, LastRuntimeUpgradeInfo, Phase } from '@polkadot/types/interfaces/system';
2626
import { OpenTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
27-
import { Multiplier, PaymentReleases } from '@polkadot/types/interfaces/txpayment';
27+
import { Multiplier } from '@polkadot/types/interfaces/txpayment';
2828
import { Multisig } from '@polkadot/types/interfaces/utility';
2929
import { VestingInfo } from '@polkadot/types/interfaces/vesting';
3030
import { ApiTypes } from '@polkadot/api/types';
@@ -134,7 +134,7 @@ declare module '@polkadot/api/types/storage' {
134134
*
135135
* This is set to v2.0.0 for new networks.
136136
**/
137-
storageVersion: AugmentedQuery<ApiType, () => Observable<ReleasesBalances>> & QueryableStorageEntry<ApiType>;
137+
storageVersion: AugmentedQuery<ApiType, () => Observable<Releases>> & QueryableStorageEntry<ApiType>;
138138
/**
139139
* The total units issued in the system.
140140
**/
@@ -262,7 +262,7 @@ declare module '@polkadot/api/types/storage' {
262262
*
263263
* New networks start with last version.
264264
**/
265-
storageVersion: AugmentedQuery<ApiType, () => Observable<Option<ReleasesDemocracy>>> & QueryableStorageEntry<ApiType>;
265+
storageVersion: AugmentedQuery<ApiType, () => Observable<Option<Releases>>> & QueryableStorageEntry<ApiType>;
266266
/**
267267
* All votes for a particular voter. We store the balance for the number of votes that we
268268
* have recorded. The second item is the total amount of delegations, that will be added.
@@ -752,7 +752,7 @@ declare module '@polkadot/api/types/storage' {
752752
*
753753
* This is set to v3.0.0 for new networks.
754754
**/
755-
storageVersion: AugmentedQuery<ApiType, () => Observable<ReleasesStaking>> & QueryableStorageEntry<ApiType>;
755+
storageVersion: AugmentedQuery<ApiType, () => Observable<Releases>> & QueryableStorageEntry<ApiType>;
756756
/**
757757
* All unapplied slashes that are queued for later.
758758
**/
@@ -903,7 +903,7 @@ declare module '@polkadot/api/types/storage' {
903903
transactionPayment: {
904904
[index: string]: QueryableStorageEntry<ApiType>;
905905
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<Multiplier>> & QueryableStorageEntry<ApiType>;
906-
storageVersion: AugmentedQuery<ApiType, () => Observable<PaymentReleases>> & QueryableStorageEntry<ApiType>;
906+
storageVersion: AugmentedQuery<ApiType, () => Observable<Releases>> & QueryableStorageEntry<ApiType>;
907907
};
908908
treasury: {
909909
[index: string]: QueryableStorageEntry<ApiType>;

packages/metadata/src/Metadata/v11/static-substrate.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@
12851285
"name": "StorageVersion",
12861286
"modifier": "Default",
12871287
"type": {
1288-
"Plain": "ReleasesBalances"
1288+
"Plain": "Releases"
12891289
},
12901290
"fallback": "0x00",
12911291
"documentation": [
@@ -1595,7 +1595,7 @@
15951595
"name": "StorageVersion",
15961596
"modifier": "Default",
15971597
"type": {
1598-
"Plain": "PaymentReleases"
1598+
"Plain": "Releases"
15991599
},
16001600
"fallback": "0x00",
16011601
"documentation": []
@@ -2148,7 +2148,7 @@
21482148
"name": "StorageVersion",
21492149
"modifier": "Default",
21502150
"type": {
2151-
"Plain": "ReleasesStaking"
2151+
"Plain": "Releases"
21522152
},
21532153
"fallback": "0x03",
21542154
"documentation": [
@@ -3625,7 +3625,7 @@
36253625
"name": "StorageVersion",
36263626
"modifier": "Optional",
36273627
"type": {
3628-
"Plain": "ReleasesDemocracy"
3628+
"Plain": "Releases"
36293629
},
36303630
"fallback": "0x00",
36313631
"documentation": [

packages/types-known/src/modules.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const typesModules: Record<string, OverrideModuleType> = {
1010
EquivocationProof: 'BabeEquivocationProof'
1111
},
1212
balances: {
13-
Releases: 'ReleasesBalances',
1413
Status: 'BalanceStatus'
1514
},
1615
contract: { // old metadata & naming
@@ -20,9 +19,6 @@ const typesModules: Record<string, OverrideModuleType> = {
2019
contracts: {
2120
StorageKey: 'ContractStorageKey'
2221
},
23-
democracy: {
24-
Releases: 'ReleasesDemocracy'
25-
},
2622
grandpa: {
2723
Equivocation: 'GrandpaEquivocation',
2824
EquivocationProof: 'GrandpaEquivocationProof'
@@ -38,11 +34,7 @@ const typesModules: Record<string, OverrideModuleType> = {
3834
Vote: 'SocietyVote'
3935
},
4036
staking: {
41-
Compact: 'CompactAssignments',
42-
Releases: 'ReleasesStaking'
43-
},
44-
transactionPayment: {
45-
Releases: 'PaymentReleases'
37+
Compact: 'CompactAssignments'
4638
},
4739
treasury: {
4840
Proposal: 'TreasuryProposal'

packages/types/src/augment/registry.ts

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
88
import { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
99
import { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
1010
import { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, 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';
11-
import { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReleasesBalances, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
11+
import { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
1212
import { BlockHash } from '@polkadot/types/interfaces/chain';
1313
import { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
1414
import { EthereumAddress, StatementKind } from '@polkadot/types/interfaces/claims';
1515
import { MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
1616
import { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
1717
import { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultSuccess, ContractInfo, ContractStorageKey, Gas, PrefabWasmModule, PrefabWasmModuleReserved, Schedule, ScheduleTo212, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
18-
import { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, ReleasesDemocracy, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
18+
import { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
1919
import { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
2020
import { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
2121
import { Account, Log, Vicinity } from '@polkadot/types/interfaces/evm';
@@ -31,16 +31,16 @@ import { AbridgedCandidateReceipt, AttestedCandidate, AuctionIndex, Bidder, Cand
3131
import { RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
3232
import { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';
3333
import { RpcMethods } from '@polkadot/types/interfaces/rpc';
34-
import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, ExtrinsicsWeight, Fixed128, Fixed64, H160, H256, H512, Hash, Header, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, Origin, Pays, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, ProxyType, RuntimeDbWeight, Seal, SealV0, SignedBlock, StorageData, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
34+
import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, ExtrinsicsWeight, Fixed128, Fixed64, H160, H256, H512, Hash, Header, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, Origin, Pays, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, ProxyType, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, StorageData, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
3535
import { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler';
3636
import { FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, ValidatorCount } from '@polkadot/types/interfaces/session';
3737
import { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
38-
import { ActiveEraInfo, CompactAssignments, CompactScore, ElectionCompute, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, OffchainAccuracy, PerU16, PhragmenScore, Points, ReleasesStaking, RewardDestination, RewardPoint, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196 } from '@polkadot/types/interfaces/staking';
38+
import { ActiveEraInfo, CompactAssignments, CompactScore, ElectionCompute, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, OffchainAccuracy, PerU16, PhragmenScore, Points, RewardDestination, RewardPoint, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196 } from '@polkadot/types/interfaces/staking';
3939
import { ApiId, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, StorageChangeSet } from '@polkadot/types/interfaces/state';
4040
import { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
4141
import { AccountInfo, ApplyExtrinsicResult, ChainProperties, ChainType, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, EventRecordTo76, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, Phase, RefCount, TransactionValidityError, UnknownTransaction } from '@polkadot/types/interfaces/system';
4242
import { OpenTip, OpenTipFinder, OpenTipTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
43-
import { Multiplier, PaymentReleases } from '@polkadot/types/interfaces/txpayment';
43+
import { Multiplier } from '@polkadot/types/interfaces/txpayment';
4444
import { CallHash, Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
4545
import { VestingInfo } from '@polkadot/types/interfaces/vesting';
4646

@@ -256,6 +256,9 @@ declare module '@polkadot/types/types/registry' {
256256
ProxyType: ProxyType;
257257
'Option<ProxyType>': Option<ProxyType>;
258258
'Vec<ProxyType>': Vec<ProxyType>;
259+
Releases: Releases;
260+
'Option<Releases>': Option<Releases>;
261+
'Vec<Releases>': Vec<Releases>;
259262
RuntimeDbWeight: RuntimeDbWeight;
260263
'Option<RuntimeDbWeight>': Option<RuntimeDbWeight>;
261264
'Vec<RuntimeDbWeight>': Vec<RuntimeDbWeight>;
@@ -378,9 +381,6 @@ declare module '@polkadot/types/types/registry' {
378381
BalanceStatus: BalanceStatus;
379382
'Option<BalanceStatus>': Option<BalanceStatus>;
380383
'Vec<BalanceStatus>': Vec<BalanceStatus>;
381-
ReleasesBalances: ReleasesBalances;
382-
'Option<ReleasesBalances>': Option<ReleasesBalances>;
383-
'Vec<ReleasesBalances>': Vec<ReleasesBalances>;
384384
Reasons: Reasons;
385385
'Option<Reasons>': Option<Reasons>;
386386
'Vec<Reasons>': Vec<Reasons>;
@@ -506,9 +506,6 @@ declare module '@polkadot/types/types/registry' {
506506
ReferendumStatus: ReferendumStatus;
507507
'Option<ReferendumStatus>': Option<ReferendumStatus>;
508508
'Vec<ReferendumStatus>': Vec<ReferendumStatus>;
509-
ReleasesDemocracy: ReleasesDemocracy;
510-
'Option<ReleasesDemocracy>': Option<ReleasesDemocracy>;
511-
'Vec<ReleasesDemocracy>': Vec<ReleasesDemocracy>;
512509
Tally: Tally;
513510
'Option<Tally>': Option<Tally>;
514511
'Vec<Tally>': Vec<Tally>;
@@ -936,9 +933,6 @@ declare module '@polkadot/types/types/registry' {
936933
PhragmenScore: PhragmenScore;
937934
'Option<PhragmenScore>': Option<PhragmenScore>;
938935
'Vec<PhragmenScore>': Vec<PhragmenScore>;
939-
ReleasesStaking: ReleasesStaking;
940-
'Option<ReleasesStaking>': Option<ReleasesStaking>;
941-
'Vec<ReleasesStaking>': Vec<ReleasesStaking>;
942936
RewardDestination: RewardDestination;
943937
'Option<RewardDestination>': Option<RewardDestination>;
944938
'Vec<RewardDestination>': Vec<RewardDestination>;
@@ -1130,9 +1124,6 @@ declare module '@polkadot/types/types/registry' {
11301124
Multiplier: Multiplier;
11311125
'Option<Multiplier>': Option<Multiplier>;
11321126
'Vec<Multiplier>': Vec<Multiplier>;
1133-
PaymentReleases: PaymentReleases;
1134-
'Option<PaymentReleases>': Option<PaymentReleases>;
1135-
'Vec<PaymentReleases>': Vec<PaymentReleases>;
11361127
CallHash: CallHash;
11371128
'Option<CallHash>': Option<CallHash>;
11381129
'Vec<CallHash>': Vec<CallHash>;

packages/types/src/interfaces/balances/definitions.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ export default {
3030
BalanceStatus: {
3131
_enum: ['Free', 'Reserved']
3232
},
33-
ReleasesBalances: {
34-
_enum: ['V1_0_0', 'V2_0_0']
35-
},
3633
Reasons: {
3734
_enum: ['Fee', 'Misc', 'All']
3835
},

packages/types/src/interfaces/balances/types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ export interface Reasons extends Enum {
4040
readonly isAll: boolean;
4141
}
4242

43-
/** @name ReleasesBalances */
44-
export interface ReleasesBalances extends Enum {
45-
readonly isV100: boolean;
46-
readonly isV200: boolean;
47-
}
48-
4943
/** @name VestingSchedule */
5044
export interface VestingSchedule extends Struct {
5145
readonly offset: Balance;

packages/types/src/interfaces/democracy/definitions.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ export default {
9696
delay: 'BlockNumber',
9797
tally: 'Tally'
9898
},
99-
ReleasesDemocracy: {
100-
_enum: ['V1']
101-
},
10299
Tally: {
103100
ayes: 'Balance',
104101
nays: 'Balance',

packages/types/src/interfaces/democracy/types.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ export interface ReferendumStatus extends Struct {
112112
readonly tally: Tally;
113113
}
114114

115-
/** @name ReleasesDemocracy */
116-
export interface ReleasesDemocracy extends Enum {
117-
readonly isV1: boolean;
118-
}
119-
120115
/** @name Tally */
121116
export interface Tally extends Struct {
122117
readonly ayes: Balance;

packages/types/src/interfaces/runtime/definitions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ export default {
7878
ProxyType: {
7979
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking']
8080
},
81+
Releases: {
82+
_enum: ['V1', 'V2', 'V3', 'V4', 'V5', 'V6', 'V7', 'V8', 'V9', 'V10']
83+
},
8184
RuntimeDbWeight: {
8285
read: 'Weight',
8386
write: 'Weight'

packages/types/src/interfaces/runtime/types.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,20 @@ export interface ProxyType extends Enum {
171171
readonly isStaking: boolean;
172172
}
173173

174+
/** @name Releases */
175+
export interface Releases extends Enum {
176+
readonly isV1: boolean;
177+
readonly isV2: boolean;
178+
readonly isV3: boolean;
179+
readonly isV4: boolean;
180+
readonly isV5: boolean;
181+
readonly isV6: boolean;
182+
readonly isV7: boolean;
183+
readonly isV8: boolean;
184+
readonly isV9: boolean;
185+
readonly isV10: boolean;
186+
}
187+
174188
/** @name RuntimeDbWeight */
175189
export interface RuntimeDbWeight extends Struct {
176190
readonly read: Weight;

0 commit comments

Comments
 (0)