add support for linea

This commit is contained in:
Sebastian
2023-08-18 06:19:11 +02:00
parent 205a873549
commit 0edf9c3e5b
6 changed files with 930 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# exit script on any error
set -e
ERIGON_HOME=/root/.local/share/erigon
if [ ! -f "${ERIGON_HOME}/bootstrapped" ];
then
echo "write the custom genesis block"
mkdir -p ${ERIGON_HOME:-/root/.local/share/erigon}
erigon init --datadir ${ERIGON_HOME:-/root/.local/share/erigon} /configs/mainnet/shared/genesis.json
fi
exec erigon $@