Fix a typo in start.sh; Display the full slot number in the statusbar [skip ci]
This commit is contained in:
parent
068cc8066e
commit
72c42838cb
|
@ -867,6 +867,9 @@ when hasPrompt:
|
|||
of "slots_per_epoch":
|
||||
$SLOTS_PER_EPOCH
|
||||
|
||||
of "slot":
|
||||
$node.beaconClock.now.slotOrZero
|
||||
|
||||
of "slot_trailing_digits":
|
||||
var slotStr = $node.beaconClock.now.slotOrZero
|
||||
if slotStr.len > 3: slotStr = slotStr[^3..^1]
|
||||
|
|
|
@ -64,7 +64,7 @@ type
|
|||
statusBarContents* {.
|
||||
desc: ""
|
||||
defaultValue: "peers: $connected_peers; " &
|
||||
"epoch: $epoch, slot: $epoch_slot/$slots_per_epoch (..$slot_trailing_digits); " &
|
||||
"epoch: $epoch, slot: $epoch_slot/$slots_per_epoch ($slot); " &
|
||||
"finalized epoch: $last_finalized_epoch |" &
|
||||
"ETH: $attached_validators_balance"
|
||||
longform: "status-bar-contents" }: string
|
||||
|
|
|
@ -45,7 +45,7 @@ if [ ! -f "${LAST_VALIDATOR}" ]; then
|
|||
|
||||
$BEACON_NODE_BIN makeDeposits \
|
||||
--quickstart-deposits="${NUM_VALIDATORS}" \
|
||||
--deposits-dir="$VALIDATORS_DIR"
|
||||
--deposits-dir="$VALIDATORS_DIR" \
|
||||
$DEPOSIT_WEB3_URL_ARG \
|
||||
--deposit-contract="${DEPOSIT_CONTRACT_ADDRESS}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue