forked from open-web3-stack/parachain-launch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_default.yml
70 lines (69 loc) · 2.55 KB
/
config_default.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
69
70
# Relaychain Configuration
relaychain:
image: parity/polkadot:v0.9.13 # the docker image to use
chain: rococo-local # the chain to use
runtimeGenesisConfig: # additonal genesis override
configuration:
config:
validation_upgrade_frequency: 1
validation_upgrade_delay: 1
env: # environment variables for all relaychain nodes
RUST_LOG: parachain::candidate-backing=trace
flags: # additional CLI flags for all relaychain nodes
- --rpc-methods=unsafe
- --no-beefy
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.1.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
- --no-beefy
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 relaychian part
- --name=relaychain-alice
env:
RUST_LOG: aura=debug # environment varitables for this node
- flags:
- --bob
- flags:
- --charlie