-
Notifications
You must be signed in to change notification settings - Fork 768
/
Copy path0005-migrate_solo_to_para.toml
45 lines (37 loc) · 1.1 KB
/
0005-migrate_solo_to_para.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[relaychain]
default_image = "{{RELAY_IMAGE}}"
default_command = "polkadot"
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"
[[relaychain.nodes]]
name = "alice"
validator = true
[[relaychain.nodes]]
name = "bob"
validator = true
[[parachains]]
id = 2000
cumulus_based = true
# run the solo chain (in our case this is also already a parachain, but as it has a different genesis it will not produce any blocks.)
[[parachains.collators]]
name = "dave"
validator = true
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain=debug"]
[[parachains]]
id = 2000
cumulus_based = true
add_to_genesis = false
register_para = false
# Set some random value in the genesis state to create a different genesis hash.
[parachains.genesis.runtimeGenesis.patch.sudo]
key = "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty"
# run the parachain that will be used to return the header of the solo chain.
[[parachains.collators]]
name = "eve"
validator = true
add_to_bootnodes = true
image = "{{COL_IMAGE}}"
command = "test-parachain"
args = ["-lparachain=debug"]