Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
vgorkavenko committed Feb 19, 2024
1 parent 0805e05 commit e2a2120
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -3486,24 +3486,48 @@ config() {
# We are using the variable
# shellcheck disable=SC2034
OBOL_BEACON_NODE_ENDPOINT="${CL_NODE}"
# We are using the variable
# shellcheck disable=SC2034
LIDO_DV_EXIT_BEACON_NODE_URL="${CL_NODE}"
# We are using the variable
# shellcheck disable=SC2034
VE_BEACON_NODE_URL="${CL_NODE}"
# We are using the variable
# shellcheck disable=SC2034
VE_EXECUTION_NODE_URL="${EL_NODE}"
CL_NODE="http://obol-node:3600"
case "${NETWORK}" in
"mainnet")
# We are using the variable
# shellcheck disable=SC2034
VE_LOCATOR_ADDRESS="0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb"
# We are using the variable
# shellcheck disable=SC2034
VE_ORACLE_ADDRESSES_ALLOWLIST='["0x140Bd8FbDc884f48dA7cb1c09bE8A2fAdfea776E","0xA7410857ABbf75043d61ea54e07D57A6EB6EF186","0x404335BcE530400a5814375E7Ec1FB55fAff3eA2","0x946D3b081ed19173dC83Cd974fC69e1e760B7d78","0x007DE4a5F7bc37E2F26c0cb2E8A95006EE9B89b5","0xEC4BfbAF681eb505B94E4a7849877DC6c600Ca3A","0x61c91ECd902EB56e314bB2D5c5C07785444Ea1c8","0x1Ca0fEC59b86F549e1F1184d97cb47794C8Af58d","0xc79F702202E3A6B0B6310B537E786B9ACAA19BAf"]'
# We are using the variable
# shellcheck disable=SC2034
VE_STAKING_MODULE_ID="2"
;;
"holesky")
# We are using the variable
# shellcheck disable=SC2034
VE_LOCATOR_ADDRESS="0x1eDf09b5023DC86737b59dE68a8130De878984f5"
# We are using the variable
# shellcheck disable=SC2034
VE_ORACLE_ADDRESSES_ALLOWLIST='["0x12A1D74F8697b9f4F1eEBb0a9d0FB6a751366399","0xD892c09b556b547c80B7d8c8cB8d75bf541B2284","0xf7aE520e99ed3C41180B5E12681d31Aa7302E4e5","0x31fa51343297FFce0CC1E67a50B2D3428057D1b1"]'
# We are using the variable
# shellcheck disable=SC2034
VE_STAKING_MODULE_ID="2"
;;
"goerli")
# We are using the variable
# shellcheck disable=SC2034
VE_LOCATOR_ADDRESS="0x28FAB2059C713A7F9D8c86Db49f9bb0e96Af1ef8"
# We are using the variable
# shellcheck disable=SC2034
VE_ORACLE_ADDRESSES_ALLOWLIST='["0x19b1BEbe4773fEC2496FEf8b81a9c175A823844B","0x7eE534a6081d57AFB25b5Cff627d4D26217BB0E9","0xD3b1e36A372Ca250eefF61f90E833Ca070559970","0xA8aF49FB44AAA8EECa9Ae918bb7c05e2E71c9DE9","0x3799bDA7B884D33F79CEC926af21160dc47fbe05","0x4c75FA734a39f3a21C57e583c1c29942F021C6B7","0xb29dD2f6672C0DFF2d2f173087739A42877A5172","0xfdA7E01B2718C511bF016030010572e833C7aE6A","0x81E411f1BFDa43493D7994F82fb61A415F6b8Fd4"]'
# We are using the variable
# shellcheck disable=SC2034
VE_STAKING_MODULE_ID="2"
;;
*)
Expand Down Expand Up @@ -3532,6 +3556,8 @@ config() {
query_lido_obol_cluster_dkg
fi
fi
# We are using the variable
# shellcheck disable=SC2034
VE_OPERATOR_ID=$(whiptail --title "Lido Operator ID" --inputbox "Put you Operator ID from Lido Operators dashboard \
(right-click to paste)" 10 60 3>&1 1>&2 2>&3)
fi
Expand Down Expand Up @@ -3842,7 +3868,7 @@ fi

cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
# Use this to make sure root doesn't end up owning files
OWNER=$(stat -f %Su .)
OWNER=$(stat --format=%U .)

if [ "${OWNER}" == "root" ]; then
echo "Please install Eth Docker as a non-root user."
Expand Down

0 comments on commit e2a2120

Please sign in to comment.