mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-23 04:04:12 +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)"
|