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
before · deploy/dev/host_vars/services/relay-rococo-alice.service
1[Unit]2Description=Rococo Alice34[Service]5ExecStart=/opt/parity/polkadot \6        --alice \7        --validator \8        --base-path /var/local/rococo/alice \9        --chain /opt/parity/chain-specs/rococo-local-v0.9.9.json \10	--node-key-file /opt/parity/keys/relay-rococo-alice-node-key \11        --execution Wasm \12	--no-prometheus \13	--no-telemetry \14        --no-mdns \15        --bootnodes /ip4/127.0.0.1/tcp/30331/p2p/12D3KooWG2HkpixZCTFLYHH3kHvn6cLp3FzWwDKpZ65jDLg8ADob \16		/ip4/127.0.0.1/tcp/30332/p2p/12D3KooW9tfKtLhA4Hc4YdmACpNiHu3tfPF4RoAP1NiirKwsQN45 \17		/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWL7SKYJ4rZ4nLrk83cbJHcwLw9EXKGdbSMM49ZTUJbmof \18		/ip4/127.0.0.1/tcp/30334/p2p/12D3KooWSQY8Ektq89TxqkJhhhaUSChZAKBsWybyd8iX98yiBALR \19		/ip4/127.0.0.1/tcp/30335/p2p/12D3KooWRwEC5Mdr6V1akrgK9uwm2eo95YyuupsbrrmwoFZYv7DA \20        --port 30330 \21        --rpc-port 9843 \22        --ws-port 98442324Restart=always25RestartSec=1202627[Install]28WantedBy=multi-user.target
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