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
--- a/deploy/dev/host_vars/services/parachain-rococo-charlie.service
+++ b/deploy/dev/host_vars/services/parachain-rococo-charlie.service
@@ -13,6 +13,8 @@
     --port 40332 \
     --rpc-port 9963 \
     --ws-port 9964 \
+    --unsafe-ws-external \
+    --rpc-cors=all \
     --no-prometheus \
     --no-mdns \
     --no-telemetry \
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
19 /ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA \19 /ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA \
20 --port 30330 \20 --port 30330 \
21 --rpc-port 9843 \21 --rpc-port 9843 \
22 --ws-port 984422 --ws-port 9844 \
23 --unsafe-ws-external \
24 --rpc-cors=all
2325
24Restart=always26Restart=always
25RestartSec=12027RestartSec=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