From ea864f006c578b4526ab4cfd7d7a72f8de0acde8 Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Tue, 31 Oct 2023 08:43:30 -0700 Subject: [PATCH] new evm proxy CLI --- charts/tezos/scripts/evm-proxy.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/charts/tezos/scripts/evm-proxy.sh b/charts/tezos/scripts/evm-proxy.sh index 2fa8f9fb0..004d18d1c 100644 --- a/charts/tezos/scripts/evm-proxy.sh +++ b/charts/tezos/scripts/evm-proxy.sh @@ -2,9 +2,17 @@ set -ex TEZ_BIN=/usr/local/bin -CMD="$TEZ_BIN/octez-evm-proxy-server run \ - with endpoint http://rollup-${MY_POD_NAME}:8932 \ - --mode dev \ - --rpc-addr 0.0.0.0" +if ls /usr/local/bin/octez-evm-node; then + CMD="$TEZ_BIN/octez-evm-node run proxy \ + with endpoint http://rollup-${MY_POD_NAME}:8932 \ + --mode dev \ + --rpc-addr 0.0.0.0" +else + # temporary until 20231106 mondaynet - old command + CMD="$TEZ_BIN/octez-evm-proxy-server run \ + with endpoint http://rollup-${MY_POD_NAME}:8932 \ + --mode dev \ + --rpc-addr 0.0.0.0" +fi exec $CMD