difftreelog
added rpc external flags
in: master
3 files changed
Dockerfile-testsdiffbeforeafterboth23 npm install --save @polkadot/api && \ 23 npm install --save @polkadot/api && \ 24 npm install --save-dev mochawesome24 npm install --save-dev mochawesome252526RUN sleep 6026CMD sleep 60272728CMD export NVM_DIR="$HOME/.nvm" && \28CMD export NVM_DIR="$HOME/.nvm" && \29 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \29 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \docker-compose-tests-parachain.ymldiffbeforeafterboth--- a/docker-compose-tests-parachain.yml
+++ b/docker-compose-tests-parachain.yml
@@ -7,6 +7,7 @@
ports:
- 9944:9944
- 9844:9844
+ - 9933:9933
build:
context: ./
dockerfile: Dockerfile-parachain
@@ -28,7 +29,7 @@
volumes:
- ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts
- /home/polkadot/mochawesome-report:/nft_parachain/tests/mochawesome-report
- # command: bash -c 'while true; do sleep 20; df -h; done'
+ command: bash -c 'while true; do sleep 20; df -h; done'
networks:
- node_test_network
depends_on:
launch-config.jsondiffbeforeafterboth--- a/launch-config.json
+++ b/launch-config.json
@@ -66,7 +66,9 @@
"name": "alice",
"flags": [
"--rpc-cors=all",
- "--rpc-port=9933"
+ "--rpc-port=9933",
+ "--ws-external",
+ "--rpc-external"
]
},
{
@@ -76,7 +78,9 @@
"name": "bob",
"flags": [
"--rpc-cors=all",
- "--rpc-port=9934"
+ "--rpc-port=9934",
+ "--ws-external",
+ "--rpc-external"
]
}
]
@@ -86,4 +90,4 @@
"hrmpChannels": [],
"types": "./runtime_types.json",
"finalization": false
-}
\ No newline at end of file
+}