[Proposal: 129 / 131 ] Enable Core Autorenewal for Moonbeam

Abstract

This proposal executes three XCM messages: one to open an XCM channel with the Coretime chain, another to fund Moonbeam’s sovereign account in the Coretime chain with 200 DOT, and the other to enable the core autorenewal. This ensures we don’t have to renew the core manually every time.

Details

This proposal is based on the following document. The tasks that need to be done are setting up the HRMP channel with the Coretime chain, which is the first item of the batch call.

The second item is to fund Moonbeam’s sovereign account in the Coretime chain with surplus DOT that we have in our Relay chain sovereign account (considering the amount of xcDOT that exists in Moonbeam). We will send 200 DOT.

The third item is the enablement of the autorenewal feature. XCM channels need one Polkadot session (4 hours) actually to be set, so the core autorenewal call was wrapped with a scheduler. The scheduler will execute the call 2700 blocks after the proposal is executed, which provides 4.5 hours if we account for 6-second block times.

0x1e020c6700030100031400040000000032347e46130000000032347e4600060003a0cad5b904183c0aed030000140d0100000100511f6700030100031400040000000002286bee130000000002286bee010700f2052a010200040006010700f2052a0102000400f8630b05000100b50f05000101007369626cd407000000000000000000000000000000000000000000000000000005040000000b00204aa9d1010000000000140d0100000100511f3c048c0a00000000670003010100b50f031400040001000003a0c222de130001000003a0c222de00060103805ecb7d043432152600d407000001ed760500140d0100000100511f

Preimage tested in Chopsticks (including the scheduler): 0xb4435567a4a504a7d21615e3d9b8b735996c4460c90b85d4668abe81f69c5c19

3 Likes

The previous proposal failed (partly) due to the AssetHub migration. We need to re-execute the last portion of it that sends an XCM directly to Coretime chain to enable autorenewal.

Calldata

0x670003010100b50f031400040001000003a0c222de130001000003a0c222de0006010300d16f7d043432152700d4070000014d9e0500140d0100000100511f

Preimage hash

0x879a7deb2348866b1e21f13b3e9ba6e205dbb7e7cd79ca20a38d22729166507c
1 Like