[Proposal: 88 | 90] Enable Core Autorenewal for Moonriver

Abstract

This proposal executes two XCM messages, one to open an XCM channel with the Coretime chain, 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 the enablement of the autorenewal feature. XCM channels need one Kusama session actually to be set, so the core autorenewal call was wrapped with a scheduler. The scheduler will execute the call 1800 blocks after the proposal is executed, which provides 3 hours if we account for 6-second block times.

0x1e02086700030100031400040000000003fa1f7847130000000003fa1f784700060003a03e44dc04183c0aed030000140d01000001009d1f3c04080700000000670003010100b50f03140004000100000712bce7c80513000100000712bce7c8050006010320ca157d043432151b00e70700000108e60500140d01000001009d1f

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

4 Likes

After this referenda was proposed but before it executed, Moonriver’s core was renewed manually. This resulted in Moonriver being assigned a new core which no longer matched the core number specified in this proposal.

As a result, while the HRMP channel to the coretime chain was successfully created, the enablement of auto-renew failed.

A new proposal to enable auto-renew will be created immediately following the next manual Moonriver coretime renewal.

3 Likes

Based on what @aaron.mbf mentioned. Now that the coretime has just been renewed, we are proceeding with a new proposal that all it does is submit the core autorenewal bit:

0x670003010100b50f03140004000100000712bce7c80513000100000712bce7c8050006010320ca157d043432150f00e707000001680d0600140d01000001009d1f

Preimage hash of:

0xad5298533a86c53f45ebf2fb7cc7f6d0a790b18acc2ce5fcd7f4505415f05b0b

And tested in Chopsticks:

2 Likes