diff --git a/docker/local/docker-compose.yml b/docker/local/docker-compose.yml index 00e99800e2..8c4d6c5b1d 100644 --- a/docker/local/docker-compose.yml +++ b/docker/local/docker-compose.yml @@ -52,7 +52,8 @@ services: "--libp2p", "0.0.0.0:1478", "--jsonrpc", "0.0.0.0:8545", "--prometheus", "0.0.0.0:5001", - "--seal" + "--seal", + "--relayer" ] depends_on: init: diff --git a/scripts/cluster b/scripts/cluster index df005c31f9..7d604c42eb 100755 --- a/scripts/cluster +++ b/scripts/cluster @@ -133,7 +133,7 @@ function startServerFromBinary() { if [ "$1" == "write-logs" ]; then echo "Writing validators logs to the files..." ./polygon-edge server --data-dir ./test-chain-1 --chain genesis.json \ - --grpc-address :10000 --libp2p :30301 --jsonrpc :10002 \ + --grpc-address :10000 --libp2p :30301 --jsonrpc :10002 --relayer \ --num-block-confirmations 2 --seal --log-level DEBUG 2>&1 | tee ./validator-1.log & ./polygon-edge server --data-dir ./test-chain-2 --chain genesis.json \ --grpc-address :20000 --libp2p :30302 --jsonrpc :20002 \ @@ -147,7 +147,7 @@ function startServerFromBinary() { wait else ./polygon-edge server --data-dir ./test-chain-1 --chain genesis.json \ - --grpc-address :10000 --libp2p :30301 --jsonrpc :10002 \ + --grpc-address :10000 --libp2p :30301 --jsonrpc :10002 --relayer \ --num-block-confirmations 2 --seal --log-level DEBUG & ./polygon-edge server --data-dir ./test-chain-2 --chain genesis.json \ --grpc-address :20000 --libp2p :30302 --jsonrpc :20002 \ @@ -163,8 +163,7 @@ function startServerFromBinary() { } function startServerFromDockerCompose() { - if [ "$1" != "polybft" ] - then + if [ "$1" != "polybft" ]; then export EDGE_CONSENSUS="$1" fi