git.delta.rocks / unique-network / refs/commits / c27ef304dac4

difftreelog

Location to generated launch-config-forkless.json has been amended in dockerfile.

Alexander Aksenov2022-08-10parent: #9961e3b.patch.diff
in: master

4 files changed

modified.docker/Dockerfile-parachain-upgradediffbeforeafterboth
99CMD export NVM_DIR="$HOME/.nvm" && \99CMD export NVM_DIR="$HOME/.nvm" && \
100 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \100 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
101 cd /polkadot-launch && \101 cd /polkadot-launch && \
102 yarn start launch-config.json102 yarn start launch-config.json --test-upgrade
103103
104
modified.docker/docker-compose-forkless.yamldiffbeforeafterboth
8 image: node-parachain8 image: node-parachain
9 container_name: node-parachain9 container_name: node-parachain
10 volumes:10 volumes:
11 - .docker/launch-config-forkless.json:/polkadot-launch/launch-config.json11 - type: bind
12 source: ./launch-config-forkless.json
13 target: /polkadot-launch/launch-config.json
14 read_only: true
12 expose:15 expose:
13 - 994416 - 9944
14 - 993317 - 9933
modified.docker/launch-config.j2diffbeforeafterboth
1{1{
2 "relaychain": {
3 "bin": "../alts/polkadot/target/release/polkadot",
4 "chain": "westend-local",
5 "nodes": [
6 {
7 "name": "alice",
8 "wsPort": 9844,
9 "rpcPort": 9843,
10 "port": 30444,
11 "flags": [
12 "-lparachain::candidate_validation=debug",
13 "-lxcm=trace",
14 "--rpc-cors=all",
15 "--unsafe-rpc-external",
16 "--unsafe-ws-external"
17 ]
18 },
19 {
20 "name": "bob",
21 "wsPort": 9855,
22 "rpcPort": 9854,
23 "port": 30555,
24 "flags": [
25 "-lparachain::candidate_validation=debug",
26 "-lxcm=trace",
27 "--rpc-cors=all",
28 "--unsafe-rpc-external",
29 "--unsafe-ws-external"
30 ]
31 },
32 {
33 "name": "charlie",
34 "wsPort": 9866,
35 "rpcPort": 9865,
36 "port": 30666,
37 "flags": [
38 "-lparachain::candidate_validation=debug",
39 "-lxcm=trace",
40 "--rpc-cors=all",
41 "--unsafe-rpc-external",
42 "--unsafe-ws-external"
43 ]
44 },
45 {
46 "name": "dave",
47 "wsPort": 9877,
48 "rpcPort": 9876,
49 "port": 30777,
50 "flags": [
51 "-lparachain::candidate_validation=debug",
52 "-lxcm=trace",
53 "--rpc-cors=all",
54 "--unsafe-rpc-external",
55 "--unsafe-ws-external"
56 ]
57 },
58 {
59 "name": "eve",
60 "wsPort": 9888,
61 "rpcPort": 9887,
62 "port": 30888,
63 "flags": [
64 "-lparachain::candidate_validation=debug",
65 "-lxcm=trace",
66 "--rpc-cors=all",
67 "--unsafe-rpc-external",
68 "--unsafe-ws-external"
69 ]
70 }
71 ],
72 "genesis": {
73 "runtime": {
74 "runtime_genesis_config": {
75 "parachainsConfiguration": {
76 "config": {
77 "validation_upgrade_frequency": 1,
78 "validation_upgrade_delay": 1
79 }
80 }
81 }
82 }
83 }
84 },
2 "parachains": [85 "parachains": [
3 {86 {
4 "bin": "../unique-chain/current/release/unique-collator",87 "bin": "../unique-chain/current/release/unique-collator",
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
112112
113113
114 - name: Build the stack114 - name: Build the stack
115 run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --force-recreate --remove-orphans115 run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build
116116
117117
118# - name: Test Report118# - name: Test Report