Skip to content

Commit

Permalink
new evm proxy CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Oct 31, 2023
1 parent bd10f33 commit ea864f0
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions charts/tezos/scripts/evm-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ea864f0

Please sign in to comment.