Skip to content

Commit

Permalink
dont disable whitelist in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Oct 23, 2024
1 parent f3ced89 commit 68cdc50
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions contrib/localnet/scripts/start-zetaclientd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ set_sepolia_endpoint() {
jq '.EVMChainConfigs."11155111".Endpoint = "http://eth2:8545"' /root/.zetacored/config/zetaclient_config.json > tmp.json && mv tmp.json /root/.zetacored/config/zetaclient_config.json
}

# this is just for local development, to be removed and initialized whitelistPeers with zetaclient0 and zetaclient1 peerID
set_disable_whitelist() {
jq '.DisableWhitelist = true' /root/.zetacored/config/zetaclient_config.json > tmp.json && mv tmp.json /root/.zetacored/config/zetaclient_config.json
}

# import a relayer private key (e.g. Solana relayer key)
import_relayer_key() {
local num="$1"
Expand Down Expand Up @@ -83,8 +78,6 @@ then
# import relayer private key for zetaclient0
import_relayer_key 0

set_disable_whitelist

# if eth2 is enabled, set the endpoint in the zetaclient_config.json
# in this case, the additional evm is represented with the sepolia chain, we set manually the eth2 endpoint to the sepolia chain (11155111 -> http://eth2:8545)
# in /root/.zetacored/config/zetaclient_config.json
Expand All @@ -108,8 +101,6 @@ then
# import relayer private key for zetaclient{$num}
import_relayer_key "${num}"

set_disable_whitelist

# check if the option is additional-evm
# in this case, the additional evm is represented with the sepolia chain, we set manually the eth2 endpoint to the sepolia chain (11155111 -> http://eth2:8545)
# in /root/.zetacored/config/zetaclient_config.json
Expand Down

0 comments on commit 68cdc50

Please sign in to comment.