Second Batch Of Statemint HRMP Channels (replacing motions 256 and 257)
Democracy
0 Comments
Executed

Please note this motion replaces motion 256 due to an error on the proposal weight and motion 257 due to an error downgrading the call from the relay chain to native: the proposal fixes both mistakes.

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):
0x1a02080502006d6f646c70792f747273727900000000000000000000000000000000000000000070617261e80300000000000000000000000000000000000000000000000000000700d8bc7ced630001000100a10f0204060202286beef5021f0001010002140004000000000700c817a80413000000000700c817a8040006000700e40b54029d011a04283c01e50700003c01ef0700003c01f00700003c01f30700003c01fe0700003c00e5070000e8030000009001003c00ef070000e8030000009001003c00f0070000e8030000009001003c00f3070000e8030000009001003c00fe070000e803000000900100140d01010000000004000101006d6f646c70792f74727372790000000000000000000000000000000000000000
  • Call Hash: 0xfa5da8a4d9ef08dd22dfbc189861cbb9275dc8c52e4ce9b04f21cc830b3d5617

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.

Polkassembly
Reply
Up
Share
Votes
50%Aye
50%Nay
Aye
0 DOT
Nay
0 DOT
Turnout
0 DOT
Electorate
0 DOT
Passed
Check all votes
Metadata
Proposer
Hash
Delay
02022-10-14 13:41:54
End
02022-10-14 11:41:54
Threshold
Call
Table
Json
callIndex0x1a02
sectionutility
methodbatchAll
args
calls
0
callIndex0x0502
sectionbalances
methodforceTransfer
args
source
id13UVJyLnbVp9RBZYFwFGyDvVd1y27Tt8tkntv6Q7JVPhFsTB
dest
id13YMK2edbuhwMBxeUWm9c643A2wyYHwSVh1bCM7tShtg7Dtk
value1020000000000
1
callIndex0x6300
sectionxcmPallet
methodsend
args
dest
v1
parents0
interior
x1
parachain1000
message
v2
transact
originTypeSuperuser
requireWeightAtMost1000000000
call
encoded0x1f0001010002140004000000000700c817a80413000000000700c817a8040006000700e40b54029d011a04283c01e50700003c01ef0700003c01f00700003c01f30700003c01fe0700003c00e5070000e8030000009001003c00ef070000e8030000009001003c00f0070000e8030000009001003c00f3070000e8030000009001003c00fe070000e803000000900100140d01010000000004000101006d6f646c70792f74727372790000000000000000000000000000000000000000
TimelineLatest activity undefined
2022-09-16 11:06:12
Started
referendumIndex
74
voteThreshold
SimpleMajority
2022-10-14 11:41:54
Passed
referendumIndex
74
2022-10-14 13:41:54
Executed
result
ok
Comments
SubSquare
Polkassembly
There are no comments here