forked from open-web3-stack/parachain-launch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
68 lines (67 loc) · 2.52 KB
/
config.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Relaychain Configuration
relaychain:
image: parity/polkadot:v0.9.16 # the docker image to use
chain: rococo-local # the chain to use
runtimeGenesisConfig: # additonal genesis override
configuration:
config:
validation_upgrade_cooldown: 10
validation_upgrade_delay: 10
env: # environment variables for all relaychain nodes
RUST_LOG: parachain::candidate-backing=trace
flags: # additional CLI flags for all relaychain nodes
- --rpc-methods=unsafe
nodes: # nodes config
- name: alice # the node name and session key, this imply `--alice`
wsPort: 9944 # default ws port number is `9944 + global_node_index`
rpcPort: 9933 # default rpc port number is `9933 + global_node_index`
port: 30333 # default libp2p port number is `30333 + global_node_index`
flags: # additional CLI flags for this node
- --force-authoring
env:
RUST_LOG: babe=debug # environment varitables for this node
- name: bob
- name: charlie
# Parachain Configuration
parachains:
# Config for first parachain
- image: acala/karura-node:2.3.1
chain: # this could be a string like `dev` or a config object
base: karura-dev # the chain to use
collators: # override collators
- alice # this imply //Alice
- 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty # or could be a session key public address
- charlie
sudo: alice # override sudo key to //Alice
runtimeGenesisConfig: # additonal genesis override
balances:
balances:
- [5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty, 10000000000000000]
tokens:
balances:
- [5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty, { token: 'KUSD' }, 10000000000000000]
id: 2000 # override parachain id
parachain: true # this is parachain, not parathread
flags: # CLI flags for this parachain nodes
- --rpc-methods=unsafe
- --force-authoring
- --execution=wasm
relaychainFlags: # CLI flags for the relaychain port
- --execution=wasm
env: # environment variables for this parachain nodes
RUST_LOG: sc_basic_authorship=trace
volumePath: /acala/data # The path to mount volume and base path, default to /data
nodes: # nodes config
- wsPort: 9947
rpcPort: 9936
port: 30336
flags: # additional CLI flags for this node
- --alice
relaychainFlags: # additional CLI flags for relaychain part
- --name=relaychain-alice
env:
RUST_LOG: aura=debug # environment varitables for this node
- flags:
- --bob
- flags:
- --charlie