From 9566a6d23f8eb288326423844801fa64335e7be8 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Mon, 15 Jun 2026 12:05:22 +0000 Subject: [PATCH] morph: init container also mkdir /db/data + seed priv_validator_state.json morphnode panics (open /db/data/...: no such file) without the data dir + initial validator state. EL healthy; this unblocks the CL. Co-Authored-By: Claude Opus 4.8 (1M context) --- morph/l2geth/morph-mainnet-l2geth-archive-leveldb-hash-mpt.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/morph/l2geth/morph-mainnet-l2geth-archive-leveldb-hash-mpt.yml b/morph/l2geth/morph-mainnet-l2geth-archive-leveldb-hash-mpt.yml index f24a59f1..bbc6fd4d 100644 --- a/morph/l2geth/morph-mainnet-l2geth-archive-leveldb-hash-mpt.yml +++ b/morph/l2geth/morph-mainnet-l2geth-archive-leveldb-hash-mpt.yml @@ -107,9 +107,10 @@ services: entrypoint: [/bin/sh, -c] command: - | - mkdir -p /db/config + mkdir -p /db/config /db/data cp -n /seed/config.toml /db/config/config.toml cp -n /seed/genesis.json /db/config/genesis.json + [ -f /db/data/priv_validator_state.json ] || echo '{"height":"0","round":0,"step":0}' > /db/data/priv_validator_state.json restart: no networks: - chains