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

difftreelog

dev setup parachain westend

Igor Kozyrev2021-09-17parent: #371988e.patch.diff
in: master

20 files changed

addeddeploy/dev/host_vars/chain-specs/nft-westend-local-v0.9.9-source.jsondiffbeforeafterboth

no changes

deleteddeploy/dev/host_vars/chain-specs/rococo-local-v0.9.9.jsondiffbeforeafterboth

no changes

addeddeploy/dev/host_vars/keys/nft-westend-alice-node-keydiffbeforeafterboth

no changes

addeddeploy/dev/host_vars/keys/nft-westend-bob-node-keydiffbeforeafterboth

no changes

addeddeploy/dev/host_vars/keys/nft-westend-charlie-node-keydiffbeforeafterboth

no changes

addeddeploy/dev/host_vars/keys/nft-westend-dave-node-keydiffbeforeafterboth

no changes

addeddeploy/dev/host_vars/keys/nft-westend-eve-node-keydiffbeforeafterboth

no changes

addeddeploy/dev/host_vars/keys/nft-westend-ferdie-node-keydiffbeforeafterboth

no changes

addeddeploy/dev/host_vars/keys/nft-westend-greg-node-keydiffbeforeafterboth

no changes

modifieddeploy/dev/host_vars/services/parachain-westend-alice.servicediffbeforeafterboth
33
4[Service]4[Service]
5ExecStart=/opt/usetech/nft \5ExecStart=/opt/usetech/nft \
6 --alice \6 --name c1-westend \
7 --collator \7 --collator \
8 --force-authoring \8 --force-authoring \
9 --base-path /var/local/nft-parachain/westend/alice \9 --base-path /var/local/nft-parachain/westend/alice \
10 --parachain-id 2000 \10 --chain /opt/usetech/chain-specs/nft-westend-local-v0.9.9.json \
11 --node-key-file /opt/usetech/keys/nft-westend-alice-node-key \
11 --port 40333 \12 --port 40330 \
12 --rpc-port 9933 \13 --rpc-port 9933 \
13 --ws-port 9944 \14 --ws-port 9944 \
14 --chain westend-local \15 --unsafe-ws-external \
16 --rpc-cors=all \
15 --discover-local \17 --log evm=trace \
18 --no-prometheus \
19 --no-mdns \
20 --no-telemetry \
21 --bootnodes /ip4/127.0.0.1/tcp/40331/p2p/12D3KooWMjwdMxrrFX8BJLCq9TtzfjQeWfrUFfAMjeFYoWvftuC1 \
22 /ip4/127.0.0.1/tcp/40332/p2p/12D3KooWGVUDoB2RQM5X9QLGyvpZXm6gReTjePD1ghG49cu5QqTJ \
23 /ip4/127.0.0.1/tcp/40333/p2p/12D3KooWEcHpv5dqWmragGdwfpUJBEnjMqPy9t4663fE9JKQhZTx \
24 /ip4/127.0.0.1/tcp/40334/p2p/12D3KooWHaroVaRGh7848ZXD41ErGoa4a97kcRUzoxNLtVRXfPa8 \
25 /ip4/127.0.0.1/tcp/40335/p2p/12D3KooWE7sSJtYy46aQw43GPwreg4RbZyx6iP9wkxSZwtskyeLN \
26 /ip4/127.0.0.1/tcp/40336/p2p/12D3KooWC6XcucJKR3yhW7t38M4CqXqnwv3kmqjWyqyVp6wBzWkP \
16 -- --execution wasm \27 -- --execution wasm \
17 --chain /opt/parity/westend-local.json \28 --chain /opt/parity/chain-specs/westend-local-v0.9.9.json \
18 --port 31200 \29 --port 31200 \
19# --rpc-port 9933 \30 --rpc-port 9743 \
20# --ws-port 9944 \31 --ws-port 9744 \
32 --no-prometheus \
21 --no-mdns \33 --no-mdns \
22 --bootnodes /ip4/127.0.0.1/tcp/30336/p2p/12D3KooWR76geqit8nMJtQYuLXNy4oHDVJZdsPLNjTmWhL4TeijW \34 --no-telemetry \
35 --bootnodes /ip4/127.0.0.1/tcp/30330/p2p/12D3KooWFeip5gL9ZUKWbD4tUE1mE7hGu7m2R2eoBqeSkLa2xrVp \
23 /ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRqnBJPpKntaKmqoDJLxgGR11tconzYLewaeGz2saiXhw \36 /ip4/127.0.0.1/tcp/30331/p2p/12D3KooWMkSKwDEKHsxW11YtKNnpeLQiYMZvKUy4XFpF2foZfspb \
24 /ip4/127.0.0.1/tcp/30334/p2p/12D3KooWRydSwsbQbfBN71DFXxmYt5GHmrVebRmUv9mPU91U3FPE \37 /ip4/127.0.0.1/tcp/30332/p2p/12D3KooWAK674KrVuH469qro6F9VupJjf3y4NztzAR76Pdn63G1x \
25 /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWHp7JuDmdrv79mgdPxPa59PYLiXW2AkwXqAXQa71i1gje 38 /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWAE4pU99aVYJBr2YorMfpnjg6hgf1By1z2TeLS6xivnkX \
26 39 /ip4/127.0.0.1/tcp/30334/p2p/12D3KooWFLkdZQ2sTsjazSotfkFY8HhHXVvT4Wp6xWcAm6aXH5qk \
40 /ip4/127.0.0.1/tcp/30335/p2p/12D3KooWKAkFyAD94wDdhb1k9DgDEWNgDftzTZV7t88K1rm6wcXn
41
42
27Restart=always43Restart=always
28RestartSec=12044RestartSec=120
modifieddeploy/dev/host_vars/services/parachain-westend-bob.servicediffbeforeafterboth
33
4[Service]4[Service]
5ExecStart=/opt/usetech/nft \5ExecStart=/opt/usetech/nft \
6 --bob \6 --name c2-westend \
7 --collator \7 --collator \
8 --force-authoring \8 --force-authoring \
9 --base-path /var/local/nft-parachain/westend/bob \9 --base-path /var/local/nft-parachain/westend/bob \
10 --parachain-id 2000 \10 --chain /opt/usetech/chain-specs/nft-westend-local-v0.9.9.json \
11 --node-key-file /opt/usetech/keys/nft-westend-bob-node-key \
11 --port 40334 \12 --port 40331 \
13 --rpc-port 9953 \
12 --ws-port 9945 \14 --ws-port 9954 \
15 --unsafe-ws-external \
13 --rpc-port 9934 \16 --rpc-cors=all \
14 --chain westend-local \17 --no-prometheus \
18 --no-mdns \
15 --discover-local \19 --no-telemetry \
16 -- --execution wasm \20 --bootnodes /ip4/127.0.0.1/tcp/40330/p2p/12D3KooWQtBLkU1w159qXhykJRDArqvBQ5icq4Wgkj2LSpJK98Gd \
21 /ip4/127.0.0.1/tcp/40332/p2p/12D3KooWGVUDoB2RQM5X9QLGyvpZXm6gReTjePD1ghG49cu5QqTJ \
22 /ip4/127.0.0.1/tcp/40333/p2p/12D3KooWEcHpv5dqWmragGdwfpUJBEnjMqPy9t4663fE9JKQhZTx \
23 /ip4/127.0.0.1/tcp/40334/p2p/12D3KooWHaroVaRGh7848ZXD41ErGoa4a97kcRUzoxNLtVRXfPa8 \
24 /ip4/127.0.0.1/tcp/40335/p2p/12D3KooWE7sSJtYy46aQw43GPwreg4RbZyx6iP9wkxSZwtskyeLN \
25 /ip4/127.0.0.1/tcp/40336/p2p/12D3KooWC6XcucJKR3yhW7t38M4CqXqnwv3kmqjWyqyVp6wBzWkP \
26 -- --execution wasm \
17 --chain /opt/parity/westend-local.json \27 --chain /opt/parity/chain-specs/westend-local-v0.9.9.json \
18 --port 31201 \28 --port 31201 \
19# --ws-port 9945 \29 --rpc-port 9753 \
30 --ws-port 9754 \
20# --rpc-port 9934 \31 --no-prometheus \
21 --no-mdns \32 --no-mdns \
22 --bootnodes /ip4/127.0.0.1/tcp/30336/p2p/12D3KooWR76geqit8nMJtQYuLXNy4oHDVJZdsPLNjTmWhL4TeijW \33 --no-telemetry \
34 --bootnodes /ip4/127.0.0.1/tcp/30330/p2p/12D3KooWFeip5gL9ZUKWbD4tUE1mE7hGu7m2R2eoBqeSkLa2xrVp \
23 /ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRqnBJPpKntaKmqoDJLxgGR11tconzYLewaeGz2saiXhw \35 /ip4/127.0.0.1/tcp/30331/p2p/12D3KooWMkSKwDEKHsxW11YtKNnpeLQiYMZvKUy4XFpF2foZfspb \
24 /ip4/127.0.0.1/tcp/30334/p2p/12D3KooWRydSwsbQbfBN71DFXxmYt5GHmrVebRmUv9mPU91U3FPE \36 /ip4/127.0.0.1/tcp/30332/p2p/12D3KooWAK674KrVuH469qro6F9VupJjf3y4NztzAR76Pdn63G1x \
25 /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWHp7JuDmdrv79mgdPxPa59PYLiXW2AkwXqAXQa71i1gje 37 /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWAE4pU99aVYJBr2YorMfpnjg6hgf1By1z2TeLS6xivnkX \
38 /ip4/127.0.0.1/tcp/30334/p2p/12D3KooWFLkdZQ2sTsjazSotfkFY8HhHXVvT4Wp6xWcAm6aXH5qk \
39 /ip4/127.0.0.1/tcp/30335/p2p/12D3KooWKAkFyAD94wDdhb1k9DgDEWNgDftzTZV7t88K1rm6wcXn
40
2641
27Restart=always42Restart=always
28RestartSec=12043RestartSec=120
addeddeploy/dev/host_vars/services/parachain-westend-charlie.servicediffbeforeafterboth

