git.delta.rocks / unique-network / refs/commits / 70e9920a4bc2

difftreelog

rpc unsafe

Igor Kozyrev2021-09-17parent: #67563af.patch.diff
in: master

13 files changed

modifieddeploy/dev/host_vars/services/parachain-rococo-alice.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/parachain-rococo-alice.service
+++ b/deploy/dev/host_vars/services/parachain-rococo-alice.service
@@ -11,8 +11,11 @@
     --chain /opt/usetech/chain-specs/nft-rococo-local-v0.9.9.json \
     --node-key-file /opt/usetech/keys/nft-rococo-alice-node-key \
     --port 40330 \
-    --rpc-port 9943 \
+    --rpc-port 9933 \
     --ws-port 9944 \
+    --unsafe-ws-external \
+    --rpc-cors=all \
+    --log evm=trace \
     --no-prometheus \
     --no-mdns \
     --no-telemetry \
modifieddeploy/dev/host_vars/services/parachain-rococo-bob.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/parachain-rococo-bob.service
+++ b/deploy/dev/host_vars/services/parachain-rococo-bob.service
@@ -13,6 +13,8 @@
     --port 40331 \
     --rpc-port 9953 \
     --ws-port 9954 \
+    --unsafe-ws-external \
+    --rpc-cors=all \
     --no-prometheus \
     --no-mdns \
     --no-telemetry \
modifieddeploy/dev/host_vars/services/parachain-rococo-charlie.servicediffbeforeafterboth
before · deploy/dev/host_vars/services/parachain-rococo-charlie.service
1[Unit]2Description=Parachain Charlie @ Rococo Local34[Service]5ExecStart=/opt/usetech/nft \6    --name c3 \7    --collator \8    --force-authoring \9    --base-path /var/local/nft-parachain/rococo/charlie \10#    --parachain-id 2000 \11    --chain /opt/usetech/chain-specs/nft-rococo-local-v0.9.9.json \12    --node-key-file /opt/usetech/keys/nft-rococo-charlie-node-key \13    --port 40332 \14    --rpc-port 9963 \15    --ws-port 9964 \16    --no-prometheus \17    --no-mdns \18    --no-telemetry \19    --bootnodes /ip4/127.0.0.1/tcp/40330/p2p/12D3KooWPRWVk79jY9HRC9ToMuaAEaByJW8UAEBZgAYkGtD1Akz3 \20        /ip4/127.0.0.1/tcp/40331/p2p/12D3KooWGkFdKUuCPZ1GsDF4UX3fMpUw88EYBdtSccKe6CtPBM5L \21        /ip4/127.0.0.1/tcp/40333/p2p/12D3KooWRGrzq2YNgPCV5wKY7b2cpcNWEPieq2oUdxMRfkHrNnks \22        /ip4/127.0.0.1/tcp/40334/p2p/12D3KooWLHqtH7BUBby4mf8hgYXALggZqwRkLMUyRAoCkf1vyoD7 \23        /ip4/127.0.0.1/tcp/40335/p2p/12D3KooWNASZWo1RJacaiaB7XLZDKnKkYxK8deQx7cwoqAH3GCYq \24        /ip4/127.0.0.1/tcp/40336/p2p/12D3KooWBBoQSsMQkDurje3WdjRAbCReGCXrytJp81TjkSnVk5pz \25    -- --execution wasm \26    --chain /opt/parity/chain-specs/rococo-local-v0.9.9.json \27    --port 31202 \28    --rpc-port 9763 \29    --ws-port 9764 \30    --no-prometheus \31    --no-mdns \32    --no-telemetry \33    --bootnodes /ip4/127.0.0.1/tcp/30330/p2p/12D3KooWRS4RKn7Hj3vTpksweCwtmggRK2eYfdRKXUdvkZnQyHV8 \34                /ip4/127.0.0.1/tcp/30331/p2p/12D3KooWG2HkpixZCTFLYHH3kHvn6cLp3FzWwDKpZ65jDLg8ADob \35                /ip4/127.0.0.1/tcp/30332/p2p/12D3KooW9tfKtLhA4Hc4YdmACpNiHu3tfPF4RoAP1NiirKwsQN45 \36                /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWL7SKYJ4rZ4nLrk83cbJHcwLw9EXKGdbSMM49ZTUJbmof \37                /ip4/127.0.0.1/tcp/30334/p2p/12D3KooWSQY8Ektq89TxqkJhhhaUSChZAKBsWybyd8iX98yiBALR \38                /ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA 39		4041Restart=always42RestartSec=1204344[Install]45WantedBy=multi-user.target
modifieddeploy/dev/host_vars/services/parachain-rococo-dave.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/parachain-rococo-dave.service
+++ b/deploy/dev/host_vars/services/parachain-rococo-dave.service
@@ -13,6 +13,8 @@
     --port 40333 \
     --rpc-port 9973 \
     --ws-port 9974 \
