mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-29 07:17:17 +00:00
17 lines
213 B
Bash
17 lines
213 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
#
|
||
|
# Resets the beacon state genesis time to now.
|
||
|
#
|
||
|
|
||
|
source ./vars.env
|
||
|
|
||
|
NOW=$(date +%s)
|
||
|
|
||
|
lcli \
|
||
|
change-genesis-time \
|
||
|
$TESTNET_DIR/genesis.ssz \
|
||
|
$(date +%s)
|
||
|
|
||
|
echo "Reset genesis time to now ($NOW)"
|