Skip to content

Commit

Permalink
fix(e2e): only write bootstrap once (#3577)
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera authored Feb 25, 2025
1 parent 5149422 commit 79ec10c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/localnet/scripts/start-zetaclientd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ RELAYER_KEY_PATH="$HOME/.zetacored/relayer-keys"
mkdir -p "${RELAYER_KEY_PATH}"

mkdir -p "$HOME/.tss/"
zetae2e local get-zetaclient-bootstrap > "$HOME/.tss/address_book.seed"
address_book_path="$HOME/.tss/address_book.seed"
if [[ ! -f "$address_book_path" ]]; then
zetae2e local get-zetaclient-bootstrap > $address_book_path
fi

MYIP=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)

Expand Down

0 comments on commit 79ec10c

Please sign in to comment.