-
Notifications
You must be signed in to change notification settings - Fork 93
/
config.js
92 lines (90 loc) · 1.35 KB
/
config.js
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// Collator flags
var flags = ["--force-authoring", "--", "--execution=wasm"];
var config = {
relaychain: {
bin: "./bin/polkadot",
chain: "rococo-local",
nodes: [
{
name: "alice",
wsPort: 9944,
port: 30444,
},
{
name: "bob",
wsPort: 9955,
port: 30555,
},
{
name: "charlie",
wsPort: 9966,
port: 30666,
},
{
name: "dave",
wsPort: 9977,
port: 30777,
},
],
genesis: {
runtime: {
runtime_genesis_config: {
configuration: {
config: {
validation_upgrade_frequency: 10,
validation_upgrade_delay: 10,
},
},
},
},
},
},
parachains: [
{
bin: "./bin/polkadot-parachain",
id: "200",
balance: "1000000000000000000000",
nodes: [
{
wsPort: 9988,
port: 31200,
name: "alice",
flags,
},
],
},
{
bin: "./bin/polkadot-parachain",
id: "300",
balance: "1000000000000000000000",
nodes: [
{
wsPort: 9999,
port: 31300,
name: "alice",
flags,
},
],
},
],
simpleParachains: [
{
bin: "./bin/adder-collator",
id: "400",
port: "31400",
name: "alice",
balance: "1000000000000000000000",
},
],
hrmpChannels: [
{
sender: 200,
recipient: 300,
maxCapacity: 8,
maxMessageSize: 512,
},
],
types: {},
finalization: false,
};
module.exports = config;