diff --git a/examples/examples/block_extrinsics.rs b/examples/examples/block_extrinsics.rs index 6db71b17d6..6d6d7d61fe 100644 --- a/examples/examples/block_extrinsics.rs +++ b/examples/examples/block_extrinsics.rs @@ -59,6 +59,7 @@ async fn main() -> Result<(), Box> { let block_hash = block.hash(); + println!(" Block {:?}", block_hash); println!(" Block {:?}", block_hash); // Ask for the extrinsics for this block. for extrinsic in block.body().await?.extrinsics() { @@ -69,9 +70,9 @@ async fn main() -> Result<(), Box> { Ok(decoded) => { if let Some((address, signature, extra)) = decoded.signature { println!(" Decoded Signature"); - println!(" Decoded Address: {:?}", address.to_value()); - println!(" Decoded Sign: {:?}", signature.to_value()); - println!(" Decoded Extra: {:?}", extra.to_value()); + println!(" Decoded Address: {:?}", address); + println!(" Decoded Sign: {:?}", signature); + println!(" Decoded Extra: {:?}", extra); }; let call = decoded.function; diff --git a/md.json b/md.json index 7da814c71c..d57fcd7eb4 100644 --- a/md.json +++ b/md.json @@ -30972,7 +30972,7 @@ "name": "SecondaryPlain", "fields": [ { - "type": 508, + "type": 507, "typeName": "SecondaryPlainPreDigest" } ], @@ -30982,7 +30982,7 @@ "name": "SecondaryVRF", "fields": [ { - "type": 509, + "type": 508, "typeName": "SecondaryVRFPreDigest" } ], @@ -31015,9 +31015,14 @@ "typeName": "Slot" }, { - "name": "vrf_signature", - "type": 507, - "typeName": "VrfSignature" + "name": "vrf_output", + "type": 1, + "typeName": "VRFOutput" + }, + { + "name": "vrf_proof", + "type": 126, + "typeName": "VRFProof" } ] } @@ -31026,33 +31031,6 @@ }, { "id": 507, - "type": { - "path": [ - "sp_core", - "sr25519", - "vrf", - "VrfSignature" - ], - "def": { - "composite": { - "fields": [ - { - "name": "output", - "type": 1, - "typeName": "VrfOutput" - }, - { - "name": "proof", - "type": 126, - "typeName": "VrfProof" - } - ] - } - } - } - }, - { - "id": 508, "type": { "path": [ "sp_consensus_babe", @@ -31078,7 +31056,7 @@ } }, { - "id": 509, + "id": 508, "type": { "path": [ "sp_consensus_babe", @@ -31099,9 +31077,14 @@ "typeName": "Slot" }, { - "name": "vrf_signature", - "type": 507, - "typeName": "VrfSignature" + "name": "vrf_output", + "type": 1, + "typeName": "VRFOutput" + }, + { + "name": "vrf_proof", + "type": 126, + "typeName": "VRFProof" } ] } @@ -31109,7 +31092,7 @@ } }, { - "id": 510, + "id": 509, "type": { "path": [ "sp_consensus_babe", @@ -31134,7 +31117,7 @@ } }, { - "id": 511, + "id": 510, "type": { "path": [ "bounded_collections", @@ -31144,7 +31127,7 @@ "params": [ { "name": "T", - "type": 512 + "type": 511 }, { "name": "S", @@ -31155,7 +31138,7 @@ "composite": { "fields": [ { - "type": 513, + "type": 512, "typeName": "Vec" } ] @@ -31164,7 +31147,7 @@ } }, { - "id": 512, + "id": 511, "type": { "def": { "tuple": [ @@ -31175,17 +31158,17 @@ } }, { - "id": 513, + "id": 512, "type": { "def": { "sequence": { - "type": 512 + "type": 511 } } } }, { - "id": 514, + "id": 513, "type": { "path": [ "pallet_babe", @@ -31238,7 +31221,7 @@ } }, { - "id": 515, + "id": 514, "type": { "def": { "tuple": [ @@ -31250,7 +31233,7 @@ } }, { - "id": 516, + "id": 515, "type": { "path": [ "pallet_indices", @@ -31310,7 +31293,7 @@ } }, { - "id": 517, + "id": 516, "type": { "path": [ "bounded_collections", @@ -31320,7 +31303,7 @@ "params": [ { "name": "T", - "type": 518 + "type": 517 }, { "name": "S", @@ -31331,7 +31314,7 @@ "composite": { "fields": [ { - "type": 520, + "type": 519, "typeName": "Vec" } ] @@ -31340,7 +31323,7 @@ } }, { - "id": 518, + "id": 517, "type": { "path": [ "pallet_balances", @@ -31368,7 +31351,7 @@ }, { "name": "reasons", - "type": 519, + "type": 518, "typeName": "Reasons" } ] @@ -31377,7 +31360,7 @@ } }, { - "id": 519, + "id": 518, "type": { "path": [ "pallet_balances", @@ -31405,17 +31388,17 @@ } }, { - "id": 520, + "id": 519, "type": { "def": { "sequence": { - "type": 518 + "type": 517 } } } }, { - "id": 521, + "id": 520, "type": { "path": [ "bounded_collections", @@ -31425,7 +31408,7 @@ "params": [ { "name": "T", - "type": 522 + "type": 521 }, { "name": "S", @@ -31436,7 +31419,7 @@ "composite": { "fields": [ { - "type": 523, + "type": 522, "typeName": "Vec" } ] @@ -31445,7 +31428,7 @@ } }, { - "id": 522, + "id": 521, "type": { "path": [ "pallet_balances", @@ -31481,17 +31464,17 @@ } }, { - "id": 523, + "id": 522, "type": { "def": { "sequence": { - "type": 522 + "type": 521 } } } }, { - "id": 524, + "id": 523, "type": { "path": [ "bounded_collections", @@ -31501,7 +31484,7 @@ "params": [ { "name": "T", - "type": 525 + "type": 524 }, { "name": "S", @@ -31512,7 +31495,7 @@ "composite": { "fields": [ { - "type": 526, + "type": 525, "typeName": "Vec" } ] @@ -31521,7 +31504,7 @@ } }, { - "id": 525, + "id": 524, "type": { "path": [ "pallet_balances", @@ -31557,17 +31540,17 @@ } }, { - "id": 526, + "id": 525, "type": { "def": { "sequence": { - "type": 525 + "type": 524 } } } }, { - "id": 527, + "id": 526, "type": { "path": [ "pallet_balances", @@ -31666,7 +31649,7 @@ } }, { - "id": 528, + "id": 527, "type": { "path": [ "sp_arithmetic", @@ -31686,7 +31669,7 @@ } }, { - "id": 529, + "id": 528, "type": { "path": [ "pallet_transaction_payment", @@ -31709,7 +31692,7 @@ } }, { - "id": 530, + "id": 529, "type": { "path": [ "pallet_staking", @@ -31741,12 +31724,12 @@ }, { "name": "unlocking", - "type": 531, + "type": 530, "typeName": "BoundedVec>, T::MaxUnlockingChunks>" }, { "name": "claimed_rewards", - "type": 534, + "type": 533, "typeName": "BoundedVec" } ] @@ -31755,7 +31738,7 @@ } }, { - "id": 531, + "id": 530, "type": { "path": [ "bounded_collections", @@ -31765,7 +31748,7 @@ "params": [ { "name": "T", - "type": 532 + "type": 531 }, { "name": "S", @@ -31776,7 +31759,7 @@ "composite": { "fields": [ { - "type": 533, + "type": 532, "typeName": "Vec" } ] @@ -31785,7 +31768,7 @@ } }, { - "id": 532, + "id": 531, "type": { "path": [ "pallet_staking", @@ -31816,17 +31799,17 @@ } }, { - "id": 533, + "id": 532, "type": { "def": { "sequence": { - "type": 532 + "type": 531 } } } }, { - "id": 534, + "id": 533, "type": { "path": [ "bounded_collections", @@ -31856,7 +31839,7 @@ } }, { - "id": 535, + "id": 534, "type": { "path": [ "pallet_staking", @@ -31873,7 +31856,7 @@ "fields": [ { "name": "targets", - "type": 536, + "type": 535, "typeName": "BoundedVec" }, { @@ -31892,7 +31875,7 @@ } }, { - "id": 536, + "id": 535, "type": { "path": [ "bounded_collections", @@ -31922,7 +31905,7 @@ } }, { - "id": 537, + "id": 536, "type": { "path": [ "pallet_staking", @@ -31938,7 +31921,7 @@ }, { "name": "start", - "type": 538, + "type": 537, "typeName": "Option" } ] @@ -31947,7 +31930,7 @@ } }, { - "id": 538, + "id": 537, "type": { "path": [ "Option" @@ -31980,7 +31963,7 @@ } }, { - "id": 539, + "id": 538, "type": { "def": { "tuple": [ @@ -31991,7 +31974,7 @@ } }, { - "id": 540, + "id": 539, "type": { "path": [ "pallet_staking", @@ -32013,7 +31996,7 @@ }, { "name": "individual", - "type": 541, + "type": 540, "typeName": "BTreeMap" } ] @@ -32022,7 +32005,7 @@ } }, { - "id": 541, + "id": 540, "type": { "path": [ "BTreeMap" @@ -32041,7 +32024,7 @@ "composite": { "fields": [ { - "type": 542 + "type": 541 } ] } @@ -32049,17 +32032,17 @@ } }, { - "id": 542, + "id": 541, "type": { "def": { "sequence": { - "type": 543 + "type": 542 } } } }, { - "id": 543, + "id": 542, "type": { "def": { "tuple": [ @@ -32070,17 +32053,17 @@ } }, { - "id": 544, + "id": 543, "type": { "def": { "sequence": { - "type": 545 + "type": 544 } } } }, { - "id": 545, + "id": 544, "type": { "path": [ "pallet_staking", @@ -32130,7 +32113,7 @@ } }, { - "id": 546, + "id": 545, "type": { "def": { "tuple": [ @@ -32141,7 +32124,7 @@ } }, { - "id": 547, + "id": 546, "type": { "path": [ "pallet_staking", @@ -32177,7 +32160,7 @@ } }, { - "id": 548, + "id": 547, "type": { "path": [ "pallet_staking", @@ -32209,17 +32192,17 @@ } }, { - "id": 549, + "id": 548, "type": { "def": { "sequence": { - "type": 550 + "type": 549 } } } }, { - "id": 550, + "id": 549, "type": { "def": { "tuple": [ @@ -32230,7 +32213,7 @@ } }, { - "id": 551, + "id": 550, "type": { "path": [ "pallet_staking", @@ -32435,7 +32418,7 @@ } }, { - "id": 552, + "id": 551, "type": { "path": [ "sp_staking", @@ -32471,7 +32454,7 @@ } }, { - "id": 553, + "id": 552, "type": { "def": { "tuple": [ @@ -32482,17 +32465,17 @@ } }, { - "id": 554, + "id": 553, "type": { "def": { "sequence": { - "type": 555 + "type": 554 } } } }, { - "id": 555, + "id": 554, "type": { "def": { "tuple": [ @@ -32503,18 +32486,18 @@ } }, { - "id": 556, + "id": 555, "type": { "def": { "tuple": [ - 557, + 556, 13 ] } } }, { - "id": 557, + "id": 556, "type": { "path": [ "sp_core", @@ -32534,7 +32517,7 @@ } }, { - "id": 558, + "id": 557, "type": { "path": [ "pallet_session", @@ -32594,7 +32577,7 @@ } }, { - "id": 559, + "id": 558, "type": { "path": [ "pallet_grandpa", @@ -32655,7 +32638,7 @@ } }, { - "id": 560, + "id": 559, "type": { "path": [ "pallet_grandpa", @@ -32686,7 +32669,7 @@ }, { "name": "next_authorities", - "type": 561, + "type": 560, "typeName": "BoundedAuthorityList" }, { @@ -32700,7 +32683,7 @@ } }, { - "id": 561, + "id": 560, "type": { "path": [ "bounded_collections", @@ -32730,7 +32713,7 @@ } }, { - "id": 562, + "id": 561, "type": { "path": [ "pallet_grandpa", @@ -32806,7 +32789,7 @@ } }, { - "id": 563, + "id": 562, "type": { "path": [ "bounded_collections", @@ -32827,7 +32810,7 @@ "composite": { "fields": [ { - "type": 564, + "type": 563, "typeName": "Vec" } ] @@ -32836,7 +32819,7 @@ } }, { - "id": 564, + "id": 563, "type": { "def": { "sequence": { @@ -32846,7 +32829,7 @@ } }, { - "id": 565, + "id": 564, "type": { "path": [ "frame_support", @@ -32857,7 +32840,7 @@ "params": [ { "name": "T", - "type": 566 + "type": 565 } ], "def": { @@ -32867,7 +32850,7 @@ "type": 91 }, { - "type": 566, + "type": 565, "typeName": "T" } ] @@ -32876,7 +32859,7 @@ } }, { - "id": 566, + "id": 565, "type": { "path": [ "pallet_im_online", @@ -32901,12 +32884,12 @@ "fields": [ { "name": "peer_id", - "type": 567, + "type": 566, "typeName": "WeakBoundedVec" }, { "name": "external_addresses", - "type": 568, + "type": 567, "typeName": "WeakBoundedVec, AddressesLimit\n>" } ] @@ -32915,7 +32898,7 @@ } }, { - "id": 567, + "id": 566, "type": { "path": [ "bounded_collections", @@ -32945,7 +32928,7 @@ } }, { - "id": 568, + "id": 567, "type": { "path": [ "bounded_collections", @@ -32955,7 +32938,7 @@ "params": [ { "name": "T", - "type": 567 + "type": 566 }, { "name": "S", @@ -32966,7 +32949,7 @@ "composite": { "fields": [ { - "type": 569, + "type": 568, "typeName": "Vec" } ] @@ -32975,17 +32958,17 @@ } }, { - "id": 569, + "id": 568, "type": { "def": { "sequence": { - "type": 567 + "type": 566 } } } }, { - "id": 570, + "id": 569, "type": { "path": [ "pallet_im_online", @@ -33024,7 +33007,7 @@ } }, { - "id": 571, + "id": 570, "type": { "path": [ "bounded_collections", @@ -33034,7 +33017,7 @@ "params": [ { "name": "T", - "type": 572 + "type": 571 }, { "name": "S", @@ -33045,7 +33028,7 @@ "composite": { "fields": [ { - "type": 573, + "type": 572, "typeName": "Vec" } ] @@ -33054,7 +33037,7 @@ } }, { - "id": 572, + "id": 571, "type": { "def": { "tuple": [ @@ -33066,28 +33049,28 @@ } }, { - "id": 573, + "id": 572, "type": { "def": { "sequence": { - "type": 572 + "type": 571 } } } }, { - "id": 574, + "id": 573, "type": { "def": { "tuple": [ - 575, + 574, 6 ] } } }, { - "id": 575, + "id": 574, "type": { "path": [ "bounded_collections", @@ -33117,7 +33100,7 @@ } }, { - "id": 576, + "id": 575, "type": { "path": [ "pallet_democracy", @@ -33145,7 +33128,7 @@ "name": "Ongoing", "fields": [ { - "type": 577, + "type": 576, "typeName": "ReferendumStatus" } ], @@ -33173,7 +33156,7 @@ } }, { - "id": 577, + "id": 576, "type": { "path": [ "pallet_democracy", @@ -33219,7 +33202,7 @@ }, { "name": "tally", - "type": 578, + "type": 577, "typeName": "Tally" } ] @@ -33228,7 +33211,7 @@ } }, { - "id": 578, + "id": 577, "type": { "path": [ "pallet_democracy", @@ -33265,7 +33248,7 @@ } }, { - "id": 579, + "id": 578, "type": { "path": [ "pallet_democracy", @@ -33298,17 +33281,17 @@ "fields": [ { "name": "votes", - "type": 580, + "type": 579, "typeName": "BoundedVec<(ReferendumIndex, AccountVote), MaxVotes>" }, { "name": "delegations", - "type": 583, + "type": 582, "typeName": "Delegations" }, { "name": "prior", - "type": 584, + "type": 583, "typeName": "PriorLock" } ], @@ -33334,12 +33317,12 @@ }, { "name": "delegations", - "type": 583, + "type": 582, "typeName": "Delegations" }, { "name": "prior", - "type": 584, + "type": 583, "typeName": "PriorLock" } ], @@ -33351,7 +33334,7 @@ } }, { - "id": 580, + "id": 579, "type": { "path": [ "bounded_collections", @@ -33361,7 +33344,7 @@ "params": [ { "name": "T", - "type": 581 + "type": 580 }, { "name": "S", @@ -33372,7 +33355,7 @@ "composite": { "fields": [ { - "type": 582, + "type": 581, "typeName": "Vec" } ] @@ -33381,7 +33364,7 @@ } }, { - "id": 581, + "id": 580, "type": { "def": { "tuple": [ @@ -33392,17 +33375,17 @@ } }, { - "id": 582, + "id": 581, "type": { "def": { "sequence": { - "type": 581 + "type": 580 } } } }, { - "id": 583, + "id": 582, "type": { "path": [ "pallet_democracy", @@ -33434,7 +33417,7 @@ } }, { - "id": 584, + "id": 583, "type": { "path": [ "pallet_democracy", @@ -33468,7 +33451,7 @@ } }, { - "id": 585, + "id": 584, "type": { "def": { "tuple": [ @@ -33479,18 +33462,18 @@ } }, { - "id": 586, + "id": 585, "type": { "def": { "tuple": [ 4, - 575 + 574 ] } } }, { - "id": 587, + "id": 586, "type": { "path": [ "pallet_democracy", @@ -33684,7 +33667,7 @@ } }, { - "id": 588, + "id": 587, "type": { "path": [ "bounded_collections", @@ -33714,7 +33697,7 @@ } }, { - "id": 589, + "id": 588, "type": { "path": [ "pallet_collective", @@ -33764,7 +33747,7 @@ } }, { - "id": 590, + "id": 589, "type": { "path": [ "pallet_collective", @@ -33863,7 +33846,7 @@ } }, { - "id": 591, + "id": 590, "type": { "path": [ "bounded_collections", @@ -33893,7 +33876,7 @@ } }, { - "id": 592, + "id": 591, "type": { "path": [ "pallet_collective", @@ -33992,17 +33975,17 @@ } }, { - "id": 593, + "id": 592, "type": { "def": { "sequence": { - "type": 594 + "type": 593 } } } }, { - "id": 594, + "id": 593, "type": { "path": [ "pallet_elections_phragmen", @@ -34042,7 +34025,7 @@ } }, { - "id": 595, + "id": 594, "type": { "path": [ "pallet_elections_phragmen", @@ -34082,7 +34065,7 @@ } }, { - "id": 596, + "id": 595, "type": { "path": [ "pallet_elections_phragmen", @@ -34226,7 +34209,7 @@ } }, { - "id": 597, + "id": 596, "type": { "path": [ "bounded_collections", @@ -34256,7 +34239,7 @@ } }, { - "id": 598, + "id": 597, "type": { "path": [ "pallet_membership", @@ -34306,7 +34289,7 @@ } }, { - "id": 599, + "id": 598, "type": { "path": [ "pallet_treasury", @@ -34351,7 +34334,7 @@ } }, { - "id": 600, + "id": 599, "type": { "path": [ "bounded_collections", @@ -34381,7 +34364,7 @@ } }, { - "id": 601, + "id": 600, "type": { "path": [ "sp_arithmetic", @@ -34401,7 +34384,7 @@ } }, { - "id": 602, + "id": 601, "type": { "path": [ "Option" @@ -34434,7 +34417,7 @@ } }, { - "id": 603, + "id": 602, "type": { "path": [ "frame_support", @@ -34453,7 +34436,7 @@ } }, { - "id": 604, + "id": 603, "type": { "path": [ "pallet_treasury", @@ -34518,7 +34501,7 @@ } }, { - "id": 605, + "id": 604, "type": { "def": { "tuple": [ @@ -34529,7 +34512,7 @@ } }, { - "id": 606, + "id": 605, "type": { "path": [ "pallet_conviction_voting", @@ -34565,7 +34548,7 @@ "name": "Casting", "fields": [ { - "type": 607, + "type": 606, "typeName": "Casting" } ], @@ -34575,7 +34558,7 @@ "name": "Delegating", "fields": [ { - "type": 613, + "type": 612, "typeName": "Delegating" } ], @@ -34587,7 +34570,7 @@ } }, { - "id": 607, + "id": 606, "type": { "path": [ "pallet_conviction_voting", @@ -34617,17 +34600,17 @@ "fields": [ { "name": "votes", - "type": 608, + "type": 607, "typeName": "BoundedVec<(PollIndex, AccountVote), MaxVotes>" }, { "name": "delegations", - "type": 611, + "type": 610, "typeName": "Delegations" }, { "name": "prior", - "type": 612, + "type": 611, "typeName": "PriorLock" } ] @@ -34636,7 +34619,7 @@ } }, { - "id": 608, + "id": 607, "type": { "path": [ "bounded_collections", @@ -34646,7 +34629,7 @@ "params": [ { "name": "T", - "type": 609 + "type": 608 }, { "name": "S", @@ -34657,7 +34640,7 @@ "composite": { "fields": [ { - "type": 610, + "type": 609, "typeName": "Vec" } ] @@ -34666,7 +34649,7 @@ } }, { - "id": 609, + "id": 608, "type": { "def": { "tuple": [ @@ -34677,17 +34660,17 @@ } }, { - "id": 610, + "id": 609, "type": { "def": { "sequence": { - "type": 609 + "type": 608 } } } }, { - "id": 611, + "id": 610, "type": { "path": [ "pallet_conviction_voting", @@ -34719,7 +34702,7 @@ } }, { - "id": 612, + "id": 611, "type": { "path": [ "pallet_conviction_voting", @@ -34753,7 +34736,7 @@ } }, { - "id": 613, + "id": 612, "type": { "path": [ "pallet_conviction_voting", @@ -34794,12 +34777,12 @@ }, { "name": "delegations", - "type": 611, + "type": 610, "typeName": "Delegations" }, { "name": "prior", - "type": 612, + "type": 611, "typeName": "PriorLock" } ] @@ -34808,7 +34791,7 @@ } }, { - "id": 614, + "id": 613, "type": { "path": [ "bounded_collections", @@ -34818,7 +34801,7 @@ "params": [ { "name": "T", - "type": 615 + "type": 614 }, { "name": "S", @@ -34829,7 +34812,7 @@ "composite": { "fields": [ { - "type": 616, + "type": 615, "typeName": "Vec" } ] @@ -34838,7 +34821,7 @@ } }, { - "id": 615, + "id": 614, "type": { "def": { "tuple": [ @@ -34849,17 +34832,17 @@ } }, { - "id": 616, + "id": 615, "type": { "def": { "sequence": { - "type": 615 + "type": 614 } } } }, { - "id": 617, + "id": 616, "type": { "path": [ "pallet_conviction_voting", @@ -34973,7 +34956,7 @@ } }, { - "id": 618, + "id": 617, "type": { "path": [ "pallet_referenda", @@ -35021,7 +35004,7 @@ "name": "Ongoing", "fields": [ { - "type": 619, + "type": 618, "typeName": "ReferendumStatus" } ], @@ -35035,11 +35018,11 @@ "typeName": "Moment" }, { - "type": 621, + "type": 620, "typeName": "Option>" }, { - "type": 621, + "type": 620, "typeName": "Option>" } ], @@ -35053,11 +35036,11 @@ "typeName": "Moment" }, { - "type": 621, + "type": 620, "typeName": "Option>" }, { - "type": 621, + "type": 620, "typeName": "Option>" } ], @@ -35071,11 +35054,11 @@ "typeName": "Moment" }, { - "type": 621, + "type": 620, "typeName": "Option>" }, { - "type": 621, + "type": 620, "typeName": "Option>" } ], @@ -35089,11 +35072,11 @@ "typeName": "Moment" }, { - "type": 621, + "type": 620, "typeName": "Option>" }, { - "type": 621, + "type": 620, "typeName": "Option>" } ], @@ -35115,7 +35098,7 @@ } }, { - "id": 619, + "id": 618, "type": { "path": [ "pallet_referenda", @@ -35186,17 +35169,17 @@ }, { "name": "submission_deposit", - "type": 620, + "type": 619, "typeName": "Deposit" }, { "name": "decision_deposit", - "type": 621, + "type": 620, "typeName": "Option>" }, { "name": "deciding", - "type": 622, + "type": 621, "typeName": "Option>" }, { @@ -35211,7 +35194,7 @@ }, { "name": "alarm", - "type": 624, + "type": 623, "typeName": "Option<(Moment, ScheduleAddress)>" } ] @@ -35220,7 +35203,7 @@ } }, { - "id": 620, + "id": 619, "type": { "path": [ "pallet_referenda", @@ -35256,7 +35239,7 @@ } }, { - "id": 621, + "id": 620, "type": { "path": [ "Option" @@ -35264,7 +35247,7 @@ "params": [ { "name": "T", - "type": 620 + "type": 619 } ], "def": { @@ -35278,7 +35261,40 @@ "name": "Some", "fields": [ { - "type": 620 + "type": 619 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 621, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 622 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 622 } ], "index": 1 @@ -35290,39 +35306,6 @@ }, { "id": 622, - "type": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 623 - } - ], - "def": { - "variant": { - "variants": [ - { - "name": "None", - "index": 0 - }, - { - "name": "Some", - "fields": [ - { - "type": 623 - } - ], - "index": 1 - } - ] - } - } - } - }, - { - "id": 623, "type": { "path": [ "pallet_referenda", @@ -35354,7 +35337,7 @@ } }, { - "id": 624, + "id": 623, "type": { "path": [ "Option" @@ -35362,7 +35345,7 @@ "params": [ { "name": "T", - "type": 625 + "type": 624 } ], "def": { @@ -35376,7 +35359,7 @@ "name": "Some", "fields": [ { - "type": 625 + "type": 624 } ], "index": 1 @@ -35387,7 +35370,7 @@ } }, { - "id": 625, + "id": 624, "type": { "def": { "tuple": [ @@ -35398,7 +35381,7 @@ } }, { - "id": 626, + "id": 625, "type": { "path": [ "bounded_collections", @@ -35408,7 +35391,7 @@ "params": [ { "name": "T", - "type": 627 + "type": 626 }, { "name": "S", @@ -35419,7 +35402,7 @@ "composite": { "fields": [ { - "type": 628, + "type": 627, "typeName": "Vec" } ] @@ -35428,7 +35411,7 @@ } }, { - "id": 627, + "id": 626, "type": { "def": { "tuple": [ @@ -35438,39 +35421,39 @@ } } }, + { + "id": 627, + "type": { + "def": { + "sequence": { + "type": 626 + } + } + } + }, { "id": 628, "type": { "def": { "sequence": { - "type": 627 + "type": 629 } } } }, { "id": 629, - "type": { - "def": { - "sequence": { - "type": 630 - } - } - } - }, - { - "id": 630, "type": { "def": { "tuple": [ 77, - 631 + 630 ] } } }, { - "id": 631, + "id": 630, "type": { "path": [ "pallet_referenda", @@ -35527,12 +35510,12 @@ }, { "name": "min_approval", - "type": 632, + "type": 631, "typeName": "Curve" }, { "name": "min_support", - "type": 632, + "type": 631, "typeName": "Curve" } ] @@ -35541,7 +35524,7 @@ } }, { - "id": 632, + "id": 631, "type": { "path": [ "pallet_referenda", @@ -35603,17 +35586,17 @@ "fields": [ { "name": "factor", - "type": 633, + "type": 632, "typeName": "FixedI64" }, { "name": "x_offset", - "type": 633, + "type": 632, "typeName": "FixedI64" }, { "name": "y_offset", - "type": 633, + "type": 632, "typeName": "FixedI64" } ], @@ -35625,7 +35608,7 @@ } }, { - "id": 633, + "id": 632, "type": { "path": [ "sp_arithmetic", @@ -35636,7 +35619,7 @@ "composite": { "fields": [ { - "type": 634, + "type": 633, "typeName": "i64" } ] @@ -35645,7 +35628,7 @@ } }, { - "id": 634, + "id": 633, "type": { "def": { "primitive": "i64" @@ -35653,7 +35636,7 @@ } }, { - "id": 635, + "id": 634, "type": { "path": [ "pallet_referenda", @@ -35773,7 +35756,7 @@ } }, { - "id": 636, + "id": 635, "type": { "path": [ "pallet_whitelist", @@ -35833,7 +35816,7 @@ } }, { - "id": 637, + "id": 636, "type": { "path": [ "polkadot_runtime_common", @@ -35902,7 +35885,7 @@ } }, { - "id": 638, + "id": 637, "type": { "path": [ "bounded_collections", @@ -35923,7 +35906,7 @@ "composite": { "fields": [ { - "type": 639, + "type": 638, "typeName": "Vec" } ] @@ -35932,7 +35915,7 @@ } }, { - "id": 639, + "id": 638, "type": { "def": { "sequence": { @@ -35942,7 +35925,7 @@ } }, { - "id": 640, + "id": 639, "type": { "path": [ "pallet_vesting", @@ -35965,7 +35948,7 @@ } }, { - "id": 641, + "id": 640, "type": { "path": [ "pallet_vesting", @@ -36026,7 +36009,7 @@ } }, { - "id": 642, + "id": 641, "type": { "path": [ "pallet_utility", @@ -36058,7 +36041,7 @@ } }, { - "id": 643, + "id": 642, "type": { "path": [ "pallet_identity", @@ -36084,7 +36067,7 @@ "fields": [ { "name": "judgements", - "type": 644, + "type": 643, "typeName": "BoundedVec<(RegistrarIndex, Judgement), MaxJudgements>" }, { @@ -36103,7 +36086,7 @@ } }, { - "id": 644, + "id": 643, "type": { "path": [ "bounded_collections", @@ -36113,7 +36096,7 @@ "params": [ { "name": "T", - "type": 645 + "type": 644 }, { "name": "S", @@ -36124,7 +36107,7 @@ "composite": { "fields": [ { - "type": 646, + "type": 645, "typeName": "Vec" } ] @@ -36133,7 +36116,7 @@ } }, { - "id": 645, + "id": 644, "type": { "def": { "tuple": [ @@ -36144,28 +36127,28 @@ } }, { - "id": 646, + "id": 645, "type": { "def": { "sequence": { - "type": 645 + "type": 644 } } } }, { - "id": 647, + "id": 646, "type": { "def": { "tuple": [ 6, - 648 + 647 ] } } }, { - "id": 648, + "id": 647, "type": { "path": [ "bounded_collections", @@ -36195,7 +36178,7 @@ } }, { - "id": 649, + "id": 648, "type": { "path": [ "bounded_collections", @@ -36205,7 +36188,7 @@ "params": [ { "name": "T", - "type": 650 + "type": 649 }, { "name": "S", @@ -36216,7 +36199,7 @@ "composite": { "fields": [ { - "type": 652, + "type": 651, "typeName": "Vec" } ] @@ -36225,7 +36208,7 @@ } }, { - "id": 650, + "id": 649, "type": { "path": [ "Option" @@ -36233,7 +36216,7 @@ "params": [ { "name": "T", - "type": 651 + "type": 650 } ], "def": { @@ -36247,7 +36230,7 @@ "name": "Some", "fields": [ { - "type": 651 + "type": 650 } ], "index": 1 @@ -36258,7 +36241,7 @@ } }, { - "id": 651, + "id": 650, "type": { "path": [ "pallet_identity", @@ -36299,17 +36282,17 @@ } }, { - "id": 652, + "id": 651, "type": { "def": { "sequence": { - "type": 650 + "type": 649 } } } }, { - "id": 653, + "id": 652, "type": { "path": [ "pallet_identity", @@ -36460,18 +36443,18 @@ } }, { - "id": 654, + "id": 653, "type": { "def": { "tuple": [ - 655, + 654, 6 ] } } }, { - "id": 655, + "id": 654, "type": { "path": [ "bounded_collections", @@ -36481,7 +36464,7 @@ "params": [ { "name": "T", - "type": 656 + "type": 655 }, { "name": "S", @@ -36492,7 +36475,7 @@ "composite": { "fields": [ { - "type": 657, + "type": 656, "typeName": "Vec" } ] @@ -36501,7 +36484,7 @@ } }, { - "id": 656, + "id": 655, "type": { "path": [ "pallet_proxy", @@ -36545,28 +36528,28 @@ } }, { - "id": 657, + "id": 656, "type": { "def": { "sequence": { - "type": 656 + "type": 655 } } } }, { - "id": 658, + "id": 657, "type": { "def": { "tuple": [ - 659, + 658, 6 ] } } }, { - "id": 659, + "id": 658, "type": { "path": [ "bounded_collections", @@ -36576,7 +36559,7 @@ "params": [ { "name": "T", - "type": 660 + "type": 659 }, { "name": "S", @@ -36587,7 +36570,7 @@ "composite": { "fields": [ { - "type": 661, + "type": 660, "typeName": "Vec" } ] @@ -36596,7 +36579,7 @@ } }, { - "id": 660, + "id": 659, "type": { "path": [ "pallet_proxy", @@ -36640,17 +36623,17 @@ } }, { - "id": 661, + "id": 660, "type": { "def": { "sequence": { - "type": 660 + "type": 659 } } } }, { - "id": 662, + "id": 661, "type": { "path": [ "pallet_proxy", @@ -36731,7 +36714,7 @@ } }, { - "id": 663, + "id": 662, "type": { "def": { "tuple": [ @@ -36742,7 +36725,7 @@ } }, { - "id": 664, + "id": 663, "type": { "path": [ "pallet_multisig", @@ -36786,7 +36769,7 @@ }, { "name": "approvals", - "type": 665, + "type": 664, "typeName": "BoundedVec" } ] @@ -36795,7 +36778,7 @@ } }, { - "id": 665, + "id": 664, "type": { "path": [ "bounded_collections", @@ -36825,7 +36808,7 @@ } }, { - "id": 666, + "id": 665, "type": { "path": [ "pallet_multisig", @@ -36948,7 +36931,7 @@ } }, { - "id": 667, + "id": 666, "type": { "path": [ "pallet_bounties", @@ -36998,7 +36981,7 @@ }, { "name": "status", - "type": 668, + "type": 667, "typeName": "BountyStatus" } ] @@ -37007,7 +36990,7 @@ } }, { - "id": 668, + "id": 667, "type": { "path": [ "pallet_bounties", @@ -37092,7 +37075,7 @@ } }, { - "id": 669, + "id": 668, "type": { "path": [ "bounded_collections", @@ -37122,7 +37105,7 @@ } }, { - "id": 670, + "id": 669, "type": { "path": [ "pallet_bounties", @@ -37229,7 +37212,7 @@ } }, { - "id": 671, + "id": 670, "type": { "path": [ "pallet_child_bounties", @@ -37274,7 +37257,7 @@ }, { "name": "status", - "type": 672, + "type": 671, "typeName": "ChildBountyStatus" } ] @@ -37283,7 +37266,7 @@ } }, { - "id": 672, + "id": 671, "type": { "path": [ "pallet_child_bounties", @@ -37355,7 +37338,7 @@ } }, { - "id": 673, + "id": 672, "type": { "path": [ "pallet_child_bounties", @@ -37401,7 +37384,7 @@ } }, { - "id": 674, + "id": 673, "type": { "path": [ "pallet_tips", @@ -37469,7 +37452,7 @@ } }, { - "id": 675, + "id": 674, "type": { "path": [ "pallet_tips", @@ -37540,7 +37523,7 @@ } }, { - "id": 676, + "id": 675, "type": { "path": [ "pallet_election_provider_multi_phase", @@ -37561,7 +37544,7 @@ "fields": [ { "name": "supports", - "type": 677, + "type": 676, "typeName": "BoundedSupports" }, { @@ -37580,7 +37563,7 @@ } }, { - "id": 677, + "id": 676, "type": { "path": [ "bounded_collections", @@ -37610,7 +37593,7 @@ } }, { - "id": 678, + "id": 677, "type": { "path": [ "pallet_election_provider_multi_phase", @@ -37623,7 +37606,7 @@ }, { "name": "DataProvider", - "type": 679 + "type": 678 } ], "def": { @@ -37631,7 +37614,7 @@ "fields": [ { "name": "voters", - "type": 680, + "type": 679, "typeName": "Vec" }, { @@ -37645,29 +37628,29 @@ } }, { - "id": 679, + "id": 678, "type": { "def": { "tuple": [ 0, 11, - 536 + 535 ] } } }, { - "id": 680, + "id": 679, "type": { "def": { "sequence": { - "type": 679 + "type": 678 } } } }, { - "id": 681, + "id": 680, "type": { "path": [ "bounded_collections", @@ -37677,7 +37660,7 @@ "params": [ { "name": "T", - "type": 682 + "type": 681 }, { "name": "S", @@ -37688,7 +37671,7 @@ "composite": { "fields": [ { - "type": 683, + "type": 682, "typeName": "Vec" } ] @@ -37697,7 +37680,7 @@ } }, { - "id": 682, + "id": 681, "type": { "def": { "tuple": [ @@ -37709,17 +37692,17 @@ } }, { - "id": 683, + "id": 682, "type": { "def": { "sequence": { - "type": 682 + "type": 681 } } } }, { - "id": 684, + "id": 683, "type": { "path": [ "pallet_election_provider_multi_phase", @@ -37769,7 +37752,7 @@ } }, { - "id": 685, + "id": 684, "type": { "path": [ "pallet_election_provider_multi_phase", @@ -37892,7 +37875,7 @@ } }, { - "id": 686, + "id": 685, "type": { "path": [ "pallet_bags_list", @@ -37943,7 +37926,7 @@ } }, { - "id": 687, + "id": 686, "type": { "path": [ "pallet_bags_list", @@ -37979,7 +37962,7 @@ } }, { - "id": 688, + "id": 687, "type": { "def": { "sequence": { @@ -37989,7 +37972,7 @@ } }, { - "id": 689, + "id": 688, "type": { "path": [ "pallet_bags_list", @@ -38013,7 +37996,7 @@ "name": "List", "fields": [ { - "type": 690, + "type": 689, "typeName": "ListError" } ], @@ -38031,7 +38014,7 @@ } }, { - "id": 690, + "id": 689, "type": { "path": [ "pallet_bags_list", @@ -38063,7 +38046,7 @@ } }, { - "id": 691, + "id": 690, "type": { "path": [ "pallet_nomination_pools", @@ -38090,12 +38073,12 @@ }, { "name": "last_recorded_reward_counter", - "type": 528, + "type": 527, "typeName": "T::RewardCounter" }, { "name": "unbonding_eras", - "type": 692, + "type": 691, "typeName": "BoundedBTreeMap, T::MaxUnbonding>" } ] @@ -38104,7 +38087,7 @@ } }, { - "id": 692, + "id": 691, "type": { "path": [ "bounded_collections", @@ -38129,7 +38112,7 @@ "composite": { "fields": [ { - "type": 693, + "type": 692, "typeName": "BTreeMap" } ] @@ -38138,7 +38121,7 @@ } }, { - "id": 693, + "id": 692, "type": { "path": [ "BTreeMap" @@ -38157,7 +38140,7 @@ "composite": { "fields": [ { - "type": 628 + "type": 627 } ] } @@ -38165,7 +38148,7 @@ } }, { - "id": 694, + "id": 693, "type": { "path": [ "pallet_nomination_pools", @@ -38182,7 +38165,7 @@ "fields": [ { "name": "commission", - "type": 695, + "type": 694, "typeName": "Commission" }, { @@ -38197,7 +38180,7 @@ }, { "name": "roles", - "type": 698, + "type": 697, "typeName": "PoolRoles" }, { @@ -38211,7 +38194,7 @@ } }, { - "id": 695, + "id": 694, "type": { "path": [ "pallet_nomination_pools", @@ -38233,12 +38216,12 @@ }, { "name": "max", - "type": 696, + "type": 695, "typeName": "Option" }, { "name": "change_rate", - "type": 697, + "type": 696, "typeName": "Option>" }, { @@ -38252,7 +38235,7 @@ } }, { - "id": 696, + "id": 695, "type": { "path": [ "Option" @@ -38285,7 +38268,7 @@ } }, { - "id": 697, + "id": 696, "type": { "path": [ "Option" @@ -38318,7 +38301,7 @@ } }, { - "id": 698, + "id": 697, "type": { "path": [ "pallet_nomination_pools", @@ -38359,7 +38342,7 @@ } }, { - "id": 699, + "id": 698, "type": { "path": [ "pallet_nomination_pools", @@ -38376,7 +38359,7 @@ "fields": [ { "name": "last_recorded_reward_counter", - "type": 528, + "type": 527, "typeName": "T::RewardCounter" }, { @@ -38405,7 +38388,7 @@ } }, { - "id": 700, + "id": 699, "type": { "path": [ "pallet_nomination_pools", @@ -38422,12 +38405,12 @@ "fields": [ { "name": "no_era", - "type": 701, + "type": 700, "typeName": "UnbondPool" }, { "name": "with_era", - "type": 702, + "type": 701, "typeName": "BoundedBTreeMap, TotalUnbondingPools>" } ] @@ -38436,7 +38419,7 @@ } }, { - "id": 701, + "id": 700, "type": { "path": [ "pallet_nomination_pools", @@ -38467,7 +38450,7 @@ } }, { - "id": 702, + "id": 701, "type": { "path": [ "bounded_collections", @@ -38481,7 +38464,7 @@ }, { "name": "V", - "type": 701 + "type": 700 }, { "name": "S", @@ -38492,7 +38475,7 @@ "composite": { "fields": [ { - "type": 703, + "type": 702, "typeName": "BTreeMap" } ] @@ -38501,7 +38484,7 @@ } }, { - "id": 703, + "id": 702, "type": { "path": [ "BTreeMap" @@ -38513,43 +38496,43 @@ }, { "name": "V", - "type": 701 + "type": 700 } ], "def": { "composite": { "fields": [ { - "type": 704 + "type": 703 } ] } } } }, + { + "id": 703, + "type": { + "def": { + "sequence": { + "type": 704 + } + } + } + }, { "id": 704, - "type": { - "def": { - "sequence": { - "type": 705 - } - } - } - }, - { - "id": 705, "type": { "def": { "tuple": [ 4, - 701 + 700 ] } } }, { - "id": 706, + "id": 705, "type": { "path": [ "bounded_collections", @@ -38579,7 +38562,7 @@ } }, { - "id": 707, + "id": 706, "type": { "path": [ "pallet_nomination_pools", @@ -38739,7 +38722,7 @@ "name": "Defensive", "fields": [ { - "type": 708, + "type": 707, "typeName": "DefensiveError" } ], @@ -38828,7 +38811,7 @@ } }, { - "id": 708, + "id": 707, "type": { "path": [ "pallet_nomination_pools", @@ -38864,7 +38847,7 @@ } }, { - "id": 709, + "id": 708, "type": { "path": [ "pallet_fast_unstake", @@ -38882,12 +38865,12 @@ "fields": [ { "name": "stashes", - "type": 710, + "type": 709, "typeName": "BoundedVec<(T::AccountId, BalanceOf), T::BatchSize>" }, { "name": "checked", - "type": 711, + "type": 710, "typeName": "BoundedVec>" } ] @@ -38896,7 +38879,7 @@ } }, { - "id": 710, + "id": 709, "type": { "path": [ "bounded_collections", @@ -38926,7 +38909,7 @@ } }, { - "id": 711, + "id": 710, "type": { "path": [ "bounded_collections", @@ -38956,7 +38939,7 @@ } }, { - "id": 712, + "id": 711, "type": { "path": [ "pallet_fast_unstake", @@ -39025,7 +39008,7 @@ } }, { - "id": 713, + "id": 712, "type": { "path": [ "polkadot_runtime_parachains", @@ -39262,28 +39245,28 @@ } }, { - "id": 714, + "id": 713, "type": { "def": { "sequence": { - "type": 715 + "type": 714 } } } }, { - "id": 715, + "id": 714, "type": { "def": { "tuple": [ 4, - 713 + 712 ] } } }, { - "id": 716, + "id": 715, "type": { "path": [ "polkadot_runtime_parachains", @@ -39316,7 +39299,7 @@ } }, { - "id": 717, + "id": 716, "type": { "def": { "sequence": { @@ -39326,7 +39309,7 @@ } }, { - "id": 718, + "id": 717, "type": { "def": { "sequence": { @@ -39336,7 +39319,7 @@ } }, { - "id": 719, + "id": 718, "type": { "path": [ "polkadot_runtime_parachains", @@ -39368,7 +39351,7 @@ } }, { - "id": 720, + "id": 719, "type": { "path": [ "polkadot_runtime_parachains", @@ -39434,7 +39417,7 @@ } }, { - "id": 721, + "id": 720, "type": { "path": [ "polkadot_runtime_parachains", @@ -39666,7 +39649,7 @@ } }, { - "id": 722, + "id": 721, "type": { "path": [ "polkadot_primitives", @@ -39689,7 +39672,7 @@ }, { "name": "backing_validators_per_candidate", - "type": 723, + "type": 722, "typeName": "Vec<(CandidateReceipt, Vec<(ValidatorIndex, ValidityAttestation)>)\n>" }, { @@ -39703,38 +39686,38 @@ } }, { - "id": 723, + "id": 722, "type": { "def": { "sequence": { - "type": 724 + "type": 723 } } } }, + { + "id": 723, + "type": { + "def": { + "tuple": [ + 458, + 724 + ] + } + } + }, { "id": 724, - "type": { - "def": { - "tuple": [ - 458, - 725 - ] - } - } - }, - { - "id": 725, "type": { "def": { "sequence": { - "type": 726 + "type": 725 } } } }, { - "id": 726, + "id": 725, "type": { "def": { "tuple": [ @@ -39745,7 +39728,7 @@ } }, { - "id": 727, + "id": 726, "type": { "path": [ "polkadot_runtime_parachains", @@ -39814,17 +39797,17 @@ } }, { - "id": 728, + "id": 727, "type": { "def": { "sequence": { - "type": 717 + "type": 716 } } } }, { - "id": 729, + "id": 728, "type": { "path": [ "polkadot_runtime_parachains", @@ -39836,7 +39819,7 @@ "fields": [ { "name": "queue", - "type": 730, + "type": 729, "typeName": "Vec" }, { @@ -39850,17 +39833,17 @@ } }, { - "id": 730, + "id": 729, "type": { "def": { "sequence": { - "type": 731 + "type": 730 } } } }, { - "id": 731, + "id": 730, "type": { "path": [ "polkadot_runtime_parachains", @@ -39872,7 +39855,7 @@ "fields": [ { "name": "claim", - "type": 732, + "type": 731, "typeName": "ParathreadEntry" }, { @@ -39886,7 +39869,7 @@ } }, { - "id": 732, + "id": 731, "type": { "path": [ "polkadot_primitives", @@ -39898,7 +39881,7 @@ "fields": [ { "name": "claim", - "type": 733, + "type": 732, "typeName": "ParathreadClaim" }, { @@ -39912,7 +39895,7 @@ } }, { - "id": 733, + "id": 732, "type": { "path": [ "polkadot_primitives", @@ -39936,17 +39919,17 @@ } }, { - "id": 734, + "id": 733, "type": { "def": { "sequence": { - "type": 735 + "type": 734 } } } }, { - "id": 735, + "id": 734, "type": { "path": [ "Option" @@ -39954,7 +39937,7 @@ "params": [ { "name": "T", - "type": 736 + "type": 735 } ], "def": { @@ -39968,7 +39951,7 @@ "name": "Some", "fields": [ { - "type": 736 + "type": 735 } ], "index": 1 @@ -39979,7 +39962,7 @@ } }, { - "id": 736, + "id": 735, "type": { "path": [ "polkadot_primitives", @@ -39993,7 +39976,7 @@ "name": "Parathread", "fields": [ { - "type": 732, + "type": 731, "typeName": "ParathreadEntry" } ], @@ -40009,7 +39992,7 @@ } }, { - "id": 737, + "id": 736, "type": { "def": { "sequence": { @@ -40019,17 +40002,17 @@ } }, { - "id": 738, + "id": 737, "type": { "def": { "sequence": { - "type": 739 + "type": 738 } } } }, { - "id": 739, + "id": 738, "type": { "path": [ "polkadot_runtime_parachains", @@ -40051,7 +40034,7 @@ }, { "name": "kind", - "type": 740, + "type": 739, "typeName": "AssignmentKind" }, { @@ -40065,7 +40048,7 @@ } }, { - "id": 740, + "id": 739, "type": { "path": [ "polkadot_runtime_parachains", @@ -40099,7 +40082,7 @@ } }, { - "id": 741, + "id": 740, "type": { "path": [ "polkadot_runtime_parachains", @@ -40137,7 +40120,7 @@ }, { "name": "causes", - "type": 742, + "type": 741, "typeName": "Vec>" } ] @@ -40146,17 +40129,17 @@ } }, { - "id": 742, + "id": 741, "type": { "def": { "sequence": { - "type": 743 + "type": 742 } } } }, { - "id": 743, + "id": 742, "type": { "path": [ "polkadot_runtime_parachains", @@ -40204,7 +40187,7 @@ } }, { - "id": 744, + "id": 743, "type": { "def": { "sequence": { @@ -40214,7 +40197,7 @@ } }, { - "id": 745, + "id": 744, "type": { "path": [ "polkadot_runtime_parachains", @@ -40258,7 +40241,7 @@ } }, { - "id": 746, + "id": 745, "type": { "def": { "tuple": [ @@ -40269,7 +40252,7 @@ } }, { - "id": 747, + "id": 746, "type": { "path": [ "polkadot_runtime_parachains", @@ -40287,7 +40270,7 @@ "fields": [ { "name": "upgrade_times", - "type": 748, + "type": 747, "typeName": "Vec>" }, { @@ -40301,17 +40284,17 @@ } }, { - "id": 748, + "id": 747, "type": { "def": { "sequence": { - "type": 749 + "type": 748 } } } }, { - "id": 749, + "id": 748, "type": { "path": [ "polkadot_runtime_parachains", @@ -40343,17 +40326,17 @@ } }, { - "id": 750, + "id": 749, "type": { "def": { "sequence": { - "type": 746 + "type": 745 } } } }, { - "id": 751, + "id": 750, "type": { "path": [ "polkadot_primitives", @@ -40377,7 +40360,7 @@ } }, { - "id": 752, + "id": 751, "type": { "path": [ "polkadot_primitives", @@ -40397,7 +40380,7 @@ } }, { - "id": 753, + "id": 752, "type": { "path": [ "polkadot_runtime_parachains", @@ -40428,7 +40411,7 @@ } }, { - "id": 754, + "id": 753, "type": { "path": [ "polkadot_runtime_parachains", @@ -40546,17 +40529,17 @@ } }, { - "id": 755, + "id": 754, "type": { "def": { "sequence": { - "type": 756 + "type": 755 } } } }, { - "id": 756, + "id": 755, "type": { "path": [ "polkadot_runtime_parachains", @@ -40568,12 +40551,12 @@ "fields": [ { "name": "validators", - "type": 718, + "type": 717, "typeName": "Vec" }, { "name": "queued", - "type": 718, + "type": 717, "typeName": "Vec" }, { @@ -40587,17 +40570,17 @@ } }, { - "id": 757, + "id": 756, "type": { "def": { "sequence": { - "type": 758 + "type": 757 } } } }, { - "id": 758, + "id": 757, "type": { "path": [ "polkadot_core_primitives", @@ -40628,7 +40611,7 @@ } }, { - "id": 759, + "id": 758, "type": { "def": { "tuple": [ @@ -40639,7 +40622,7 @@ } }, { - "id": 760, + "id": 759, "type": { "path": [ "polkadot_runtime_parachains", @@ -40679,7 +40662,7 @@ } }, { - "id": 761, + "id": 760, "type": { "path": [ "polkadot_runtime_parachains", @@ -40725,7 +40708,7 @@ } }, { - "id": 762, + "id": 761, "type": { "def": { "sequence": { @@ -40735,7 +40718,7 @@ } }, { - "id": 763, + "id": 762, "type": { "path": [ "polkadot_runtime_parachains", @@ -40791,17 +40774,17 @@ } }, { - "id": 764, + "id": 763, "type": { "def": { "sequence": { - "type": 765 + "type": 764 } } } }, { - "id": 765, + "id": 764, "type": { "path": [ "polkadot_core_primitives", @@ -40832,28 +40815,28 @@ } }, { - "id": 766, + "id": 765, "type": { "def": { "sequence": { - "type": 767 + "type": 766 } } } }, { - "id": 767, + "id": 766, "type": { "def": { "tuple": [ 4, - 737 + 736 ] } } }, { - "id": 768, + "id": 767, "type": { "path": [ "polkadot_runtime_parachains", @@ -41012,7 +40995,7 @@ } }, { - "id": 769, + "id": 768, "type": { "def": { "sequence": { @@ -41022,7 +41005,7 @@ } }, { - "id": 770, + "id": 769, "type": { "path": [ "polkadot_primitives", @@ -41034,7 +41017,7 @@ "fields": [ { "name": "active_validator_indices", - "type": 717, + "type": 716, "typeName": "Vec" }, { @@ -41049,22 +41032,22 @@ }, { "name": "validators", - "type": 771, + "type": 770, "typeName": "IndexedVec" }, { "name": "discovery_keys", - "type": 772, + "type": 771, "typeName": "Vec" }, { "name": "assignment_keys", - "type": 769, + "type": 768, "typeName": "Vec" }, { "name": "validator_groups", - "type": 773, + "type": 772, "typeName": "IndexedVec>" }, { @@ -41103,7 +41086,7 @@ } }, { - "id": 771, + "id": 770, "type": { "path": [ "polkadot_primitives", @@ -41124,7 +41107,7 @@ "composite": { "fields": [ { - "type": 718, + "type": 717, "typeName": "Vec" } ] @@ -41133,7 +41116,7 @@ } }, { - "id": 772, + "id": 771, "type": { "def": { "sequence": { @@ -41143,7 +41126,7 @@ } }, { - "id": 773, + "id": 772, "type": { "path": [ "polkadot_primitives", @@ -41157,14 +41140,14 @@ }, { "name": "V", - "type": 717 + "type": 716 } ], "def": { "composite": { "fields": [ { - "type": 728, + "type": 727, "typeName": "Vec" } ] @@ -41173,7 +41156,7 @@ } }, { - "id": 774, + "id": 773, "type": { "def": { "tuple": [ @@ -41184,7 +41167,7 @@ } }, { - "id": 775, + "id": 774, "type": { "path": [ "polkadot_primitives", @@ -41226,7 +41209,7 @@ } }, { - "id": 776, + "id": 775, "type": { "path": [ "BTreeSet" @@ -41241,7 +41224,7 @@ "composite": { "fields": [ { - "type": 717 + "type": 716 } ] } @@ -41249,7 +41232,7 @@ } }, { - "id": 777, + "id": 776, "type": { "path": [ "polkadot_runtime_parachains", @@ -41338,7 +41321,7 @@ } }, { - "id": 778, + "id": 777, "type": { "path": [ "polkadot_runtime_common", @@ -41379,7 +41362,7 @@ } }, { - "id": 779, + "id": 778, "type": { "path": [ "polkadot_runtime_common", @@ -41504,7 +41487,7 @@ } }, { - "id": 780, + "id": 779, "type": { "def": { "sequence": { @@ -41514,7 +41497,7 @@ } }, { - "id": 781, + "id": 780, "type": { "path": [ "polkadot_runtime_common", @@ -41554,7 +41537,7 @@ } }, { - "id": 782, + "id": 781, "type": { "def": { "tuple": [ @@ -41565,18 +41548,18 @@ } }, { - "id": 783, + "id": 782, "type": { "def": { "array": { "len": 36, - "type": 784 + "type": 783 } } } }, { - "id": 784, + "id": 783, "type": { "path": [ "Option" @@ -41584,7 +41567,7 @@ "params": [ { "name": "T", - "type": 785 + "type": 784 } ], "def": { @@ -41598,7 +41581,7 @@ "name": "Some", "fields": [ { - "type": 785 + "type": 784 } ], "index": 1 @@ -41609,7 +41592,7 @@ } }, { - "id": 785, + "id": 784, "type": { "def": { "tuple": [ @@ -41621,7 +41604,7 @@ } }, { - "id": 786, + "id": 785, "type": { "path": [ "polkadot_runtime_common", @@ -41696,7 +41679,7 @@ } }, { - "id": 787, + "id": 786, "type": { "path": [ "polkadot_runtime_common", @@ -41756,7 +41739,7 @@ }, { "name": "last_contribution", - "type": 788, + "type": 787, "typeName": "LastContribution" }, { @@ -41780,7 +41763,7 @@ } }, { - "id": 788, + "id": 787, "type": { "path": [ "polkadot_runtime_common", @@ -41826,7 +41809,7 @@ } }, { - "id": 789, + "id": 788, "type": { "path": [ "polkadot_runtime_common", @@ -42013,7 +41996,7 @@ } }, { - "id": 790, + "id": 789, "type": { "path": [ "pallet_xcm", @@ -42039,12 +42022,12 @@ }, { "name": "maybe_match_querier", - "type": 791, + "type": 790, "typeName": "Option" }, { "name": "maybe_notify", - "type": 792, + "type": 791, "typeName": "Option<(u8, u8)>" }, { @@ -42076,7 +42059,7 @@ "fields": [ { "name": "response", - "type": 794, + "type": 793, "typeName": "VersionedResponse" }, { @@ -42093,7 +42076,7 @@ } }, { - "id": 791, + "id": 790, "type": { "path": [ "Option" @@ -42126,7 +42109,7 @@ } }, { - "id": 792, + "id": 791, "type": { "path": [ "Option" @@ -42134,7 +42117,7 @@ "params": [ { "name": "T", - "type": 793 + "type": 792 } ], "def": { @@ -42148,7 +42131,7 @@ "name": "Some", "fields": [ { - "type": 793 + "type": 792 } ], "index": 1 @@ -42159,7 +42142,7 @@ } }, { - "id": 793, + "id": 792, "type": { "def": { "tuple": [ @@ -42170,7 +42153,7 @@ } }, { - "id": 794, + "id": 793, "type": { "path": [ "xcm", @@ -42205,7 +42188,7 @@ } }, { - "id": 795, + "id": 794, "type": { "def": { "tuple": [ @@ -42216,7 +42199,7 @@ } }, { - "id": 796, + "id": 795, "type": { "def": { "tuple": [ @@ -42228,7 +42211,7 @@ } }, { - "id": 797, + "id": 796, "type": { "path": [ "bounded_collections", @@ -42238,7 +42221,7 @@ "params": [ { "name": "T", - "type": 798 + "type": 797 }, { "name": "S", @@ -42249,7 +42232,7 @@ "composite": { "fields": [ { - "type": 799, + "type": 798, "typeName": "Vec" } ] @@ -42258,7 +42241,7 @@ } }, { - "id": 798, + "id": 797, "type": { "def": { "tuple": [ @@ -42269,17 +42252,17 @@ } }, { - "id": 799, + "id": 798, "type": { "def": { "sequence": { - "type": 798 + "type": 797 } } } }, { - "id": 800, + "id": 799, "type": { "path": [ "pallet_xcm", @@ -42301,7 +42284,7 @@ "name": "NotifyCurrentTargets", "fields": [ { - "type": 801, + "type": 800, "typeName": "Option>" } ], @@ -42317,7 +42300,7 @@ } }, { - "id": 801, + "id": 800, "type": { "path": [ "Option" @@ -42350,19 +42333,19 @@ } }, { - "id": 802, + "id": 801, "type": { "def": { "tuple": [ 4, 0, - 803 + 802 ] } } }, { - "id": 803, + "id": 802, "type": { "path": [ "xcm", @@ -42387,7 +42370,7 @@ } }, { - "id": 804, + "id": 803, "type": { "path": [ "pallet_xcm", @@ -42423,7 +42406,7 @@ } }, { - "id": 805, + "id": 804, "type": { "path": [ "bounded_collections", @@ -42433,7 +42416,7 @@ "params": [ { "name": "T", - "type": 806 + "type": 805 }, { "name": "S", @@ -42444,7 +42427,7 @@ "composite": { "fields": [ { - "type": 807, + "type": 806, "typeName": "Vec" } ] @@ -42453,7 +42436,7 @@ } }, { - "id": 806, + "id": 805, "type": { "def": { "tuple": [ @@ -42464,17 +42447,17 @@ } }, { - "id": 807, + "id": 806, "type": { "def": { "sequence": { - "type": 806 + "type": 805 } } } }, { - "id": 808, + "id": 807, "type": { "path": [ "pallet_xcm", @@ -42642,7 +42625,7 @@ } }, { - "id": 809, + "id": 808, "type": { "path": [ "sp_runtime", @@ -42665,7 +42648,7 @@ }, { "name": "Extra", - "type": 810 + "type": 809 } ], "def": { @@ -42680,25 +42663,25 @@ } }, { - "id": 810, + "id": 809, "type": { "def": { "tuple": [ + 810, 811, 812, 813, 814, - 815, + 816, 817, 818, - 819, - 820 + 819 ] } } }, { - "id": 811, + "id": 810, "type": { "path": [ "frame_system", @@ -42718,7 +42701,7 @@ } }, { - "id": 812, + "id": 811, "type": { "path": [ "frame_system", @@ -42738,7 +42721,7 @@ } }, { - "id": 813, + "id": 812, "type": { "path": [ "frame_system", @@ -42758,7 +42741,7 @@ } }, { - "id": 814, + "id": 813, "type": { "path": [ "frame_system", @@ -42778,7 +42761,7 @@ } }, { - "id": 815, + "id": 814, "type": { "path": [ "frame_system", @@ -42796,7 +42779,7 @@ "composite": { "fields": [ { - "type": 816, + "type": 815, "typeName": "Era" } ] @@ -42805,7 +42788,7 @@ } }, { - "id": 816, + "id": 815, "type": { "path": [ "sp_runtime", @@ -45121,7 +45104,7 @@ } }, { - "id": 817, + "id": 816, "type": { "path": [ "frame_system", @@ -45148,7 +45131,7 @@ } }, { - "id": 818, + "id": 817, "type": { "path": [ "frame_system", @@ -45168,7 +45151,7 @@ } }, { - "id": 819, + "id": 818, "type": { "path": [ "pallet_transaction_payment", @@ -45193,7 +45176,7 @@ } }, { - "id": 820, + "id": 819, "type": { "path": [ "polkadot_runtime_common", @@ -45212,7 +45195,7 @@ } }, { - "id": 821, + "id": 820, "type": { "path": [ "polkadot_runtime", @@ -45869,7 +45852,7 @@ 0, 0, 0, - 194, + 174, 36, 0, 0, @@ -46082,7 +46065,7 @@ 0, 0, 0, - 22, + 21, 0, 0, 0, @@ -46605,7 +46588,7 @@ "name": "EpochConfig", "modifier": "Optional", "ty": { - "Plain": 510 + "Plain": 509 }, "default": [ 0 @@ -46619,7 +46602,7 @@ "name": "NextEpochConfig", "modifier": "Optional", "ty": { - "Plain": 510 + "Plain": 509 }, "default": [ 0 @@ -46633,7 +46616,7 @@ "name": "SkippedEpochs", "modifier": "Default", "ty": { - "Plain": 511 + "Plain": 510 }, "default": [ 0 @@ -46711,7 +46694,7 @@ } ], "error": { - "ty": 514 + "ty": 513 }, "index": 2 }, @@ -46798,7 +46781,7 @@ "Blake2_128Concat" ], "key": 4, - "value": 515 + "value": 514 } }, "default": [ @@ -46844,7 +46827,7 @@ } ], "error": { - "ty": 516 + "ty": 515 }, "index": 4 }, @@ -47023,7 +47006,7 @@ "Blake2_128Concat" ], "key": 0, - "value": 517 + "value": 516 } }, "default": [ @@ -47043,7 +47026,7 @@ "Blake2_128Concat" ], "key": 0, - "value": 521 + "value": 520 } }, "default": [ @@ -47062,7 +47045,7 @@ "Blake2_128Concat" ], "key": 0, - "value": 524 + "value": 523 } }, "default": [ @@ -47081,7 +47064,7 @@ "Blake2_128Concat" ], "key": 0, - "value": 524 + "value": 523 } }, "default": [ @@ -47187,7 +47170,7 @@ } ], "error": { - "ty": 527 + "ty": 526 }, "index": 5 }, @@ -47200,7 +47183,7 @@ "name": "NextFeeMultiplier", "modifier": "Default", "ty": { - "Plain": 528 + "Plain": 527 }, "default": [ 0, @@ -47226,7 +47209,7 @@ "name": "StorageVersion", "modifier": "Default", "ty": { - "Plain": 529 + "Plain": 528 }, "default": [ 0 @@ -47484,7 +47467,7 @@ "Blake2_128Concat" ], "key": 0, - "value": 530 + "value": 529 } }, "default": [ @@ -47577,7 +47560,7 @@ "Twox64Concat" ], "key": 0, - "value": 535 + "value": 534 } }, "default": [ @@ -47655,7 +47638,7 @@ "name": "ActiveEra", "modifier": "Optional", "ty": { - "Plain": 537 + "Plain": 536 }, "default": [ 0 @@ -47698,7 +47681,7 @@ "Twox64Concat", "Twox64Concat" ], - "key": 539, + "key": 538, "value": 59 } }, @@ -47725,7 +47708,7 @@ "Twox64Concat", "Twox64Concat" ], - "key": 539, + "key": 538, "value": 59 } }, @@ -47757,7 +47740,7 @@ "Twox64Concat", "Twox64Concat" ], - "key": 539, + "key": 538, "value": 42 } }, @@ -47803,7 +47786,7 @@ "Twox64Concat" ], "key": 4, - "value": 540 + "value": 539 } }, "default": [ @@ -47922,7 +47905,7 @@ "Twox64Concat" ], "key": 4, - "value": 544 + "value": 543 } }, "default": [ @@ -47957,8 +47940,8 @@ "Twox64Concat", "Twox64Concat" ], - "key": 539, - "value": 546 + "key": 538, + "value": 545 } }, "default": [ @@ -47978,7 +47961,7 @@ "Twox64Concat", "Twox64Concat" ], - "key": 539, + "key": 538, "value": 6 } }, @@ -47998,7 +47981,7 @@ "Twox64Concat" ], "key": 0, - "value": 547 + "value": 546 } }, "default": [ @@ -48016,8 +47999,8 @@ "hashers": [ "Twox64Concat" ], - "key": 543, - "value": 548 + "key": 542, + "value": 547 } }, "default": [ @@ -48081,7 +48064,7 @@ "name": "OffendingValidators", "modifier": "Default", "ty": { - "Plain": 549 + "Plain": 548 }, "default": [ 0 @@ -48249,7 +48232,7 @@ } ], "error": { - "ty": 551 + "ty": 550 }, "index": 7 }, @@ -48267,7 +48250,7 @@ "Twox64Concat" ], "key": 12, - "value": 552 + "value": 551 } }, "default": [ @@ -48286,7 +48269,7 @@ "Twox64Concat", "Twox64Concat" ], - "key": 553, + "key": 552, "value": 474 } }, @@ -48392,7 +48375,7 @@ "name": "QueuedKeys", "modifier": "Default", "ty": { - "Plain": 554 + "Plain": 553 }, "default": [ 0 @@ -48446,7 +48429,7 @@ "hashers": [ "Twox64Concat" ], - "key": 556, + "key": 555, "value": 0 } }, @@ -48467,7 +48450,7 @@ }, "constants": [], "error": { - "ty": 558 + "ty": 557 }, "index": 9 }, @@ -48480,7 +48463,7 @@ "name": "State", "modifier": "Default", "ty": { - "Plain": 559 + "Plain": 558 }, "default": [ 0 @@ -48493,7 +48476,7 @@ "name": "PendingChange", "modifier": "Optional", "ty": { - "Plain": 560 + "Plain": 559 }, "default": [ 0 @@ -48623,7 +48606,7 @@ } ], "error": { - "ty": 562 + "ty": 561 }, "index": 11 }, @@ -48662,7 +48645,7 @@ "name": "Keys", "modifier": "Default", "ty": { - "Plain": 563 + "Plain": 562 }, "default": [ 0 @@ -48681,7 +48664,7 @@ "Twox64Concat" ], "key": 31, - "value": 565 + "value": 564 } }, "default": [ @@ -48701,7 +48684,7 @@ "Twox64Concat", "Twox64Concat" ], - "key": 539, + "key": 538, "value": 4 } }, @@ -48747,7 +48730,7 @@ } ], "error": { - "ty": 570 + "ty": 569 }, "index": 12 }, @@ -48785,7 +48768,7 @@ "name": "PublicProps", "modifier": "Default", "ty": { - "Plain": 571 + "Plain": 570 }, "default": [ 0 @@ -48803,7 +48786,7 @@ "Twox64Concat" ], "key": 4, - "value": 574 + "value": 573 } }, "default": [ @@ -48857,7 +48840,7 @@ "Twox64Concat" ], "key": 4, - "value": 576 + "value": 575 } }, "default": [ @@ -48878,7 +48861,7 @@ "Twox64Concat" ], "key": 0, - "value": 579 + "value": 578 } }, "default": [ @@ -48962,7 +48945,7 @@ "name": "NextExternal", "modifier": "Optional", "ty": { - "Plain": 585 + "Plain": 584 }, "default": [ 0 @@ -48983,7 +48966,7 @@ "Identity" ], "key": 12, - "value": 586 + "value": 585 } }, "default": [ @@ -49225,7 +49208,7 @@ } ], "error": { - "ty": 587 + "ty": 586 }, "index": 14 }, @@ -49238,7 +49221,7 @@ "name": "Proposals", "modifier": "Default", "ty": { - "Plain": 588 + "Plain": 587 }, "default": [ 0 @@ -49275,7 +49258,7 @@ "Identity" ], "key": 12, - "value": 589 + "value": 588 } }, "default": [ @@ -49335,34 +49318,9 @@ "event": { "ty": 68 }, - "constants": [ - { - "name": "MaxProposalWeight", - "ty": 9, - "value": [ - 7, - 0, - 16, - 165, - 212, - 232, - 19, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 127 - ], - "docs": [ - " The maximum weight of a dispatch call that can be proposed and executed." - ] - } - ], + "constants": [], "error": { - "ty": 590 + "ty": 589 }, "index": 15 }, @@ -49375,7 +49333,7 @@ "name": "Proposals", "modifier": "Default", "ty": { - "Plain": 591 + "Plain": 590 }, "default": [ 0 @@ -49412,7 +49370,7 @@ "Identity" ], "key": 12, - "value": 589 + "value": 588 } }, "default": [ @@ -49472,34 +49430,9 @@ "event": { "ty": 69 }, - "constants": [ - { - "name": "MaxProposalWeight", - "ty": 9, - "value": [ - 7, - 0, - 16, - 165, - 212, - 232, - 19, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 127 - ], - "docs": [ - " The maximum weight of a dispatch call that can be proposed and executed." - ] - } - ], + "constants": [], "error": { - "ty": 592 + "ty": 591 }, "index": 16 }, @@ -49512,7 +49445,7 @@ "name": "Members", "modifier": "Default", "ty": { - "Plain": 593 + "Plain": 592 }, "default": [ 0 @@ -49527,7 +49460,7 @@ "name": "RunnersUp", "modifier": "Default", "ty": { - "Plain": 593 + "Plain": 592 }, "default": [ 0 @@ -49582,7 +49515,7 @@ "Twox64Concat" ], "key": 0, - "value": 595 + "value": 594 } }, "default": [ @@ -49825,7 +49758,7 @@ } ], "error": { - "ty": 596 + "ty": 595 }, "index": 17 }, @@ -49838,7 +49771,7 @@ "name": "Members", "modifier": "Default", "ty": { - "Plain": 597 + "Plain": 596 }, "default": [ 0 @@ -49870,7 +49803,7 @@ }, "constants": [], "error": { - "ty": 598 + "ty": 597 }, "index": 18 }, @@ -49904,7 +49837,7 @@ "Twox64Concat" ], "key": 4, - "value": 599 + "value": 598 } }, "default": [ @@ -49946,7 +49879,7 @@ "name": "Approvals", "modifier": "Default", "ty": { - "Plain": 600 + "Plain": 599 }, "default": [ 0 @@ -49966,7 +49899,7 @@ "constants": [ { "name": "ProposalBond", - "ty": 601, + "ty": 600, "value": [ 80, 195, @@ -50005,7 +49938,7 @@ }, { "name": "ProposalBondMaximum", - "ty": 602, + "ty": 601, "value": [ 1, 0, @@ -50044,7 +49977,7 @@ }, { "name": "Burn", - "ty": 601, + "ty": 600, "value": [ 16, 39, @@ -50057,7 +49990,7 @@ }, { "name": "PalletId", - "ty": 603, + "ty": 602, "value": [ 112, 121, @@ -50089,7 +50022,7 @@ } ], "error": { - "ty": 604 + "ty": 603 }, "index": 19 }, @@ -50107,8 +50040,8 @@ "Twox64Concat", "Twox64Concat" ], - "key": 605, - "value": 606 + "key": 604, + "value": 605 } }, "default": [ @@ -50181,7 +50114,7 @@ "Twox64Concat" ], "key": 0, - "value": 614 + "value": 613 } }, "default": [ @@ -50236,7 +50169,7 @@ } ], "error": { - "ty": 617 + "ty": 616 }, "index": 20 }, @@ -50270,7 +50203,7 @@ "Blake2_128Concat" ], "key": 4, - "value": 618 + "value": 617 } }, "default": [ @@ -50289,7 +50222,7 @@ "Twox64Concat" ], "key": 77, - "value": 626 + "value": 625 } }, "default": [ @@ -50426,7 +50359,7 @@ }, { "name": "Tracks", - "ty": 629, + "ty": 628, "value": [ 60, 0, @@ -51821,7 +51754,7 @@ } ], "error": { - "ty": 635 + "ty": 634 }, "index": 21 }, @@ -51857,7 +51790,7 @@ }, "constants": [], "error": { - "ty": 636 + "ty": 635 }, "index": 23 }, @@ -52021,7 +51954,7 @@ } ], "error": { - "ty": 637 + "ty": 636 }, "index": 24 }, @@ -52039,7 +51972,7 @@ "Blake2_128Concat" ], "key": 0, - "value": 638 + "value": 637 } }, "default": [ @@ -52053,7 +51986,7 @@ "name": "StorageVersion", "modifier": "Default", "ty": { - "Plain": 640 + "Plain": 639 }, "default": [ 0 @@ -52111,7 +52044,7 @@ } ], "error": { - "ty": 641 + "ty": 640 }, "index": 25 }, @@ -52140,7 +52073,7 @@ } ], "error": { - "ty": 642 + "ty": 641 }, "index": 26 }, @@ -52158,7 +52091,7 @@ "Twox64Concat" ], "key": 0, - "value": 643 + "value": 642 } }, "default": [ @@ -52199,7 +52132,7 @@ "Twox64Concat" ], "key": 0, - "value": 647 + "value": 646 } }, "default": [ @@ -52233,7 +52166,7 @@ "name": "Registrars", "modifier": "Default", "ty": { - "Plain": 649 + "Plain": 648 }, "default": [ 0 @@ -52374,7 +52307,7 @@ } ], "error": { - "ty": 653 + "ty": 652 }, "index": 28 }, @@ -52392,7 +52325,7 @@ "Twox64Concat" ], "key": 0, - "value": 654 + "value": 653 } }, "default": [ @@ -52428,7 +52361,7 @@ "Twox64Concat" ], "key": 0, - "value": 658 + "value": 657 } }, "default": [ @@ -52604,7 +52537,7 @@ } ], "error": { - "ty": 662 + "ty": 661 }, "index": 29 }, @@ -52622,8 +52555,8 @@ "Twox64Concat", "Blake2_128Concat" ], - "key": 663, - "value": 664 + "key": 662, + "value": 663 } }, "default": [ @@ -52714,7 +52647,7 @@ } ], "error": { - "ty": 666 + "ty": 665 }, "index": 30 }, @@ -52748,7 +52681,7 @@ "Twox64Concat" ], "key": 4, - "value": 667 + "value": 666 } }, "default": [ @@ -52767,7 +52700,7 @@ "Twox64Concat" ], "key": 4, - "value": 669 + "value": 668 } }, "default": [ @@ -52781,7 +52714,7 @@ "name": "BountyApprovals", "modifier": "Default", "ty": { - "Plain": 600 + "Plain": 599 }, "default": [ 0 @@ -52852,7 +52785,7 @@ }, { "name": "CuratorDepositMultiplier", - "ty": 601, + "ty": 600, "value": [ 32, 161, @@ -52868,7 +52801,7 @@ }, { "name": "CuratorDepositMax", - "ty": 602, + "ty": 601, "value": [ 1, 0, @@ -52894,7 +52827,7 @@ }, { "name": "CuratorDepositMin", - "ty": 602, + "ty": 601, "value": [ 1, 0, @@ -52985,7 +52918,7 @@ } ], "error": { - "ty": 670 + "ty": 669 }, "index": 34 }, @@ -53043,7 +52976,7 @@ "Twox64Concat" ], "key": 31, - "value": 671 + "value": 670 } }, "default": [ @@ -53062,7 +52995,7 @@ "Twox64Concat" ], "key": 4, - "value": 669 + "value": 668 } }, "default": [ @@ -53155,7 +53088,7 @@ } ], "error": { - "ty": 673 + "ty": 672 }, "index": 38 }, @@ -53173,7 +53106,7 @@ "Twox64Concat" ], "key": 12, - "value": 674 + "value": 673 } }, "default": [ @@ -53304,7 +53237,7 @@ } ], "error": { - "ty": 675 + "ty": 674 }, "index": 35 }, @@ -53351,7 +53284,7 @@ "name": "QueuedSolution", "modifier": "Optional", "ty": { - "Plain": 676 + "Plain": 675 }, "default": [ 0 @@ -53364,7 +53297,7 @@ "name": "Snapshot", "modifier": "Optional", "ty": { - "Plain": 678 + "Plain": 677 }, "default": [ 0 @@ -53433,7 +53366,7 @@ "name": "SignedSubmissionIndices", "modifier": "Default", "ty": { - "Plain": 681 + "Plain": 680 }, "default": [ 0 @@ -53456,7 +53389,7 @@ "Twox64Concat" ], "key": 4, - "value": 684 + "value": 683 } }, "default": [ @@ -53845,7 +53778,7 @@ } ], "error": { - "ty": 685 + "ty": 684 }, "index": 36 }, @@ -53863,7 +53796,7 @@ "Twox64Concat" ], "key": 0, - "value": 686 + "value": 685 } }, "default": [ @@ -53900,7 +53833,7 @@ "Twox64Concat" ], "key": 11, - "value": 687 + "value": 686 } }, "default": [ @@ -53923,7 +53856,7 @@ "constants": [ { "name": "BagThresholds", - "ty": 688, + "ty": 687, "value": [ 33, 3, @@ -55576,7 +55509,7 @@ } ], "error": { - "ty": 689 + "ty": 688 }, "index": 37 }, @@ -55713,7 +55646,7 @@ "Twox64Concat" ], "key": 0, - "value": 691 + "value": 690 } }, "default": [ @@ -55750,7 +55683,7 @@ "Twox64Concat" ], "key": 4, - "value": 694 + "value": 693 } }, "default": [ @@ -55785,7 +55718,7 @@ "Twox64Concat" ], "key": 4, - "value": 699 + "value": 698 } }, "default": [ @@ -55821,7 +55754,7 @@ "Twox64Concat" ], "key": 4, - "value": 700 + "value": 699 } }, "default": [ @@ -55857,7 +55790,7 @@ "Twox64Concat" ], "key": 4, - "value": 706 + "value": 705 } }, "default": [ @@ -55967,7 +55900,7 @@ "constants": [ { "name": "PalletId", - "ty": 603, + "ty": 602, "value": [ 112, 121, @@ -56005,7 +55938,7 @@ } ], "error": { - "ty": 707 + "ty": 706 }, "index": 39 }, @@ -56018,7 +55951,7 @@ "name": "Head", "modifier": "Optional", "ty": { - "Plain": 709 + "Plain": 708 }, "default": [ 0 @@ -56124,7 +56057,7 @@ } ], "error": { - "ty": 712 + "ty": 711 }, "index": 40 }, @@ -56146,7 +56079,7 @@ "name": "ActiveConfig", "modifier": "Default", "ty": { - "Plain": 713 + "Plain": 712 }, "default": [ 0, @@ -56350,7 +56283,7 @@ "name": "PendingConfigs", "modifier": "Default", "ty": { - "Plain": 714 + "Plain": 713 }, "default": [ 0 @@ -56387,7 +56320,7 @@ "event": null, "constants": [], "error": { - "ty": 716 + "ty": 715 }, "index": 51 }, @@ -56416,7 +56349,7 @@ "name": "ActiveValidatorIndices", "modifier": "Default", "ty": { - "Plain": 717 + "Plain": 716 }, "default": [ 0 @@ -56430,7 +56363,7 @@ "name": "ActiveValidatorKeys", "modifier": "Default", "ty": { - "Plain": 718 + "Plain": 717 }, "default": [ 0 @@ -56464,7 +56397,7 @@ "Twox64Concat" ], "key": 324, - "value": 719 + "value": 718 } }, "default": [ @@ -56483,7 +56416,7 @@ "Twox64Concat" ], "key": 162, - "value": 720 + "value": 719 } }, "default": [ @@ -56522,7 +56455,7 @@ }, "constants": [], "error": { - "ty": 721 + "ty": 720 }, "index": 53 }, @@ -56553,7 +56486,7 @@ "name": "OnChainVotes", "modifier": "Optional", "ty": { - "Plain": 722 + "Plain": 721 }, "default": [ 0 @@ -56570,7 +56503,7 @@ "event": null, "constants": [], "error": { - "ty": 727 + "ty": 726 }, "index": 54 }, @@ -56583,7 +56516,7 @@ "name": "ValidatorGroups", "modifier": "Default", "ty": { - "Plain": 728 + "Plain": 727 }, "default": [ 0 @@ -56601,7 +56534,7 @@ "name": "ParathreadQueue", "modifier": "Default", "ty": { - "Plain": 729 + "Plain": 728 }, "default": [ 0, @@ -56621,7 +56554,7 @@ "name": "AvailabilityCores", "modifier": "Default", "ty": { - "Plain": 734 + "Plain": 733 }, "default": [ 0 @@ -56641,7 +56574,7 @@ "name": "ParathreadClaimIndex", "modifier": "Default", "ty": { - "Plain": 737 + "Plain": 736 }, "default": [ 0 @@ -56678,7 +56611,7 @@ "name": "Scheduled", "modifier": "Default", "ty": { - "Plain": 738 + "Plain": 737 }, "default": [ 0 @@ -56714,7 +56647,7 @@ "Twox64Concat" ], "key": 332, - "value": 741 + "value": 740 } }, "default": [ @@ -56731,7 +56664,7 @@ "name": "PvfActiveVoteList", "modifier": "Default", "ty": { - "Plain": 744 + "Plain": 743 }, "default": [ 0 @@ -56744,7 +56677,7 @@ "name": "Parachains", "modifier": "Default", "ty": { - "Plain": 737 + "Plain": 736 }, "default": [ 0 @@ -56764,7 +56697,7 @@ "Twox64Concat" ], "key": 162, - "value": 745 + "value": 744 } }, "default": [ @@ -56822,7 +56755,7 @@ "hashers": [ "Twox64Concat" ], - "key": 746, + "key": 745, "value": 332 } }, @@ -56845,7 +56778,7 @@ "Twox64Concat" ], "key": 162, - "value": 747 + "value": 746 } }, "default": [ @@ -56862,7 +56795,7 @@ "name": "PastCodePruning", "modifier": "Default", "ty": { - "Plain": 750 + "Plain": 749 }, "default": [ 0 @@ -56927,7 +56860,7 @@ "Twox64Concat" ], "key": 162, - "value": 751 + "value": 750 } }, "default": [ @@ -56954,7 +56887,7 @@ "Twox64Concat" ], "key": 162, - "value": 752 + "value": 751 } }, "default": [ @@ -56976,7 +56909,7 @@ "name": "UpgradeCooldowns", "modifier": "Default", "ty": { - "Plain": 750 + "Plain": 749 }, "default": [ 0 @@ -56991,7 +56924,7 @@ "name": "UpcomingUpgrades", "modifier": "Default", "ty": { - "Plain": 750 + "Plain": 749 }, "default": [ 0 @@ -57012,7 +56945,7 @@ "Twox64Concat" ], "key": 4, - "value": 737 + "value": 736 } }, "default": [ @@ -57031,7 +56964,7 @@ "Twox64Concat" ], "key": 162, - "value": 753 + "value": 752 } }, "default": [ @@ -57114,7 +57047,7 @@ } ], "error": { - "ty": 754 + "ty": 753 }, "index": 56 }, @@ -57147,7 +57080,7 @@ "name": "BufferedSessionChanges", "modifier": "Default", "ty": { - "Plain": 755 + "Plain": 754 }, "default": [ 0 @@ -57186,7 +57119,7 @@ "Twox64Concat" ], "key": 162, - "value": 757 + "value": 756 } }, "default": [ @@ -57331,7 +57264,7 @@ "name": "NeedsDispatch", "modifier": "Default", "ty": { - "Plain": 737 + "Plain": 736 }, "default": [ 0 @@ -57370,7 +57303,7 @@ "Twox64Concat" ], "key": 11, - "value": 759 + "value": 758 } }, "default": [ @@ -57429,7 +57362,7 @@ }, "constants": [], "error": { - "ty": 760 + "ty": 759 }, "index": 59 }, @@ -57447,7 +57380,7 @@ "Twox64Concat" ], "key": 357, - "value": 761 + "value": 760 } }, "default": [ @@ -57466,7 +57399,7 @@ "name": "HrmpOpenChannelRequestsList", "modifier": "Default", "ty": { - "Plain": 762 + "Plain": 761 }, "default": [ 0 @@ -57550,7 +57483,7 @@ "name": "HrmpCloseChannelRequestsList", "modifier": "Default", "ty": { - "Plain": 762 + "Plain": 761 }, "default": [ 0 @@ -57587,7 +57520,7 @@ "Twox64Concat" ], "key": 357, - "value": 763 + "value": 762 } }, "default": [ @@ -57608,7 +57541,7 @@ "Twox64Concat" ], "key": 162, - "value": 737 + "value": 736 } }, "default": [ @@ -57639,7 +57572,7 @@ "Twox64Concat" ], "key": 162, - "value": 737 + "value": 736 } }, "default": [ @@ -57656,7 +57589,7 @@ "Twox64Concat" ], "key": 357, - "value": 764 + "value": 763 } }, "default": [ @@ -57676,7 +57609,7 @@ "Twox64Concat" ], "key": 162, - "value": 766 + "value": 765 } }, "default": [ @@ -57701,7 +57634,7 @@ }, "constants": [], "error": { - "ty": 768 + "ty": 767 }, "index": 60 }, @@ -57714,7 +57647,7 @@ "name": "AssignmentKeysUnsafe", "modifier": "Default", "ty": { - "Plain": 769 + "Plain": 768 }, "default": [ 0 @@ -57750,7 +57683,7 @@ "Identity" ], "key": 4, - "value": 770 + "value": 769 } }, "default": [ @@ -57836,8 +57769,8 @@ "Twox64Concat", "Blake2_128Concat" ], - "key": 774, - "value": 775 + "key": 773, + "value": 774 } }, "default": [ @@ -57856,8 +57789,8 @@ "Twox64Concat", "Blake2_128Concat" ], - "key": 774, - "value": 776 + "key": 773, + "value": 775 } }, "default": [ @@ -57877,7 +57810,7 @@ "Twox64Concat", "Blake2_128Concat" ], - "key": 774, + "key": 773, "value": 4 } }, @@ -57915,7 +57848,7 @@ }, "constants": [], "error": { - "ty": 777 + "ty": 776 }, "index": 62 }, @@ -57952,7 +57885,7 @@ "Twox64Concat" ], "key": 162, - "value": 778 + "value": 777 } }, "default": [ @@ -58043,7 +57976,7 @@ } ], "error": { - "ty": 779 + "ty": 778 }, "index": 70 }, @@ -58061,7 +57994,7 @@ "Twox64Concat" ], "key": 162, - "value": 780 + "value": 779 } }, "default": [ @@ -58123,7 +58056,7 @@ } ], "error": { - "ty": 781 + "ty": 780 }, "index": 71 }, @@ -58173,7 +58106,7 @@ "hashers": [ "Twox64Concat" ], - "key": 782, + "key": 781, "value": 6 } }, @@ -58194,7 +58127,7 @@ "Twox64Concat" ], "key": 4, - "value": 783 + "value": 782 } }, "default": [ @@ -58267,7 +58200,7 @@ } ], "error": { - "ty": 786 + "ty": 785 }, "index": 72 }, @@ -58285,7 +58218,7 @@ "Twox64Concat" ], "key": 162, - "value": 787 + "value": 786 } }, "default": [ @@ -58299,7 +58232,7 @@ "name": "NewRaise", "modifier": "Default", "ty": { - "Plain": 737 + "Plain": 736 }, "default": [ 0 @@ -58352,7 +58285,7 @@ "constants": [ { "name": "PalletId", - "ty": 603, + "ty": 602, "value": [ 112, 121, @@ -58408,7 +58341,7 @@ } ], "error": { - "ty": 789 + "ty": 788 }, "index": 73 }, @@ -58446,7 +58379,7 @@ "Blake2_128Concat" ], "key": 11, - "value": 790 + "value": 789 } }, "default": [ @@ -58504,7 +58437,7 @@ "Twox64Concat", "Blake2_128Concat" ], - "key": 795, + "key": 794, "value": 4 } }, @@ -58524,7 +58457,7 @@ "Twox64Concat", "Blake2_128Concat" ], - "key": 795, + "key": 794, "value": 11 } }, @@ -58544,8 +58477,8 @@ "Twox64Concat", "Blake2_128Concat" ], - "key": 795, - "value": 796 + "key": 794, + "value": 795 } }, "default": [ @@ -58560,7 +58493,7 @@ "name": "VersionDiscoveryQueue", "modifier": "Default", "ty": { - "Plain": 797 + "Plain": 796 }, "default": [ 0 @@ -58575,7 +58508,7 @@ "name": "CurrentMigration", "modifier": "Optional", "ty": { - "Plain": 800 + "Plain": 799 }, "default": [ 0 @@ -58594,8 +58527,8 @@ "Blake2_128Concat", "Blake2_128Concat" ], - "key": 802, - "value": 804 + "key": 801, + "value": 803 } }, "default": [ @@ -58614,7 +58547,7 @@ "Blake2_128Concat" ], "key": 0, - "value": 805 + "value": 804 } }, "default": [ @@ -58634,63 +58567,63 @@ }, "constants": [], "error": { - "ty": 808 + "ty": 807 }, "index": 99 } ], "extrinsic": { - "ty": 809, + "ty": 808, "version": 4, "signed_extensions": [ { "identifier": "CheckNonZeroSender", - "ty": 811, + "ty": 810, "additional_signed": 34 }, { "identifier": "CheckSpecVersion", - "ty": 812, + "ty": 811, "additional_signed": 4 }, { "identifier": "CheckTxVersion", - "ty": 813, + "ty": 812, "additional_signed": 4 }, { "identifier": "CheckGenesis", - "ty": 814, + "ty": 813, "additional_signed": 12 }, { "identifier": "CheckMortality", - "ty": 815, + "ty": 814, "additional_signed": 12 }, { "identifier": "CheckNonce", - "ty": 817, + "ty": 816, "additional_signed": 34 }, { "identifier": "CheckWeight", - "ty": 818, + "ty": 817, "additional_signed": 34 }, { "identifier": "ChargeTransactionPayment", - "ty": 819, + "ty": 818, "additional_signed": 34 }, { "identifier": "PrevalidateAttests", - "ty": 820, + "ty": 819, "additional_signed": 34 } ] }, - "ty": 821 + "ty": 820 } } ] diff --git a/subxt/src/blocks/block_types.rs b/subxt/src/blocks/block_types.rs index 8d25717e3a..79e0e1c3e8 100644 --- a/subxt/src/blocks/block_types.rs +++ b/subxt/src/blocks/block_types.rs @@ -17,8 +17,8 @@ use codec::{Codec, Decode, Encode}; use derivative::Derivative; use frame_metadata::v15::RuntimeMetadataV15; use futures::lock::Mutex as AsyncMutex; -use scale_value::Value; -use std::{collections::HashMap, sync::Arc}; +use scale_value::{scale::decode_as_type, Value}; +use std::{collections::HashMap, marker::PhantomData, sync::Arc}; /// A representation of a block. pub struct Block { @@ -259,13 +259,14 @@ where pub function: DecodedValueThunk, } -pub struct ExtrinsicValueThunk { +pub struct ExtrinsicValueThunk { /// The signature, address, number of extrinsics have come before from /// the same signer and an era describing the longevity of this transaction, /// if this is a signed extrinsic. - pub signature: Option<(DecodedValueThunk, DecodedValueThunk, DecodedValueThunk)>, + pub signature: Option<(Value, Value, Value)>, /// The function that should be called. pub function: DecodedValueThunk, + _phantom: PhantomData, } impl<'a, T, C> Extrinsic<'a, T, C> @@ -332,7 +333,7 @@ where } /// Decode the extrinsic to the provided return type. - pub fn decode_generic(&self) -> Result { + pub fn decode_generic(&self) -> Result, ExtrinsicError> { const SIGNATURE_MASK: u8 = 0b1000_0000; const VERSION_MASK: u8 = 0b0111_1111; const LATEST_EXTRINSIC_VERSION: u8 = 4; @@ -347,6 +348,7 @@ where println!("byteslen {:?}", self.bytes.len()); println!("bytes {:?}", self.bytes); + println!("byteshex {:?}", hex::encode(&self.bytes)); let version = self.bytes[0] & VERSION_MASK; if version != LATEST_EXTRINSIC_VERSION { @@ -361,50 +363,91 @@ where println!("byteslen {:?}", bytes.len()); - let cursor = &mut &bytes[..]; let metadata = self.client.metadata(); let signature = if is_signed { - println!("bytes {:?}", cursor); + println!("byteshex {:?}", hex::encode(&bytes)); - // When the payload is signed, the signature is encoded as - // Option<(Address, Signature, Extra)>. Get rid of the first - // bit which signals the option. - let is_option: u8 = Decode::decode(cursor).map_err(|_| ExtrinsicError::InsufficientData)?; - if is_option != 1 { - println!("Is this option or now: {:?}", is_option); - // return Err(ExtrinsicError::InvalidSignature); - } + // let address_prefix: u8 = + // Decode::decode(cursor).map_err(|_| ExtrinsicError::InsufficientData)?; - // skip over the bytes - let len = cursor.len(); - let address = ::decode_with_metadata( - cursor, - self.ids.address, - &metadata, - ) - .map_err(|_| ExtrinsicError::InsufficientData)?; - let after = cursor.len(); - println!("Curson length: {:?} {:?}", len, after); + let address = + decode_as_type(cursor, self.ids.address, &metadata.runtime_metadata().types) + .map_err(|_| ExtrinsicError::InsufficientData)?; - let signature = ::decode_with_metadata( + let signature = decode_as_type( cursor, self.ids.signature, - &metadata, + &metadata.runtime_metadata().types, ) .map_err(|_| ExtrinsicError::InsufficientData)?; - let extra: DecodedValueThunk = - ::decode_with_metadata( - cursor, - self.ids.extra, - &metadata, - ) + // let address: T::Address = + // Decode::decode(cursor).map_err(|_| ExtrinsicError::InsufficientData)?; + + println!(" ADDRESS IS {:?}", address); + + // let signature: T::Signature = + // Decode::decode(cursor).map_err(|_| ExtrinsicError::InsufficientData)?; + + println!(" Signature IS {:?}", signature); + + // Skip over the bytes for this field: + // scale_decode::visitor::decode_with_visitor( + // cursor, + // self.ids.extra, + // &metadata.runtime_metadata().types, + // scale_decode::visitor::IgnoreVisitor, + // ) + // .map_err(|_| ExtrinsicError::InsufficientData)?; + + let extra = decode_as_type(cursor, self.ids.extra, &metadata.runtime_metadata().types) .map_err(|_| ExtrinsicError::InsufficientData)?; + println!(" extra IS {:?}", extra); + + // let extra: T::ExtrinsicParams = + // Decode::decode(cursor).map_err(|_| ExtrinsicError::InsufficientData)?; + + // // When the payload is signed, the signature is encoded as + // // Option<(Address, Signature, Extra)>. Get rid of the first + // // bit which signals the option. + // let is_option: u8 = Decode::decode(cursor).map_err(|_| ExtrinsicError::InsufficientData)?; + // if is_option != 1 { + // println!("Is this option or now: {:?}", is_option); + // // return Err(ExtrinsicError::InvalidSignature); + // } + + // skip over the bytes + // let len = cursor.len(); + // let address = ::decode_with_metadata( + // cursor, + // self.ids.address, + // &metadata, + // ) + // .map_err(|_| ExtrinsicError::InsufficientData)?; + // let after = cursor.len(); + // println!("Curson length: {:?} {:?}", len, after); + + // let signature: DecodedValueThunk = + // ::decode_with_metadata( + // cursor, + // self.ids.signature, + // &metadata, + // ) + // .map_err(|_| ExtrinsicError::InsufficientData)?; + + // let extra: DecodedValueThunk = + // ::decode_with_metadata( + // cursor, + // self.ids.extra, + // &metadata, + // ) + // .map_err(|_| ExtrinsicError::InsufficientData)?; + Some((address, signature, extra)) } else { None @@ -430,6 +473,7 @@ where Ok(ExtrinsicValueThunk { signature, function, + _phantom: PhantomData, }) } } @@ -504,7 +548,7 @@ pub enum ExtrinsicError { /// Unsupported signature. SignatureUnsupported, /// Invalid signature. - InvalidSignature, + InvalidSignature, /// The extrinsic has an unsupported version. UnsupportedVersion(u8), /// Decoding error.