Skip to content

Commit 406a892

Browse files
authored
IA1.2.8 Fix docker images (#198)
* Fix image path * Force initialization, undo path changes * Use address for test * Update hash
1 parent 5df6fca commit 406a892

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

espresso/docker/l1-geth/l1-genesis-devnet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"0x65a7ed542fb37fe237fdfbdd70b31598523fe5b32879e307bae27a0bd9581c08": "0x0000000000000000000000000000000000000000000000000000000000000004"
9696
}
9797
},
98-
"0x8943545177806ed17b9f23f0a21ee5948ecaa776": {
98+
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {
9999
"balance": "0x200000000000000000000000000000000000000000000000000000000000000"
100100
}
101101
},

espresso/docker/l1-geth/l1-geth-init.sh

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@ set -e
44
# Set the default port if not provided.
55
ESPRESSO_L1_PORT=${ESPRESSO_L1_PORT:-8545}
66

7-
# Initialize database if not already done.
8-
if [ ! -f /data/geth/chaindata/CURRENT ]; then
9-
echo "Initializing L1 Geth database..."
10-
rm -rf /data/geth || true
11-
geth --datadir /data init /l1-genesis-devnet.json
12-
echo "L1 Geth initialization completed"
13-
else
14-
echo "L1 Geth database already initialized, skipping..."
15-
fi
7+
# Initialize database.
8+
echo "Initializing L1 Geth database..."
9+
rm -rf /data/geth || true
10+
geth --datadir /data init /l1-genesis-devnet.json
11+
echo "L1 Geth initialization completed"
1612

1713
# Start Geth with the specified configuration.
1814
exec geth --datadir /data \

espresso/docker/op-geth/rollup-devnet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"genesis": {
33
"l1": {
4-
"hash": "0xb013fbf7adbda6cfadb3a36774149ca34b1b5b43a65a01053f7d37beae05ec15",
4+
"hash": "0x174eb51a8c96975f7f13643f0c1f811377950840f6229db12aa3643e998edf86",
55
"number": 0
66
},
77
"l2": {

0 commit comments

Comments
 (0)