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":
|
of "slots_per_epoch":
|
||||||
$SLOTS_PER_EPOCH
|
$SLOTS_PER_EPOCH
|
||||||
|
|
||||||
|
of "slot":
|
||||||
|
$node.beaconClock.now.slotOrZero
|
||||||
|
|
||||||
of "slot_trailing_digits":
|
of "slot_trailing_digits":
|
||||||
var slotStr = $node.beaconClock.now.slotOrZero
|
var slotStr = $node.beaconClock.now.slotOrZero
|
||||||
if slotStr.len > 3: slotStr = slotStr[^3..^1]
|
if slotStr.len > 3: slotStr = slotStr[^3..^1]
|
||||||
|
|
|
@ -64,7 +64,7 @@ type
|
||||||
statusBarContents* {.
|
statusBarContents* {.
|
||||||
desc: ""
|
desc: ""
|
||||||
defaultValue: "peers: $connected_peers; " &
|
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 |" &
|
"finalized epoch: $last_finalized_epoch |" &
|
||||||
"ETH: $attached_validators_balance"
|
"ETH: $attached_validators_balance"
|
||||||
longform: "status-bar-contents" }: string
|
longform: "status-bar-contents" }: string
|
||||||
|
|
|
@ -45,7 +45,7 @@ if [ ! -f "${LAST_VALIDATOR}" ]; then
|
||||||
|
|
||||||
$BEACON_NODE_BIN makeDeposits \
|
$BEACON_NODE_BIN makeDeposits \
|
||||||
--quickstart-deposits="${NUM_VALIDATORS}" \
|
--quickstart-deposits="${NUM_VALIDATORS}" \
|
||||||
--deposits-dir="$VALIDATORS_DIR"
|
--deposits-dir="$VALIDATORS_DIR" \
|
||||||
$DEPOSIT_WEB3_URL_ARG \
|
$DEPOSIT_WEB3_URL_ARG \
|
||||||
--deposit-contract="${DEPOSIT_CONTRACT_ADDRESS}"
|
--deposit-contract="${DEPOSIT_CONTRACT_ADDRESS}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue