Skip to content

Commit

Permalink
ethdo: add ability to calc expectation given # of validators
Browse files Browse the repository at this point in the history
  • Loading branch information
coincashew committed Jul 16, 2024
1 parent 179eb80 commit 54c2283
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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

VERSION="1.7.6"
VERSION="1.7.7"
BASE_DIR=$HOME/git/ethpillar

# Load functions
Expand Down
4 changes: 3 additions & 1 deletion functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,9 @@ ethdoYield(){

# Returns expectation between block proposals, sync committee duties
ethdoExpectation(){
ethdo validator --connection ${API_BN_ENDPOINT} expectation
read -r -p "${tty_blue}How many validators do you have? (Press enter for example of 1)${tty_reset} " _NUM
_NUM=${_NUM:-1}
ethdo validator --connection ${API_BN_ENDPOINT} expectation --validators=${_NUM}
ohai "Expectation is based on current # of active validators on the Ethereum network. Press ENTER to continue"
read
}
Expand Down

0 comments on commit 54c2283

Please sign in to comment.