# Kusama Auctions: Third time's a charm ## Context Kusama auctions are scheduled using the `Scheduler Pallet`, and the recurring funcitonliaty that this brings. The recurrency of this pallet offers two options: every how many blocks this recurrent should be executed, and how many times. Unfortuntaly, [Ref 72](https://kusama.subsquare.io/referenda/referendum/72) and [Ref 81](https://kusama.subsquare.io/referenda/referendum/81) have been misconfigured, and the two parameters on the scheduler pallet have been passed in the wrong way. For example, the first scheduler call will not create 2 auctions every 100_800 blocks, but rather 100_800 auctions every two blocks. ![](https://i.imgur.com/FUxwC2Q.png) ## Solution Both Ref 72 and Ref 81 will have to be cancelled and re-submitted on chain. ## Full cancelation Utility batch call - Encoded call data: `0x1804241d038557b8b9b1177d169c1e675aebde9685c2c141f0e32dadf13c9ca8d70b16dc061d03227b91c3edcc0775442d0b24d507766ecb73d3f4c5f91ae16a78fa027685cfc11d039ca55d18392de86b9c464ab3224bea70ceccc54f25feab22ed6c38fa8fabaff11d03f9c1800fd16e1bb758f29193e2db9555c386499ea0fa479a9f667ef930a05e311d0312f0110cec745116c8801f9c1f44770e3f82976793db821cee4364d4e256aaa61d034fb5addef23974b6a5c78cf2bac108aefc41603a04e8e8447fe6e4c6cd511b951d03e4739bb1095c94cc172c4f320aebfc71c69f2d1102f4592bed81a687f86cdbc81d030e4d6cfd138a715673efe7d70d7f2680b3531a04b1bc3052bb34f6c39234cf74150351000000` - Encoded call hash: `0x21c422de2a48ad55bffa0139cc9333a45fd19050357eeaf92704dc1446057690` ### Calls for Whitelist track Submit the preimage for the Fellowship referendum: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x2000882c0021c422de2a48ad55bffa0139cc9333a45fd19050357eeaf92704dc1446057690 Open a Fellowship referendum to whitelist the call: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x17002b0f02a8ab8e23842d68c46f70862a1a7f6ea094e14e2aae76bd40f74d7b76c8fd879f22000000010a000000 Submit the preimage for the public referendum: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x20006d042c031804241d038557b8b9b1177d169c1e675aebde9685c2c141f0e32dadf13c9ca8d70b16dc061d03227b91c3edcc0775442d0b24d507766ecb73d3f4c5f91ae16a78fa027685cfc11d039ca55d18392de86b9c464ab3224bea70ceccc54f25feab22ed6c38fa8fabaff11d03f9c1800fd16e1bb758f29193e2db9555c386499ea0fa479a9f667ef930a05e311d0312f0110cec745116c8801f9c1f44770e3f82976793db821cee4364d4e256aaa61d034fb5addef23974b6a5c78cf2bac108aefc41603a04e8e8447fe6e4c6cd511b951d03e4739bb1095c94cc172c4f320aebfc71c69f2d1102f4592bed81a687f86cdbc81d030e4d6cfd138a715673efe7d70d7f2680b3531a04b1bc3052bb34f6c39234cf74150351000000 Open a public referendum to dispatch the call: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x15002b0d02b5c70b787ced88e9229dd448e736a95f06b99874dc8900d0c49572bc5d32c99d1b010000010a000000 ### Actually exectuted referenda - [Ref 85](https://kusama.subsquare.io/referenda/referendum/85) cancelled all the scheduled auctions. - [Ref 89](https://kusama.subsquare.io/referenda/referendum/89) cancelled Ref 81 that was scheduling two auctions for LP27. ## Scheduled Auctions ### Auction through Auction Track This will replace the first auction on ref 81. Given the support for [Ref 80](https://kusama.subsquare.io/referenda/referendum/80), and to avoid collusion of auctions, this auction should be proposed around block 16_497_487, and no later than block 16_547_187. - Encoded call data: [0x480001e16c](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x480001e16c) - Parameters ``` auctions.newAuction(duration: 14400, leasePeriodIndex: 27) ``` This second auction will replace the second auction on Ref 81. Given the support for [Ref 80](https://kusama.subsquare.io/referenda/referendum/80), and to avoid collusion of auctions, this auction should be proposed around block 16_607_451, and no later than block 16_636_188. - Encoded call data: [0x480001e16c](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x480001e16c) - Parameters ``` auctions.newAuction(duration: 14400, leasePeriodIndex: 27) ``` This third auction will replace the first auction the second schedule call on Ref72. Given that the Root Track already has a proposal being voted on, this needs to be done first to ensure the right cadence of auctions in Kusama. This proposal needs to be posted no later than block 16_729_475. - Encoded call data: [0x480001e170](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x480001e170) - Parameters ``` auctions.newAuction(duration: 14400, leasePeriodIndex: 28) ``` Note: as this needs to happen before the root track call below, this auction for LP28 will have a duration of 14400 to give more space until the start of the root call to ensure things go well. ### Auctions using scheduler (correctly) via Root Track - Encoded call data - [Link](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x1804201d0281edbd9bec51fc9d78be1dc45e65c7c97ff25d8fb0df5e190e559181831249fb4c6e010101508b010004000000004800e2a50100701d022e1895be3594bbbd39f330a843f221425b680653652b26fc1320533d8eecbf7b00ac0701018051010007000000004800f1d2741d023f695d577cd80ceab19696358d0965bd903a4a4622380a564dc6b9783b756a0e80e61001018051010007000000004800f1d2781d02f8a869528ddc7c0d40aeceda15497713ebb931c931424043f9a4df89af4a1ac900211a01018051010007000000004800f1d27c1d020b80ba0c51368b431d999fc5bab0cea73c5f8cb2520e4eb41c7c309b68d2cdf5805b2301018051010007000000004800f1d2801d02630ed60985a63f89b71e168f8cbcec645b27e37f1840f4e81d96c7fa248e63ee00962c01018051010007000000004800f1d2841d027e65636788051a7e026b57a4fa11c8854e181e5dcfd688dbe25bb449b0555c2680d03501018051010007000000004800f1d2881d022e7dae2f2fd127478f7d20a0da689b7f8abbb0b5f2f2a65ed18d31c9815f8404000b3f01018051010007000000004800f1d28c) ``` 0x1804201d0281edbd9bec51fc9d78be1dc45e65c7c97ff25d8fb0df5e190e559181831249fb4c6e010101508b010004000000004800e2a50100701d022e1895be3594bbbd39f330a843f221425b680653652b26fc1320533d8eecbf7b00ac0701018051010007000000004800f1d2741d023f695d577cd80ceab19696358d0965bd903a4a4622380a564dc6b9783b756a0e80e61001018051010007000000004800f1d2781d02f8a869528ddc7c0d40aeceda15497713ebb931c931424043f9a4df89af4a1ac900211a01018051010007000000004800f1d27c1d020b80ba0c51368b431d999fc5bab0cea73c5f8cb2520e4eb41c7c309b68d2cdf5805b2301018051010007000000004800f1d2801d02630ed60985a63f89b71e168f8cbcec645b27e37f1840f4e81d96c7fa248e63ee00962c01018051010007000000004800f1d2841d027e65636788051a7e026b57a4fa11c8854e181e5dcfd688dbe25bb449b0555c2680d03501018051010007000000004800f1d2881d022e7dae2f2fd127478f7d20a0da689b7f8abbb0b5f2f2a65ed18d31c9815f8404000b3f01018051010007000000004800f1d28c ``` - Encoded call Hash ``` 0x60766127d46ef5a3fd655bcf197513a306a34bbb5ea8a1097a58b3381b6d079b ``` --- --- --- --- # Additional Backup Calls ### Ref 72 Referendum 72 was approved by the community, so it's fair to assume that the community was aligned with the proposed scheduled besides the call being misconfigured. The proposal is to submit a whitelist call that deletes the current scheduled calls and replace it with the correct setup. #### Cancel Scheduled calls - Encoded call data: `0x1804201d038557b8b9b1177d169c1e675aebde9685c2c141f0e32dadf13c9ca8d70b16dc061d03227b91c3edcc0775442d0b24d507766ecb73d3f4c5f91ae16a78fa027685cfc11d039ca55d18392de86b9c464ab3224bea70ceccc54f25feab22ed6c38fa8fabaff11d03f9c1800fd16e1bb758f29193e2db9555c386499ea0fa479a9f667ef930a05e311d0312f0110cec745116c8801f9c1f44770e3f82976793db821cee4364d4e256aaa61d034fb5addef23974b6a5c78cf2bac108aefc41603a04e8e8447fe6e4c6cd511b951d03e4739bb1095c94cc172c4f320aebfc71c69f2d1102f4592bed81a687f86cdbc81d030e4d6cfd138a715673efe7d70d7f2680b3531a04b1bc3052bb34f6c39234cf74` - Encoded call hash: `0xa6ed0f8e76778c8e822b3ad272cd407c4396658ecd5f25d12a9474e44e420559` #### Submit new Calls - Encoded call data: `0x1804201d0281edbd9bec51fc9d78be1dc45e65c7c97ff25d8fb0df5e190e559181831249fbfce2ff0001508b010005000000004800e2a50100701d022e1895be3594bbbd39f330a843f221425b680653652b26fc1320533d8eecbf7b00ac0701018051010007000000004800f1d2741d023f695d577cd80ceab19696358d0965bd903a4a4622380a564dc6b9783b756a0e80e61001018051010007000000004800f1d2781d02f8a869528ddc7c0d40aeceda15497713ebb931c931424043f9a4df89af4a1ac900211a01018051010007000000004800f1d27c1d020b80ba0c51368b431d999fc5bab0cea73c5f8cb2520e4eb41c7c309b68d2cdf5805b2301018051010007000000004800f1d2801d02630ed60985a63f89b71e168f8cbcec645b27e37f1840f4e81d96c7fa248e63ee00962c01018051010007000000004800f1d2841d027e65636788051a7e026b57a4fa11c8854e181e5dcfd688dbe25bb449b0555c2680d03501018051010007000000004800f1d2881d022e7dae2f2fd127478f7d20a0da689b7f8abbb0b5f2f2a65ed18d31c9815f8404000b3f01018051010007000000004800f1d28c` - Encoded call hash: `0xa9883c07cb6cfe215a9326c1665523977ea45b6c57e31bee7000bd9815d6e3fd` #### Utility batch with all together - Encoded call data: `0x1804401d038557b8b9b1177d169c1e675aebde9685c2c141f0e32dadf13c9ca8d70b16dc061d03227b91c3edcc0775442d0b24d507766ecb73d3f4c5f91ae16a78fa027685cfc11d039ca55d18392de86b9c464ab3224bea70ceccc54f25feab22ed6c38fa8fabaff11d03f9c1800fd16e1bb758f29193e2db9555c386499ea0fa479a9f667ef930a05e311d0312f0110cec745116c8801f9c1f44770e3f82976793db821cee4364d4e256aaa61d034fb5addef23974b6a5c78cf2bac108aefc41603a04e8e8447fe6e4c6cd511b951d03e4739bb1095c94cc172c4f320aebfc71c69f2d1102f4592bed81a687f86cdbc81d030e4d6cfd138a715673efe7d70d7f2680b3531a04b1bc3052bb34f6c39234cf741d0281edbd9bec51fc9d78be1dc45e65c7c97ff25d8fb0df5e190e559181831249fbfce2ff0001508b010005000000004800e2a50100701d022e1895be3594bbbd39f330a843f221425b680653652b26fc1320533d8eecbf7b00ac0701018051010007000000004800f1d2741d023f695d577cd80ceab19696358d0965bd903a4a4622380a564dc6b9783b756a0e80e61001018051010007000000004800f1d2781d02f8a869528ddc7c0d40aeceda15497713ebb931c931424043f9a4df89af4a1ac900211a01018051010007000000004800f1d27c1d020b80ba0c51368b431d999fc5bab0cea73c5f8cb2520e4eb41c7c309b68d2cdf5805b2301018051010007000000004800f1d2801d02630ed60985a63f89b71e168f8cbcec645b27e37f1840f4e81d96c7fa248e63ee00962c01018051010007000000004800f1d2841d027e65636788051a7e026b57a4fa11c8854e181e5dcfd688dbe25bb449b0555c2680d03501018051010007000000004800f1d2881d022e7dae2f2fd127478f7d20a0da689b7f8abbb0b5f2f2a65ed18d31c9815f8404000b3f01018051010007000000004800f1d28c` - Encoded call hash: `0xd1f9daa285f62de24dcb4b6fd630faedced27b35df4b27c339e799b8f5382f1b` ### Ref 81 #### Cancel Scheduled calls - Encoded call data: `0x150351000000` - Encoded call hash: `0x3009ba4a0cfab795a3864f8dfa1962ac5ecf24d328650db8ed425c3daf769fb2`