#256·[PLEASE REJECT] Second Batch Of Statemint HRMP Channels

2yrs ago
0 Comments
Disapproved

Note: PLEASE REJECT - The proposal will fail because it does not provide enough weight. A new proposal will be submitted for vote.

Five more parachains have requested an HRMP channel with Statemint. This motion accepts them all and opens return channels.

Handy Info

  • Treasury Address: 13UVJyLnbVp9RBZYFwFGyDvVd1y27Tt8tkntv6Q7JVPhFsTB

  • Treasury AccountId: 0x6d6f646c70792f74727372790000000000000000000000000000000000000000

  • Statemint Address: 13YMK2edbuhwMBxeUWm9c643A2wyYHwSVh1bCM7tShtg7Dtk

  • Statemint AccountId: 0x70617261e8030000000000000000000000000000000000000000000000000000

  • Parachains that aim to open channels: 2021, 2031, 2032, 2035, 2046.

Call Construction

These are constructed backwards. That is, the call to use as the proposal is at the end.

Relay Chain Call to Execute

First, we need the call that Statemint will execute on the Relay Chain. This accepts all channel requests and returns channel requests to the initiators.

  • Encoded Call Data (Polkadot):
0x1a02283c01e50700003c01ef0700003c01f00700003c01f30700003c01fe0700003c00e5070000e8030000009001003c00ef070000e8030000009001003c00f0070000e8030000009001003c00f3070000e8030000009001003c00fe070000e803000000900100

Message from Statemint

The above message needs to come from Statemint. So we put it into an XCM (the “Transact” instruction) along with purchasing some execution capacity and returning any leftover fees to the Treasury.

  • Encoded Call Data (Statemint):
0x1f0001010002140004000000000700c817a80413000000000700c817a80400060002286bee9d011a02283c01e50700003c01ef0700003c01f00700003c01f30700003c01fe0700003c00e5070000e8030000009001003c00ef070000e8030000009001003c00f0070000e8030000009001003c00f3070000e8030000009001003c00fe070000e803000000900100140d01010000000004000101006d6f646c70792f74727372790000000000000000000000000000000000000000

Proposal on the Relay Chain

But, governance is on the Relay Chain, not Statemint. So take some DOT from the Treasury (100 DOT for 10 channels at 10 DOT each plus 2 DOT for fees) and send a message to Statemint telling it to send a message back. This is the proposal to vote on.

  • Encoded Call Data (Polkadot):
0x1a02080502006d6f646c70792f747273727900000000000000000000000000000000000000000070617261e80300000000000000000000000000000000000000000000000000000700d8bc7ced630001000100a10f0204060202286beeed021f0001010002140004000000000700c817a80413000000000700c817a80400060002286bee9d011a02283c01e50700003c01ef0700003c01f00700003c01f30700003c01fe0700003c00e5070000e8030000009001003c00ef070000e8030000009001003c00f0070000e8030000009001003c00f3070000e8030000009001003c00fe070000e803000000900100140d01010000000004000101006d6f646c70792f74727372790000000000000000000000000000000000000000
  • Call Hash: 0x66533cf91c782761160b5ed11a0f65ca5d7d752040f94750875ace851b3f697f

Preimage has already been submitted for verification by the community as well. After/if Council votes and passes this proposal, this will need to be voted by the community in referenda queue.

Reply
Up
Share
Call
Metadata
Timeline3
Comments
No comments here