Back to Proposals
Correct state after failed v6 migration
1mo ago
FastTracked

Due to a bug in the v6 VaultRegistry migration all Vaults now have an incorrect number of issued_tokens which puts many below the liquidation threshold. Fortunately, the stake stored in VaultRewards is still correct which prevents liquidation since that number is smaller than the value trying to be liquidated.

This fix manually forces the VaultRegistry to the correct state which was determined by querying the storage prior to runtime upgrade and applying the expected migration function. More details to follow in our post-mortem.

Request for TC fast-track to minimize system downtime.

Edited
Reply
Up
Share
Second
No current seconds
This proposal has been turned into referendum.
Metadata
hash
0xa8bdb6cd1005b1202d679bd41c720c8682503068651c78eb4a9698c4c55ef002
deposit
5 vKINT
proposer
Call
Table
Json
callIndex0x0005
sectionsystem
methodsetStorage
args
items
0
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19031c634b01345e5d3260212aa1500cc57c6c062db0f32faa2aa6187e538921d24e18733aca93d320c99ef1ab64007226000a000b
10x7c6c062db0f32faa2aa6187e538921d24e18733aca93d320c99ef1ab64007226000a000b01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1906837d0c460f380e67d3a2015a746b684eab094aeff989575fc9f58a1c1eb72e7d1a23610e08d0f559ed8a264e349027000a000b
10x4eab094aeff989575fc9f58a1c1eb72e7d1a23610e08d0f559ed8a264e349027000a000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1908d2dead799da43322f95a4ba3161127fcd3d5ea671f5a999d1bae09c71d3841243dae9eb15e83936823c8dfa1843a1d000a000b
10xfcd3d5ea671f5a999d1bae09c71d3841243dae9eb15e83936823c8dfa1843a1d000a000b000101540c06000000000000000000000000000000000000fc8104000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a190b3f6108759f734ad5568315d47e09596e05bb047b521bc5aac40b8da3017dce45df617567b552994f9b69a00810ee01000a000b
10x6e05bb047b521bc5aac40b8da3017dce45df617567b552994f9b69a00810ee01000a000b0101b8e303000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
4
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a190f7fa693e46f9896e5a3d9a870a208b04414a24e07d787dd2f5f8535af4e31cabc2fbc0c2cfd813d12f5a9430d95e342000a000b
10x4414a24e07d787dd2f5f8535af4e31cabc2fbc0c2cfd813d12f5a9430d95e342000a000b0000000000000000000000000000000000000000c4cdfa03000000000000000000000000b82e0f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
5
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1910a7586fe3ee9e660d74516758e84463a0cbe36bc2fefc1d0a0d84833761b5189784c462b5030cf42dfc9c9b59a5d967000a000b
10xa0cbe36bc2fefc1d0a0d84833761b5189784c462b5030cf42dfc9c9b59a5d967000a000b0101a9e403000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
6
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1915545ee572967915a293f451a57405fb88e8576095e1168c3a275fc3c57109ff8b6ff802bd34cb822391dde168ee9d19000a000b
10x88e8576095e1168c3a275fc3c57109ff8b6ff802bd34cb822391dde168ee9d19000a000b0001000000000000000000000000000000000000d9bf1f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
7
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1917f4b9e0c5bd1164cd602df850b0c07b24ac7fb5407f270d807425ecc6352305c0a21b9e7a1ba9812a1785a2af9b955a000a000b
10x24ac7fb5407f270d807425ecc6352305c0a21b9e7a1ba9812a1785a2af9b955a000a000b010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c226f609812600000000000000000000
8
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a191e7c879c31d346d1b9661dd85246b384625aa9728cabf1249066a7c9c3e9fd4866e92156c1f3fda84a6bc970549a4325000a000b
10x625aa9728cabf1249066a7c9c3e9fd4866e92156c1f3fda84a6bc970549a4325000a000b000101ca9b090000000000000000000000000000000000007ac0b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
9
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19215874162499b44a5cf69100d4795cbdfc0ac191bf78e8d96ba9b2b1d6053dbfcbc703fb5eead99b4a71998c9db5680e000a000b
10xfc0ac191bf78e8d96ba9b2b1d6053dbfcbc703fb5eead99b4a71998c9db5680e000a000b00010000000000000000000000000000000000000428ff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
10
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a192206437b1c6cc06aaeed8f5c38c74b90a4172992b14627f2b859083885e0bb7e7190253242ff166bcf399fa0e041811d000a000b
10xa4172992b14627f2b859083885e0bb7e7190253242ff166bcf399fa0e041811d000a000b0001018e6f090000000000000000000000000000000000000e784b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
11
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19238f8a5c6b30977ef4fdcaa5649891bb5855f6f9634a68990a917f22cda160e53f14a0bab251926d946650b4df53412f000a000b
10x5855f6f9634a68990a917f22cda160e53f14a0bab251926d946650b4df53412f000a000b0001000100002cf61a24a2290000000000000000000000000000000000000000000000001893a0050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
12
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1923e2d8757e6d20bb0208dd919b9813b78c46304bd80bcf6698e06fdf34d71940c80186f8b4901c94a5dcf6c397fe6914000c000b
10x8c46304bd80bcf6698e06fdf34d71940c80186f8b4901c94a5dcf6c397fe6914000c000b0001000000000000000000000000000000000000ab0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
13
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a192cf3c0087454155b91119a0aad839cfbce688fc41b79fb77cb76fb908861a703dd7b4ac8cdcf38176994ca0e31f8ae1f000a000b
10xce688fc41b79fb77cb76fb908861a703dd7b4ac8cdcf38176994ca0e31f8ae1f000a000b000000000000000000000000000000000000000011b784190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
14
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a192f9db549678233aea627059e08e02297a0173fe5810a492cbd425363ca53d5ca02cfa6f502aa434c0b02c1f1e61c7a21000a000b
10xa0173fe5810a492cbd425363ca53d5ca02cfa6f502aa434c0b02c1f1e61c7a21000a000b0001000000000000000000000000000000000000872622040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
15
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1933e11ac19861ee8c19a668cb7c38857e8c46304bd80bcf6698e06fdf34d71940c80186f8b4901c94a5dcf6c397fe6914000a000b
10x8c46304bd80bcf6698e06fdf34d71940c80186f8b4901c94a5dcf6c397fe6914000a000b00010000000000000000000000000000000000007be312000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
16
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19444305ee467e31fcdb377a328736dbe5761f58f676248e134e7a329d1d779392aff35e6e879d08176b6ed7c0d3fa895c000a000b
10x761f58f676248e134e7a329d1d779392aff35e6e879d08176b6ed7c0d3fa895c000a000b000100000000000000000000000000000000000050c300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
17
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1944e34bffc5a63b1055e5d71f02244e20c09bc474e4fc2bca7eaf81b2e9816e574617d1b384eb81e2a6f1add94bcd970a000a000b
10xc09bc474e4fc2bca7eaf81b2e9816e574617d1b384eb81e2a6f1add94bcd970a000a000b0001000000000000000000000000000000000000892f70010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
18
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1948cfda926f748073bef9c3d381f69cc44a550be79c813f1ff4a11f65a94c5887d921edccccd849d70b0118c8f569ff1b000a000b
10x4a550be79c813f1ff4a11f65a94c5887d921edccccd849d70b0118c8f569ff1b000a000b000000000000000000000000000000000000000019b3ec000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
19
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a194abbb0966575d244ef89b34cb21b7d28b88dee81813ff9cdac0db35ffe85129808701cb383211087bf88c4715ef10f38000a000b
10xb88dee81813ff9cdac0db35ffe85129808701cb383211087bf88c4715ef10f38000a000b0000000000000000000000000000000000000000b6f172000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
20
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1953ffdfdaeb4816ca579936c74ef0d240fe01f420b60615a09f23a705f531c861cc1fb1ac6cdf58ac8431b55eab66472e000a000b
10xfe01f420b60615a09f23a705f531c861cc1fb1ac6cdf58ac8431b55eab66472e000a000b00000000000000000000000000000000000000003474c0020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
21
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a195488d388ceb268c7865f103a5c705e6e8403a733b9e13fd2a95d94e8b3ed332c93911ee7071bb281e6515eef29ce931b000a000b
10x8403a733b9e13fd2a95d94e8b3ed332c93911ee7071bb281e6515eef29ce931b000a000b00000000000000000000000000000000000000003bf191020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
22
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1960ab2635c481211cb473d83f23af5b35a0f593914237ad912c800707a07db2f767eb4b1682bf57e0279adb81ac589703000a000b
10xa0f593914237ad912c800707a07db2f767eb4b1682bf57e0279adb81ac589703000a000b00000000000000000000000000000000000000006e76223d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
23
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1961262e20eb3109394751b8b50c8d3ba8e67106fea6f3ab62f78bed4f61c5c6ee0554effeec11ce6bd2d50e0cf89e704b000a000b
10xe67106fea6f3ab62f78bed4f61c5c6ee0554effeec11ce6bd2d50e0cf89e704b000a000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
24
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19622f337d0c857bb575fa74d160167c8b9a024dba81f51f74cd0be0aaafba534e1cde38dce3ada7943d358e76b5d97454000a000b
10x9a024dba81f51f74cd0be0aaafba534e1cde38dce3ada7943d358e76b5d97454000a000b000000000000000000000000000000000000000070080a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
25
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1964182851c91280cfb7b32b272e6973396404ba4d3771eaf114c6a0a8c03db1b311f7f2576d6a65c983172e21da9a8528000a000b
10x6404ba4d3771eaf114c6a0a8c03db1b311f7f2576d6a65c983172e21da9a8528000a000b0001000000000000000000000000000000000000ae9e04000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
26
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19699506e70afc42517d3604ec24895e3ce0be143ed9e0f6f6641518d3811fb1b0ef2b79d840d5c9f2b3840e6e920d0c1b000a000b
10xe0be143ed9e0f6f6641518d3811fb1b0ef2b79d840d5c9f2b3840e6e920d0c1b000a000b0001000000000000000000000000000000000000d45813000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
27
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a196b2e9ae41413a745e9028651bd7dd9c922801235e928a8837ca6b55853fd1b327606b9aa1e906289764af2827a745278000a000b
10x22801235e928a8837ca6b55853fd1b327606b9aa1e906289764af2827a745278000a000b00000000000000000000000000000000000000009ba774030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
28
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a196f8c8e037b040fc6b07a91b2a3e8d7df0c648ba4c96d9b44e94019f001a57b70b21a8bda4225cd2ae51c45417e425819000a000b
10x0c648ba4c96d9b44e94019f001a57b70b21a8bda4225cd2ae51c45417e425819000a000b0000000000000000000000000000000000000000af5777000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
29
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19729334ad748dff94f2455816e190d95c2267df903bc8c7abc4cf694d24bcaf3d53c179c9add744b7460c2396c55a9716000a000b
10x2267df903bc8c7abc4cf694d24bcaf3d53c179c9add744b7460c2396c55a9716000a000b0001000000000000000000000000000000000000f92d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
30
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19750eb6f9e2ed6a31cb52fa19a1c57d644497b39b33f1f225b1b32c15e776181220c525345e3640d608f811dd379bee07000a000b
10x4497b39b33f1f225b1b32c15e776181220c525345e3640d608f811dd379bee07000a000b000100000000000000000000000000000000000057cd68000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
31
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a197affcfbd050eed3a5779bb3ea531f082fe2ebff8905d2f07d126d0277598f7e43efe5ddd9e62ed73d6789ceebb6cb87c000a000b
10xfe2ebff8905d2f07d126d0277598f7e43efe5ddd9e62ed73d6789ceebb6cb87c000a000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
32
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a197d44cca4691b2744a9c5acd8bddc584e083746b598b0b891412b981ea883aa08e561e07de3435d37970c5cab2bc9e347000a000b
10x083746b598b0b891412b981ea883aa08e561e07de3435d37970c5cab2bc9e347000a000b000000000000000000000000000000000000000077f9ab010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
33
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19806c04b607314d79335bea8032b4327ad43d05b20dfe9201cc66fab86548bb23bb6553c9b3cbaad3961411dfec05ec11000a000b
10xd43d05b20dfe9201cc66fab86548bb23bb6553c9b3cbaad3961411dfec05ec11000a000b00000000000000000000000000000000000000008e3280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
34
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1985921be752bf948c9524727b1d30f34b2692077859eab1d087b79a918277948aef319a0f8fee5dcc1b023cf46c62ce05000a000b
10x2692077859eab1d087b79a918277948aef319a0f8fee5dcc1b023cf46c62ce05000a000b0001000000000000000000000000000000000000d2dc0b0000000000000000000000000000000000000000000000000000000000842e010000000000000000000000000009a6f3318b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000
35
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a1988ec9a0a25044cde96a2578acd8d1eda56cde66255d1cae9b34aca631b42e74279ad7962c2033e08305842a23143bc12000a000b
10x56cde66255d1cae9b34aca631b42e74279ad7962c2033e08305842a23143bc12000a000b000000000000000000000000000000000000000019ae06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
36
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a198f5e0844e28130fef5a9560b3ff19b15aa513d2b5ed1cf41f5534755f8fe38a6c3cf58cc76d208405b58cbe77f465e00000a000b
10xaa513d2b5ed1cf41f5534755f8fe38a6c3cf58cc76d208405b58cbe77f465e00000a000b0001000000000000000000000000000000000000dcd01b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
37
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a198f6ea39c975eece9f42ced55a9d3ff51727f146125d9112a9b45b1c618671ce50d0294e43bc0d96fb9dbdca8afa2735d000a000b
10x727f146125d9112a9b45b1c618671ce50d0294e43bc0d96fb9dbdca8afa2735d000a000b000100000000000000000000000000000000000038d7ff020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
38
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19a0bc361c83b1d4806fb3606883159e65a88e29d0ac32c37164614e2da044c4bf90986cfc053cfc8f58fe236be5a81678000a000b
10xa88e29d0ac32c37164614e2da044c4bf90986cfc053cfc8f58fe236be5a81678000a000b00010177d70400000000000000000000000000000000000080710a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
39
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19a338f51748ae445c262ed09dd2da7755028333b82ebbe7bbfbef5b9dde97bc1a581ce934029c6cf46fe03caa3c72535b000a000b
10x028333b82ebbe7bbfbef5b9dde97bc1a581ce934029c6cf46fe03caa3c72535b000a000b00010177ea03000000000000000000000000000000000000f12fed040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
40
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19a51c44a59386c222e19ebe1c3cbc64fbeca76233871dfd8009752ecb209707b74e0f568459a73f6db467292a1afcfc6c000c000b
10xeca76233871dfd8009752ecb209707b74e0f568459a73f6db467292a1afcfc6c000c000b0001000000000000000000000000000000000000289601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
41
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19a5d23f6524f18f589bfa49d7d53fc00842c37a8f52d17c05bd1f5f4d7b751daae60841b6554bdbc043dd5319fbc5c21b000a000b
10x42c37a8f52d17c05bd1f5f4d7b751daae60841b6554bdbc043dd5319fbc5c21b000a000b000100000000000000000000000000000000000083d443030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
42
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19a82cefea73c0d494e8874510a60f75487a7fee688251c88b54f9db92e2012ab2240ac7efbec996a9dfd782969b213d54000a000b
10x7a7fee688251c88b54f9db92e2012ab2240ac7efbec996a9dfd782969b213d54000a000b000100000000000000000000000000000000000007e3d7150000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
43
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19b0a1769e3f1cfd290fe3c38c5cd531c02a7e4ef07b4b7186eef1f4d90dfd2c94f6cf8559f86ff62d2932760218e2470f000a000b
10x2a7e4ef07b4b7186eef1f4d90dfd2c94f6cf8559f86ff62d2932760218e2470f000a000b0001000000000000000000000000000000000000acf363000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
44
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19b4176b0134b2f828372de33bb4ca85b090fc4a883987958744df5029d2828191d28249d16d415dfcc151c9dc8a2b3649000a000b
10x90fc4a883987958744df5029d2828191d28249d16d415dfcc151c9dc8a2b3649000a000b0001000000000000000000000000000000000000f0f5dd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
45
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19b5e492480f964074f2fcd6d66924b6f3eede31d51b69b6168ef1e2d4df2c0c32c1ddd40c7761def26e500bc7fe57a71b000a000b
10xeede31d51b69b6168ef1e2d4df2c0c32c1ddd40c7761def26e500bc7fe57a71b000a000b0001000000000000000000000000000000000000985b13040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
46
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19c0c3820cc2da67038b30a675c46c85e62a7e4ef07b4b7186eef1f4d90dfd2c94f6cf8559f86ff62d2932760218e2470f000c000b
10x2a7e4ef07b4b7186eef1f4d90dfd2c94f6cf8559f86ff62d2932760218e2470f000c000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
47
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19c1fc1be9f6f2ef346ad4fcb41725115812aa311d7bbbf88ff6a66b6178e6b2e712691cb0765e3238a891a6397d965731000a000b
10x12aa311d7bbbf88ff6a66b6178e6b2e712691cb0765e3238a891a6397d965731000a000b00010000000000000000000000000000000000004a984901000000000000000000000000bc4d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
48
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19c5d06e55c29b025f9055b7064e39b3f24680ae956ef4a9b37e10317f744d2b90270564f551e36bfa877c8f6d65a6a70a000a000b
10x4680ae956ef4a9b37e10317f744d2b90270564f551e36bfa877c8f6d65a6a70a000a000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
49
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19cd41863ca01cbb3a72db6c03e7dc68349a080ca43817a22e896bfe2fe2d5d9b06fcaff51b5e21d6a1ffe73756d93ea1b000a000b
10x9a080ca43817a22e896bfe2fe2d5d9b06fcaff51b5e21d6a1ffe73756d93ea1b000a000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
50
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19d595695c67668bb6abf0e0050bc0017cb61a323db0632f9981a59d6c8b5d5676e41d989d64fa2bf15c754298dab56539000a000b
10xb61a323db0632f9981a59d6c8b5d5676e41d989d64fa2bf15c754298dab56539000a000b0001000000000000000000000000000000000000104fcb040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
51
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19d63c1854dc8642dd69a978a33e9b0facf410b0c7c47a272c1e62d8ed3303d61c675a0f8af0cce6ecde5a753549931941000a000b
10xf410b0c7c47a272c1e62d8ed3303d61c675a0f8af0cce6ecde5a753549931941000a000b0001014b5c0a000000000000000000000000000000000000a53009000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
52
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19d6f5a6b7b4d5a4d2232efec362eddd763c926c5ebdba209ca88c1a72ba4144a843d51b457da13973366dc70af7fb1637000a000b
10x3c926c5ebdba209ca88c1a72ba4144a843d51b457da13973366dc70af7fb1637000a000b0000000000000000000000000000000000000000c5c004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
53
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19de880c1ef537c0437fed71a91f423d9c3e21cb223b3a40aff5c0cc1795458b8cb31ecb0547850683eda12e9936d71059000a000b
10x3e21cb223b3a40aff5c0cc1795458b8cb31ecb0547850683eda12e9936d71059000a000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
54
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19e348e285f026b513735dacb5fdd5356700d7d08e30dd3130969318b8ec5ec0bd95e5a94ff38e29bc8b5f179106fc8b11000a000b
10x00d7d08e30dd3130969318b8ec5ec0bd95e5a94ff38e29bc8b5f179106fc8b11000a000b0000000000000000000000000000000000000000181b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
55
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19e437b455c07b026ebadc2c8d33b3cf7b127cd79f51dc714517f3d14035ebccd6c5e76099b60487a008f1ccd32a7d2755000a000b
10x127cd79f51dc714517f3d14035ebccd6c5e76099b60487a008f1ccd32a7d2755000a000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
56
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19e85fb070534b99029dd33691cd22e7b6eca76233871dfd8009752ecb209707b74e0f568459a73f6db467292a1afcfc6c000a000b
10xeca76233871dfd8009752ecb209707b74e0f568459a73f6db467292a1afcfc6c000a000b0001000000000000000000000000000000000000a89d10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
57
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19ec7781cbcc7a92b250d819c7370be6ac4ea217a7cee82e44cc2bd68d3a22d9967fe2a2185aa4cbda2e5c1d6c66feec60000a000b
10x4ea217a7cee82e44cc2bd68d3a22d9967fe2a2185aa4cbda2e5c1d6c66feec60000a000b000100000000000000000000000000000000000053ba6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
58
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19f1679e0b25619471f5542ed2b68dcdc254777319959cda8b90fee4b455158cc46e19b9f8097db76c55b0c20db805c03e000a000b
10x54777319959cda8b90fee4b455158cc46e19b9f8097db76c55b0c20db805c03e000a000b0001000000000000000000000000000000000000de0980010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
59
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19f3baa14aeded6cb3bd7e91daed39d94e002ebf751ae1def13e95b2260485550d8c3dc41390313ca457a0062560483778000a000b
10x002ebf751ae1def13e95b2260485550d8c3dc41390313ca457a0062560483778000a000b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
60
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19f42431e367c63db956a6443d6712c88382031c98bdf6c4f673398308602b6fa14f99311b92f7b67ed10e4b1cd8b02139000a000b
10x82031c98bdf6c4f673398308602b6fa14f99311b92f7b67ed10e4b1cd8b02139000a000b0000000000000000000000000000000000000000d0fb01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
61
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19f8db145d8b98df63c7b2c45fe181283eb2d6460991d870119c2b5f820f977bb0c5a0a410eca38db44bc7817dc5507749000a000b
10xb2d6460991d870119c2b5f820f977bb0c5a0a410eca38db44bc7817dc5507749000a000b00000000000000000000000000000000000000004bd5af050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
62
00x8402aaa79721798ff725d48776181a448200ee1e7ffeceaefd524b3ceb4c2a19fcca4fb01a28491545301716078830052af5264e30f3572fe95161fb09f2a9c799e9039b30ac09d10a00accd7ee81158000a000b
10x2af5264e30f3572fe95161fb09f2a9c799e9039b30ac09d10a00accd7ee81158000a000b0000019e6f09000000000000000000000000000000000000186420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
TimelineLatest activity 1mo ago
2022-08-08 15:48:12
Proposed
Index
#58
2022-08-08 16:30:12
FastTracked
2022-08-08 16:30:12
Started
referendumIndex
56
voteThreshold
SuperMajorityAgainst
2022-08-08 20:15:48
Passed
referendumIndex
56
2022-08-08 20:16:30
Executed
result
ok
Comments

How would a paranoid person check that the image above does what you say it does?
After the fact would be easy, I guess, but before?

Reply
Up
1mo ago

The call was generated with the following code:

import { ApiPromise, WsProvider } from '@polkadot/api';

async function main() {
    const wsProvider = new WsProvider('wss://api-kusama.interlay.io/parachain');
    const api = await ApiPromise.create({ provider: wsProvider });

    const preUpgradeApi = await api.at("0x3a4293ca2b4d24ea852b9510059cb8769e8321b3051bb690aef2703ebc74a65e");

    const allVaults = await preUpgradeApi.query.vaultRegistry.vaults.entries();
    const toSet = allVaults.map(([key, vault]) => {
        let vaultJSON: any = vault.toJSON();
        delete vaultJSON.wallet;
        if (vaultJSON.status.committedTheft === null) {
            vaultJSON.status = { liquidated: null };
        }
        const codec = api.createType("VaultRegistryVault", vaultJSON);

        return [key, codec.toHex()];
    });
    console.log(api.tx.system.setStorage(toSet).method.hash.toString());

    await api.disconnect();
}

main();
Reply
Up