Remove custom toString() from metadata storage (#1597)

* Convert asType -> asPlain, isPlainType -> isPlain

* Make tests pass

* Move unwrapStorageType to StorageKey
This commit is contained in:
Jaco Greeff
2019-11-22 10:47:21 +01:00
committed by GitHub
parent ea2c320f33
commit 3b758a0d64
27 changed files with 1142 additions and 3585 deletions
@@ -27,7 +27,7 @@
"name": "ExtrinsicCount",
"modifier": 0,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00",
"documentation": [
@@ -38,7 +38,7 @@
"name": "AllExtrinsicsWeight",
"modifier": 0,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00",
"documentation": [
@@ -81,7 +81,7 @@
"name": "RandomMaterial",
"modifier": 1,
"type": {
"Type": "(i8,Vec<Hash>)"
"Plain": "(i8,Vec<Hash>)"
},
"fallback": "0x0000",
"documentation": [
@@ -93,7 +93,7 @@
"name": "Number",
"modifier": 1,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -104,7 +104,7 @@
"name": "ParentHash",
"modifier": 1,
"type": {
"Type": "Hash"
"Plain": "Hash"
},
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
"documentation": [
@@ -115,7 +115,7 @@
"name": "ExtrinsicsRoot",
"modifier": 1,
"type": {
"Type": "Hash"
"Plain": "Hash"
},
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
"documentation": [
@@ -126,7 +126,7 @@
"name": "Digest",
"modifier": 1,
"type": {
"Type": "DigestOf"
"Plain": "DigestOf"
},
"fallback": "0x00",
"documentation": [
@@ -137,7 +137,7 @@
"name": "Events",
"modifier": 1,
"type": {
"Type": "Vec<EventRecord>"
"Plain": "Vec<EventRecord>"
},
"fallback": "0x00",
"documentation": [
@@ -148,7 +148,7 @@
"name": "EventCount",
"modifier": 1,
"type": {
"Type": "EventIndex"
"Plain": "EventIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -281,7 +281,7 @@
"name": "Now",
"modifier": 1,
"type": {
"Type": "Moment"
"Plain": "Moment"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -292,7 +292,7 @@
"name": "DidUpdate",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -345,7 +345,7 @@
"name": "Uncles",
"modifier": 1,
"type": {
"Type": "Vec<UncleEntryItem>"
"Plain": "Vec<UncleEntryItem>"
},
"fallback": "0x00",
"documentation": [
@@ -356,7 +356,7 @@
"name": "Author",
"modifier": 0,
"type": {
"Type": "AccountId"
"Plain": "AccountId"
},
"fallback": "0x00",
"documentation": [
@@ -367,7 +367,7 @@
"name": "DidSetUncles",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -400,7 +400,7 @@
"name": "NextEnumSet",
"modifier": 1,
"type": {
"Type": "AccountIndex"
"Plain": "AccountIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -450,7 +450,7 @@
"name": "TotalIssuance",
"modifier": 1,
"type": {
"Type": "Balance"
"Plain": "Balance"
},
"fallback": "0x00000000000000000000000000000000",
"documentation": [
@@ -698,7 +698,7 @@
"name": "ValidatorCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -709,7 +709,7 @@
"name": "MinimumValidatorCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x04000000",
"documentation": [
@@ -720,7 +720,7 @@
"name": "SessionReward",
"modifier": 1,
"type": {
"Type": "Perbill"
"Plain": "Perbill"
},
"fallback": "0x3c000000",
"documentation": [
@@ -731,7 +731,7 @@
"name": "OfflineSlash",
"modifier": 1,
"type": {
"Type": "Perbill"
"Plain": "Perbill"
},
"fallback": "0x40420f00",
"documentation": [
@@ -742,7 +742,7 @@
"name": "OfflineSlashGrace",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -753,7 +753,7 @@
"name": "Invulnerables",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -865,7 +865,7 @@
"name": "CurrentElected",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -876,7 +876,7 @@
"name": "CurrentEra",
"modifier": 1,
"type": {
"Type": "EraIndex"
"Plain": "EraIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -887,7 +887,7 @@
"name": "CurrentSessionReward",
"modifier": 1,
"type": {
"Type": "BalanceOf"
"Plain": "BalanceOf"
},
"fallback": "0x00000000000000000000000000000000",
"documentation": [
@@ -898,7 +898,7 @@
"name": "CurrentEraReward",
"modifier": 1,
"type": {
"Type": "BalanceOf"
"Plain": "BalanceOf"
},
"fallback": "0x00000000000000000000000000000000",
"documentation": [
@@ -910,7 +910,7 @@
"name": "SlotStake",
"modifier": 1,
"type": {
"Type": "BalanceOf"
"Plain": "BalanceOf"
},
"fallback": "0x00000000000000000000000000000000",
"documentation": [
@@ -940,7 +940,7 @@
"name": "RecentlyOffline",
"modifier": 1,
"type": {
"Type": "Vec<(AccountId,BlockNumber,u32)>"
"Plain": "Vec<(AccountId,BlockNumber,u32)>"
},
"fallback": "0x00",
"documentation": [
@@ -952,7 +952,7 @@
"name": "ForceNewEra",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -963,7 +963,7 @@
"name": "BondedEras",
"modifier": 1,
"type": {
"Type": "Vec<(EraIndex,SessionIndex)>"
"Plain": "Vec<(EraIndex,SessionIndex)>"
},
"fallback": "0x00",
"documentation": [
@@ -1302,7 +1302,7 @@
"name": "Validators",
"modifier": 1,
"type": {
"Type": "Vec<ValidatorId>"
"Plain": "Vec<ValidatorId>"
},
"fallback": "0x00",
"documentation": [
@@ -1313,7 +1313,7 @@
"name": "CurrentIndex",
"modifier": 1,
"type": {
"Type": "SessionIndex"
"Plain": "SessionIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -1324,7 +1324,7 @@
"name": "Changed",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -1335,7 +1335,7 @@
"name": "QueuedChanged",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -1346,7 +1346,7 @@
"name": "QueuedKeys",
"modifier": 1,
"type": {
"Type": "Vec<(ValidatorId,Keys)>"
"Plain": "Vec<(ValidatorId,Keys)>"
},
"fallback": "0x00",
"documentation": [
@@ -1404,7 +1404,7 @@
"name": "PublicPropCount",
"modifier": 1,
"type": {
"Type": "PropIndex"
"Plain": "PropIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -1415,7 +1415,7 @@
"name": "PublicProps",
"modifier": 1,
"type": {
"Type": "Vec<(PropIndex,Proposal,AccountId)>"
"Plain": "Vec<(PropIndex,Proposal,AccountId)>"
},
"fallback": "0x00",
"documentation": [
@@ -1442,7 +1442,7 @@
"name": "ReferendumCount",
"modifier": 1,
"type": {
"Type": "ReferendumIndex"
"Plain": "ReferendumIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -1453,7 +1453,7 @@
"name": "NextTally",
"modifier": 1,
"type": {
"Type": "ReferendumIndex"
"Plain": "ReferendumIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -1564,7 +1564,7 @@
"name": "LastTabledWasExternal",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -1576,7 +1576,7 @@
"name": "NextExternal",
"modifier": 0,
"type": {
"Type": "(Proposal,VoteThreshold)"
"Plain": "(Proposal,VoteThreshold)"
},
"fallback": "0x00",
"documentation": [
@@ -2065,7 +2065,7 @@
"name": "Proposals",
"modifier": 1,
"type": {
"Type": "Vec<Hash>"
"Plain": "Vec<Hash>"
},
"fallback": "0x00",
"documentation": [
@@ -2108,7 +2108,7 @@
"name": "ProposalCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -2119,7 +2119,7 @@
"name": "Members",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -2286,7 +2286,7 @@
"name": "Proposals",
"modifier": 1,
"type": {
"Type": "Vec<Hash>"
"Plain": "Vec<Hash>"
},
"fallback": "0x00",
"documentation": [
@@ -2329,7 +2329,7 @@
"name": "ProposalCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -2340,7 +2340,7 @@
"name": "Members",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -2507,7 +2507,7 @@
"name": "PresentationDuration",
"modifier": 1,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -2518,7 +2518,7 @@
"name": "TermDuration",
"modifier": 1,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -2529,7 +2529,7 @@
"name": "DesiredSeats",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -2540,7 +2540,7 @@
"name": "Members",
"modifier": 1,
"type": {
"Type": "Vec<(AccountId,BlockNumber)>"
"Plain": "Vec<(AccountId,BlockNumber)>"
},
"fallback": "0x00",
"documentation": [
@@ -2554,7 +2554,7 @@
"name": "VoteCount",
"modifier": 1,
"type": {
"Type": "VoteIndex"
"Plain": "VoteIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -2634,7 +2634,7 @@
"name": "NextVoterSet",
"modifier": 1,
"type": {
"Type": "SetIndex"
"Plain": "SetIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -2645,7 +2645,7 @@
"name": "VoterCount",
"modifier": 1,
"type": {
"Type": "SetIndex"
"Plain": "SetIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -2656,7 +2656,7 @@
"name": "Candidates",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -2667,7 +2667,7 @@
"name": "CandidateCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -2678,7 +2678,7 @@
"name": "NextFinalize",
"modifier": 0,
"type": {
"Type": "(BlockNumber,u32,Vec<AccountId>)"
"Plain": "(BlockNumber,u32,Vec<AccountId>)"
},
"fallback": "0x00",
"documentation": [
@@ -2689,7 +2689,7 @@
"name": "Leaderboard",
"modifier": 0,
"type": {
"Type": "Vec<(BalanceOf,AccountId)>"
"Plain": "Vec<(BalanceOf,AccountId)>"
},
"fallback": "0x00",
"documentation": [
@@ -3112,7 +3112,7 @@
"name": "Authorities",
"modifier": 1,
"type": {
"Type": "Vec<(AuthorityId,AuthorityWeight)>"
"Plain": "Vec<(AuthorityId,AuthorityWeight)>"
},
"fallback": "0x00",
"documentation": [
@@ -3123,7 +3123,7 @@
"name": "PendingChange",
"modifier": 0,
"type": {
"Type": "StoredPendingChange"
"Plain": "StoredPendingChange"
},
"fallback": "0x00",
"documentation": [
@@ -3134,7 +3134,7 @@
"name": "NextForced",
"modifier": 0,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x00",
"documentation": [
@@ -3145,7 +3145,7 @@
"name": "Stalled",
"modifier": 0,
"type": {
"Type": "(BlockNumber,BlockNumber)"
"Plain": "(BlockNumber,BlockNumber)"
},
"fallback": "0x00",
"documentation": [
@@ -3188,7 +3188,7 @@
"name": "ShufflePeriod",
"modifier": 1,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -3223,7 +3223,7 @@
"name": "ProposalCount",
"modifier": 1,
"type": {
"Type": "ProposalIndex"
"Plain": "ProposalIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -3250,7 +3250,7 @@
"name": "Approvals",
"modifier": 1,
"type": {
"Type": "Vec<ProposalIndex>"
"Plain": "Vec<ProposalIndex>"
},
"fallback": "0x00",
"documentation": [
@@ -3414,7 +3414,7 @@
"name": "Parachains",
"modifier": 1,
"type": {
"Type": "Vec<ParaId>"
"Plain": "Vec<ParaId>"
},
"fallback": "0x00",
"documentation": []
@@ -3518,7 +3518,7 @@
"name": "DidUpdate",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": []
@@ -3527,7 +3527,7 @@
"name": "NextFreeId",
"modifier": 1,
"type": {
"Type": "ParaId"
"Plain": "ParaId"
},
"fallback": "0x00000000",
"documentation": [
@@ -3593,7 +3593,7 @@
"name": "AuctionCounter",
"modifier": 1,
"type": {
"Type": "AuctionIndex"
"Plain": "AuctionIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -3604,7 +3604,7 @@
"name": "ManagedIds",
"modifier": 1,
"type": {
"Type": "Vec<ParaIdOf>"
"Plain": "Vec<ParaIdOf>"
},
"fallback": "0x00",
"documentation": [
@@ -3644,7 +3644,7 @@
"name": "AuctionInfo",
"modifier": 0,
"type": {
"Type": "(LeasePeriodOf,BlockNumber)"
"Plain": "(LeasePeriodOf,BlockNumber)"
},
"fallback": "0x00",
"documentation": [
@@ -4008,7 +4008,7 @@
"name": "Key",
"modifier": 1,
"type": {
"Type": "AccountId"
"Plain": "AccountId"
},
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
"documentation": [
@@ -27,7 +27,7 @@
"name": "ExtrinsicCount",
"modifier": 0,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00",
"documentation": [
@@ -38,7 +38,7 @@
"name": "AllExtrinsicsWeight",
"modifier": 0,
"type": {
"Type": "Weight"
"Plain": "Weight"
},
"fallback": "0x00",
"documentation": [
@@ -49,7 +49,7 @@
"name": "AllExtrinsicsLen",
"modifier": 0,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00",
"documentation": [
@@ -60,7 +60,7 @@
"name": "NextWeightMultiplier",
"modifier": 1,
"type": {
"Type": "WeightMultiplier"
"Plain": "WeightMultiplier"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -104,7 +104,7 @@
"name": "RandomMaterial",
"modifier": 1,
"type": {
"Type": "(i8,Vec<Hash>)"
"Plain": "(i8,Vec<Hash>)"
},
"fallback": "0x0000",
"documentation": [
@@ -116,7 +116,7 @@
"name": "Number",
"modifier": 1,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -127,7 +127,7 @@
"name": "ParentHash",
"modifier": 1,
"type": {
"Type": "Hash"
"Plain": "Hash"
},
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
"documentation": [
@@ -138,7 +138,7 @@
"name": "ExtrinsicsRoot",
"modifier": 1,
"type": {
"Type": "Hash"
"Plain": "Hash"
},
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
"documentation": [
@@ -149,7 +149,7 @@
"name": "Digest",
"modifier": 1,
"type": {
"Type": "DigestOf"
"Plain": "DigestOf"
},
"fallback": "0x00",
"documentation": [
@@ -160,7 +160,7 @@
"name": "Events",
"modifier": 1,
"type": {
"Type": "Vec<EventRecord>"
"Plain": "Vec<EventRecord>"
},
"fallback": "0x00",
"documentation": [
@@ -171,7 +171,7 @@
"name": "EventCount",
"modifier": 1,
"type": {
"Type": "EventIndex"
"Plain": "EventIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -296,7 +296,7 @@
"name": "LastTimestamp",
"modifier": 1,
"type": {
"Type": "Moment"
"Plain": "Moment"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -307,7 +307,7 @@
"name": "Authorities",
"modifier": 1,
"type": {
"Type": "Vec<AuthorityId>"
"Plain": "Vec<AuthorityId>"
},
"fallback": "0x00",
"documentation": [
@@ -327,7 +327,7 @@
"name": "Now",
"modifier": 1,
"type": {
"Type": "Moment"
"Plain": "Moment"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -338,7 +338,7 @@
"name": "DidUpdate",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -391,7 +391,7 @@
"name": "Uncles",
"modifier": 1,
"type": {
"Type": "Vec<UncleEntryItem>"
"Plain": "Vec<UncleEntryItem>"
},
"fallback": "0x00",
"documentation": [
@@ -402,7 +402,7 @@
"name": "Author",
"modifier": 0,
"type": {
"Type": "AccountId"
"Plain": "AccountId"
},
"fallback": "0x00",
"documentation": [
@@ -413,7 +413,7 @@
"name": "DidSetUncles",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -446,7 +446,7 @@
"name": "NextEnumSet",
"modifier": 1,
"type": {
"Type": "AccountIndex"
"Plain": "AccountIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -496,7 +496,7 @@
"name": "TotalIssuance",
"modifier": 1,
"type": {
"Type": "Balance"
"Plain": "Balance"
},
"fallback": "0x00000000000000000000000000000000",
"documentation": [
@@ -744,7 +744,7 @@
"name": "ValidatorCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -755,7 +755,7 @@
"name": "MinimumValidatorCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x04000000",
"documentation": [
@@ -766,7 +766,7 @@
"name": "SessionReward",
"modifier": 1,
"type": {
"Type": "Perbill"
"Plain": "Perbill"
},
"fallback": "0x3c000000",
"documentation": [
@@ -777,7 +777,7 @@
"name": "OfflineSlash",
"modifier": 1,
"type": {
"Type": "Perbill"
"Plain": "Perbill"
},
"fallback": "0x40420f00",
"documentation": [
@@ -788,7 +788,7 @@
"name": "OfflineSlashGrace",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -799,7 +799,7 @@
"name": "Invulnerables",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -911,7 +911,7 @@
"name": "CurrentElected",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -922,7 +922,7 @@
"name": "CurrentEra",
"modifier": 1,
"type": {
"Type": "EraIndex"
"Plain": "EraIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -933,7 +933,7 @@
"name": "CurrentSessionReward",
"modifier": 1,
"type": {
"Type": "BalanceOf"
"Plain": "BalanceOf"
},
"fallback": "0x00000000000000000000000000000000",
"documentation": [
@@ -944,7 +944,7 @@
"name": "CurrentEraReward",
"modifier": 1,
"type": {
"Type": "BalanceOf"
"Plain": "BalanceOf"
},
"fallback": "0x00000000000000000000000000000000",
"documentation": [
@@ -956,7 +956,7 @@
"name": "SlotStake",
"modifier": 1,
"type": {
"Type": "BalanceOf"
"Plain": "BalanceOf"
},
"fallback": "0x00000000000000000000000000000000",
"documentation": [
@@ -986,7 +986,7 @@
"name": "RecentlyOffline",
"modifier": 1,
"type": {
"Type": "Vec<(AccountId,BlockNumber,u32)>"
"Plain": "Vec<(AccountId,BlockNumber,u32)>"
},
"fallback": "0x00",
"documentation": [
@@ -998,7 +998,7 @@
"name": "ForceNewEra",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -1009,7 +1009,7 @@
"name": "BondedEras",
"modifier": 1,
"type": {
"Type": "Vec<(EraIndex,SessionIndex)>"
"Plain": "Vec<(EraIndex,SessionIndex)>"
},
"fallback": "0x00",
"documentation": [
@@ -1348,7 +1348,7 @@
"name": "Validators",
"modifier": 1,
"type": {
"Type": "Vec<ValidatorId>"
"Plain": "Vec<ValidatorId>"
},
"fallback": "0x00",
"documentation": [
@@ -1359,7 +1359,7 @@
"name": "CurrentIndex",
"modifier": 1,
"type": {
"Type": "SessionIndex"
"Plain": "SessionIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -1370,7 +1370,7 @@
"name": "Changed",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -1381,7 +1381,7 @@
"name": "QueuedChanged",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -1392,7 +1392,7 @@
"name": "QueuedKeys",
"modifier": 1,
"type": {
"Type": "Vec<(ValidatorId,Keys)>"
"Plain": "Vec<(ValidatorId,Keys)>"
},
"fallback": "0x00",
"documentation": [
@@ -1500,7 +1500,7 @@
"name": "PublicPropCount",
"modifier": 1,
"type": {
"Type": "PropIndex"
"Plain": "PropIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -1511,7 +1511,7 @@
"name": "PublicProps",
"modifier": 1,
"type": {
"Type": "Vec<(PropIndex,Proposal,AccountId)>"
"Plain": "Vec<(PropIndex,Proposal,AccountId)>"
},
"fallback": "0x00",
"documentation": [
@@ -1538,7 +1538,7 @@
"name": "ReferendumCount",
"modifier": 1,
"type": {
"Type": "ReferendumIndex"
"Plain": "ReferendumIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -1549,7 +1549,7 @@
"name": "NextTally",
"modifier": 1,
"type": {
"Type": "ReferendumIndex"
"Plain": "ReferendumIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -1660,7 +1660,7 @@
"name": "LastTabledWasExternal",
"modifier": 1,
"type": {
"Type": "bool"
"Plain": "bool"
},
"fallback": "0x00",
"documentation": [
@@ -1672,7 +1672,7 @@
"name": "NextExternal",
"modifier": 0,
"type": {
"Type": "(Proposal,VoteThreshold)"
"Plain": "(Proposal,VoteThreshold)"
},
"fallback": "0x00",
"documentation": [
@@ -2161,7 +2161,7 @@
"name": "Proposals",
"modifier": 1,
"type": {
"Type": "Vec<Hash>"
"Plain": "Vec<Hash>"
},
"fallback": "0x00",
"documentation": [
@@ -2204,7 +2204,7 @@
"name": "ProposalCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -2215,7 +2215,7 @@
"name": "Members",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -2373,7 +2373,7 @@
"name": "Proposals",
"modifier": 1,
"type": {
"Type": "Vec<Hash>"
"Plain": "Vec<Hash>"
},
"fallback": "0x00",
"documentation": [
@@ -2416,7 +2416,7 @@
"name": "ProposalCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -2427,7 +2427,7 @@
"name": "Members",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -2585,7 +2585,7 @@
"name": "PresentationDuration",
"modifier": 1,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -2596,7 +2596,7 @@
"name": "TermDuration",
"modifier": 1,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -2607,7 +2607,7 @@
"name": "DesiredSeats",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -2618,7 +2618,7 @@
"name": "Members",
"modifier": 1,
"type": {
"Type": "Vec<(AccountId,BlockNumber)>"
"Plain": "Vec<(AccountId,BlockNumber)>"
},
"fallback": "0x00",
"documentation": [
@@ -2632,7 +2632,7 @@
"name": "VoteCount",
"modifier": 1,
"type": {
"Type": "VoteIndex"
"Plain": "VoteIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -2712,7 +2712,7 @@
"name": "NextVoterSet",
"modifier": 1,
"type": {
"Type": "SetIndex"
"Plain": "SetIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -2723,7 +2723,7 @@
"name": "VoterCount",
"modifier": 1,
"type": {
"Type": "SetIndex"
"Plain": "SetIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -2734,7 +2734,7 @@
"name": "Candidates",
"modifier": 1,
"type": {
"Type": "Vec<AccountId>"
"Plain": "Vec<AccountId>"
},
"fallback": "0x00",
"documentation": [
@@ -2745,7 +2745,7 @@
"name": "CandidateCount",
"modifier": 1,
"type": {
"Type": "u32"
"Plain": "u32"
},
"fallback": "0x00000000",
"documentation": [
@@ -2756,7 +2756,7 @@
"name": "NextFinalize",
"modifier": 0,
"type": {
"Type": "(BlockNumber,u32,Vec<AccountId>)"
"Plain": "(BlockNumber,u32,Vec<AccountId>)"
},
"fallback": "0x00",
"documentation": [
@@ -2767,7 +2767,7 @@
"name": "Leaderboard",
"modifier": 0,
"type": {
"Type": "Vec<(BalanceOf,AccountId)>"
"Plain": "Vec<(BalanceOf,AccountId)>"
},
"fallback": "0x00",
"documentation": [
@@ -3206,7 +3206,7 @@
"name": "Authorities",
"modifier": 1,
"type": {
"Type": "Vec<(AuthorityId,AuthorityWeight)>"
"Plain": "Vec<(AuthorityId,AuthorityWeight)>"
},
"fallback": "0x00",
"documentation": [
@@ -3217,7 +3217,7 @@
"name": "State",
"modifier": 1,
"type": {
"Type": "StoredState"
"Plain": "StoredState"
},
"fallback": "0x00",
"documentation": [
@@ -3228,7 +3228,7 @@
"name": "PendingChange",
"modifier": 0,
"type": {
"Type": "StoredPendingChange"
"Plain": "StoredPendingChange"
},
"fallback": "0x00",
"documentation": [
@@ -3239,7 +3239,7 @@
"name": "NextForced",
"modifier": 0,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x00",
"documentation": [
@@ -3250,7 +3250,7 @@
"name": "Stalled",
"modifier": 0,
"type": {
"Type": "(BlockNumber,BlockNumber)"
"Plain": "(BlockNumber,BlockNumber)"
},
"fallback": "0x00",
"documentation": [
@@ -3307,7 +3307,7 @@
"name": "ProposalCount",
"modifier": 1,
"type": {
"Type": "ProposalIndex"
"Plain": "ProposalIndex"
},
"fallback": "0x00000000",
"documentation": [
@@ -3334,7 +3334,7 @@
"name": "Approvals",
"modifier": 1,
"type": {
"Type": "Vec<ProposalIndex>"
"Plain": "Vec<ProposalIndex>"
},
"fallback": "0x00",
"documentation": [
@@ -3498,7 +3498,7 @@
"name": "GasSpent",
"modifier": 1,
"type": {
"Type": "Gas"
"Plain": "Gas"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -3509,7 +3509,7 @@
"name": "CurrentSchedule",
"modifier": 1,
"type": {
"Type": "Schedule"
"Plain": "Schedule"
},
"fallback": "0x0000000001000000000000000100000000000000010000000000000001000000000000000100000000000000010000000000000001000000000000008700000000000000af0000000000000001000000000000000100000000000000040000000000010010000000004000000020000000",
"documentation": [
@@ -3552,7 +3552,7 @@
"name": "AccountCounter",
"modifier": 1,
"type": {
"Type": "u64"
"Plain": "u64"
},
"fallback": "0x0000000000000000",
"documentation": [
@@ -3579,7 +3579,7 @@
"name": "GasPrice",
"modifier": 1,
"type": {
"Type": "BalanceOf"
"Plain": "BalanceOf"
},
"fallback": "0x01000000000000000000000000000000",
"documentation": [
@@ -3949,7 +3949,7 @@
"name": "Key",
"modifier": 1,
"type": {
"Type": "AccountId"
"Plain": "AccountId"
},
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
"documentation": [
@@ -4029,7 +4029,7 @@
"name": "GossipAt",
"modifier": 1,
"type": {
"Type": "BlockNumber"
"Plain": "BlockNumber"
},
"fallback": "0x0000000000000000",
"documentation": []
@@ -4038,7 +4038,7 @@
"name": "LastNewEraStart",
"modifier": 0,
"type": {
"Type": "SessionIndex"
"Plain": "SessionIndex"
},
"fallback": "0x00",
"documentation": []