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