Skip to content

Commit

Permalink
mev-boost: fix missing version text
Browse files Browse the repository at this point in the history
  • Loading branch information
coincashew committed Dec 22, 2024
1 parent cdfb558 commit de4f65f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ethpillar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# 🙌 Ask questions on Discord:
# * https://discord.gg/dEpAVWgFNB

EP_VERSION="3.1.1"
EP_VERSION="3.1.2"

# VARIABLES
export BASE_DIR="$HOME/git/ethpillar" && cd $BASE_DIR
Expand Down Expand Up @@ -481,7 +481,7 @@ while true; do
test -f /etc/systemd/system/validator.service && getClient && getCurrentVersion && VC="Validator client: $CLIENT $VERSION"
test -f /etc/systemd/system/consensus.service && CL=$(curl -s -X GET "${API_BN_ENDPOINT}/eth/v1/node/version" -H "accept: application/json" | jq -r '.data.version')
test -f /etc/systemd/system/execution.service && EL=$(curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}' ${EL_RPC_ENDPOINT} | jq -r '.result')
MB=$(if [[ -f /etc/systemd/system/mevboost.service ]]; then printf "Mev-boost: $(mev-boost --version | sed 's/.*\s\([0-9]*\.[0-9]*\).*/\1/')"; else printf "Mev-boost: Not Installed"; fi)
MB=$(if [[ -f /etc/systemd/system/mevboost.service ]]; then printf "Mev-boost: $(mev-boost --version 2>&1 | sed 's/.*\s\([0-9]*\.[0-9]*\).*/\1/')"; else printf "Mev-boost: Not Installed"; fi)
if [[ -z $CL ]] ; then
CL="Not installed or still starting up."
fi
Expand Down
2 changes: 1 addition & 1 deletion update_mevboost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ _platform=$(get_platform)
_arch=$(get_arch)

function getCurrentVersion(){
INSTALLED=$(mev-boost --version)
INSTALLED=$(mev-boost --version 2>&1)
#Find version in format #.#.#
if [[ $INSTALLED ]] ; then
VERSION=$(echo $INSTALLED | sed 's/.*\s\([0-9]*\.[0-9]*\).*/\1/')
Expand Down

0 comments on commit de4f65f

Please sign in to comment.