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.51 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:v1.1.0 # 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
overrides: # additonal runtime override
session_length_in_blocks: 100
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`
rpcPort: 9944 # default ws & rpc port number is `9944 + 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.21.0
chain: # this could be a string like `dev` or a config object
base: karura-local # 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
- rpcPort: 9947
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