make zora great again

This commit is contained in:
Sebastian
2024-04-20 04:19:50 +02:00
parent 7731aad4f1
commit f11615832d
5 changed files with 30600 additions and 4 deletions

View File

@@ -14,7 +14,6 @@ HOST_IP="0.0.0.0"
P2P_PORT="${P2P_PORT:-30303}"
ADDITIONAL_ARGS=""
if [ ! -d "$GETH_CHAINDATA_DIR" ]; then
echo "$GETH_CHAINDATA_DIR missing, running init"
echo "Initializing genesis."
@@ -25,7 +24,9 @@ else
echo "$GETH_CHAINDATA_DIR exists."
fi
echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"
if [ -n "$OP_NODE_L2_ENGINE_AUTH_RAW" ]; then
echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"
fi
if [ "${OP_GETH_ETH_STATS+x}" = x ]; then
ADDITIONAL_ARGS="$ADDITIONAL_ARGS --ethstats=$OP_GETH_ETH_STATS"
@@ -61,7 +62,6 @@ exec ./geth \
--state.scheme=${OP_GETH_STATE_SCHEME:-path} \
--db.engine=${GETH_DB_ENGINE:-pebble} \
--discovery.port=${P2P_PORT:-30303} \
--nodiscover \
--maxpeers=100 \
--nat=extip:$HOST_IP \
--networkid="$CHAIN_ID" \

15250
op/mainnet/zora/genesis.json Normal file

File diff suppressed because one or more lines are too long

15250
op/mainnet/zora/rollup.json Normal file

File diff suppressed because one or more lines are too long

View File

@@ -11,6 +11,8 @@ done
PUBLIC_IP=$(curl -s v4.ident.me)
export OP_NODE_P2P_ADVERTISE_IP=$PUBLIC_IP
echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"
if [ -n "$OP_NODE_L2_ENGINE_AUTH_RAW" ]; then
echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"
fi
exec ./op-node