no changes

addeddeploy/dev/host_vars/services/parachain-westend-dave.servicediffbeforeafterboth

no changes

addeddeploy/dev/host_vars/services/parachain-westend-eve.servicediffbeforeafterboth

no changes

addeddeploy/dev/host_vars/services/parachain-westend-ferdie.servicediffbeforeafterboth

no changes

addeddeploy/dev/host_vars/services/parachain-westend-greg.servicediffbeforeafterboth

no changes

addeddeploy/dev/put-keys-parachain-westend.shdiffbeforeafterboth

no changes

modifieddeploy/dev/start-parachain-westend.shdiffbeforeafterboth
1#!/bin/bash1#!/bin/bash
2
3/opt/usetech/nft build-spec --chain=/opt/usetech/chain-specs/nft-westend-local-v0.9.9-source.json --raw --disable-default-bootnode > /opt/usetech/chain-specs/nft-westend-local-v0.9.9.json
2/opt/usetech/nft export-genesis-state --parachain-id 2000 > /opt/usetech/nft-parachain-2000-genesis4/opt/usetech/nft export-genesis-state --chain /opt/usetech/chain-specs/nft-westend-local-v0.9.9.json > /opt/usetech/nft-parachain-2000-genesis
3
4/opt/usetech/nft export-genesis-wasm > /opt/usetech/nft-parachain-2000-wasm5/opt/usetech/nft export-genesis-wasm --chain /opt/usetech/chain-specs/nft-westend-local-v0.9.9.json > /opt/usetech/nft-parachain-2000-wasm
56
67
7service parachain-westend-alice start8service parachain-westend-alice start
8sleep 159sleep 5
910
10service parachain-westend-bob start11service parachain-westend-bob start
12sleep 5
13
14service parachain-westend-charlie start
15sleep 5
16
17service parachain-westend-dave start
18sleep 5
19
20service parachain-westend-eve start
21sleep 5
22
23service parachain-westend-ferdie start
24sleep 5
25
26service parachain-westend-greg start
1127
modifieddeploy/dev/stop-parachain-rococo.shdiffbeforeafterboth
1#!/bin/bash1#!/bin/bash
2service parachain-rococo-greg stop2service parachain-rococo-greg stop
3sleep 5
4
5service parachain-rococo-ferdie stop3service parachain-rococo-ferdie stop
6sleep 5
7
8service parachain-rococo-eve stop4service parachain-rococo-eve stop
9sleep 5
10
11service parachain-rococo-dave stop5service parachain-rococo-dave stop
12sleep 5
13
14service parachain-rococo-charlie stop6service parachain-rococo-charlie stop
15sleep 5
16
17service parachain-rococo-bob stop7service parachain-rococo-bob stop
18sleep 5
19
20service parachain-rococo-alice stop8service parachain-rococo-alice stop
9
modifieddeploy/dev/stop-parachain-westend.shdiffbeforeafterboth
1#!/bin/bash1#!/bin/bash
2service parachain-westend-greg stop
3service parachain-westend-ferdie stop
4service parachain-westend-eve stop
5service parachain-westend-dave stop
6service parachain-westend-charlie stop
2service parachain-westend-bob stop7service parachain-westend-bob stop
3sleep 5
4
5service parachain-westend-alice stop8service parachain-westend-alice stop
9
6sleep 1510sleep 15
711
8rm -rfv /var/local/nft-parachain/westend/alice12rm -rfv /var/local/nft-parachain/westend/
9rm -rfv /var/local/nft-parachain/westend/bob
1013