+    --unsafe-ws-external \
+    --rpc-cors=all \
     --no-prometheus \
     --no-mdns \
     --no-telemetry \
modifieddeploy/dev/host_vars/services/parachain-rococo-eve.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/parachain-rococo-eve.service
+++ b/deploy/dev/host_vars/services/parachain-rococo-eve.service
@@ -13,6 +13,8 @@
     --port 40334 \
     --rpc-port 9983 \
     --ws-port 9984 \
+    --unsafe-ws-external \
+    --rpc-cors=all \
     --no-prometheus \
     --no-mdns \
     --no-telemetry \
modifieddeploy/dev/host_vars/services/parachain-rococo-ferdie.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/parachain-rococo-ferdie.service
+++ b/deploy/dev/host_vars/services/parachain-rococo-ferdie.service
@@ -13,6 +13,8 @@
     --port 40335 \
     --rpc-port 9993 \
     --ws-port 9994 \
+    --unsafe-ws-external \
+    --rpc-cors=all \
     --no-prometheus \
     --no-mdns \
     --no-telemetry \
modifieddeploy/dev/host_vars/services/parachain-rococo-greg.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/parachain-rococo-greg.service
+++ b/deploy/dev/host_vars/services/parachain-rococo-greg.service
@@ -13,6 +13,8 @@
     --port 40336 \
     --rpc-port 9903 \
     --ws-port 9904 \
+    --unsafe-ws-external \
+    --rpc-cors=all \
     --no-prometheus \
     --no-mdns \
     --no-telemetry \
modifieddeploy/dev/host_vars/services/relay-rococo-alice.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/relay-rococo-alice.service
+++ b/deploy/dev/host_vars/services/relay-rococo-alice.service
@@ -19,7 +19,9 @@
 		/ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA \
         --port 30330 \
         --rpc-port 9843 \
-        --ws-port 9844
+        --ws-port 9844 \
+	--unsafe-ws-external \
+	--rpc-cors=all
 
 Restart=always
 RestartSec=120
modifieddeploy/dev/host_vars/services/relay-rococo-bob.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/relay-rococo-bob.service
+++ b/deploy/dev/host_vars/services/relay-rococo-bob.service
@@ -19,7 +19,9 @@
 		/ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA \
         --port 30331 \
         --rpc-port 9853 \
-        --ws-port 9854
+        --ws-port 9854 \
+	--unsafe-ws-external \
+	--rpc-cors=all
 
 Restart=always
 RestartSec=120
modifieddeploy/dev/host_vars/services/relay-rococo-charlie.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/relay-rococo-charlie.service
+++ b/deploy/dev/host_vars/services/relay-rococo-charlie.service
@@ -19,7 +19,9 @@
 		/ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA \
         --port 30332 \
         --rpc-port 9863 \
-        --ws-port 9864
+        --ws-port 9864 \
+	--unsafe-ws-external \
+	--rpc-cors=all
 
 Restart=always
 RestartSec=120
modifieddeploy/dev/host_vars/services/relay-rococo-dave.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/relay-rococo-dave.service
+++ b/deploy/dev/host_vars/services/relay-rococo-dave.service
@@ -19,7 +19,9 @@
 		/ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA \
         --port 30333 \
         --rpc-port 9873 \
-        --ws-port 9874
+        --ws-port 9874 \
+	--unsafe-ws-external \
+	--rpc-cors=all
 
 Restart=always
 RestartSec=120
modifieddeploy/dev/host_vars/services/relay-rococo-eve.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/relay-rococo-eve.service
+++ b/deploy/dev/host_vars/services/relay-rococo-eve.service
@@ -19,7 +19,9 @@
 		/ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA \
         --port 30334 \
         --rpc-port 9883 \
-        --ws-port 9884
+        --ws-port 9884 \
+	--unsafe-ws-external \
+	--rpc-cors=all
 
 Restart=always
 RestartSec=120
modifieddeploy/dev/host_vars/services/relay-rococo-ferdie.servicediffbeforeafterboth
--- a/deploy/dev/host_vars/services/relay-rococo-ferdie.service
+++ b/deploy/dev/host_vars/services/relay-rococo-ferdie.service
@@ -19,7 +19,9 @@
 		/ip4/127.0.0.1/tcp/30334/p2p/12D3KooWSQY8Ektq89TxqkJhhhaUSChZAKBsWybyd8iX98yiBALR \
         --port 30335 \
         --rpc-port 9893 \
-        --ws-port 9894
+        --ws-port 9894 \
+	--unsafe-ws-external \
+	--rpc-cors=all
 
 Restart=always
 RestartSec=120