Skip to content

Commit 8f00341

Browse files
committed
Fix docker-compose
1 parent f357150 commit 8f00341

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed

.github/workflows/espresso-devnet-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
test:
1414
runs-on: ubuntu-24.04-8core
1515
env:
16-
ESPRESSO_DEVNET_TESTS_LIVENESS_PERIOD: '1m'
17-
ESPRESSO_DEVNET_TESTS_OUTAGE_PERIOD: '1m'
16+
ESPRESSO_DEVNET_TESTS_LIVENESS_PERIOD: "1m"
17+
ESPRESSO_DEVNET_TESTS_OUTAGE_PERIOD: "1m"
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
2121
with:
22-
submodules: 'recursive'
22+
submodules: "recursive"
2323

2424
- name: Install Nix
2525
uses: nixbuild/nix-quick-install-action@v30

espresso/.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ OPERATOR_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf
3434
# cast wallet address --private-key $OPERATOR_PRIVATE_KEY
3535
OPERATOR_ADDRESS=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
3636

37+
OP_BATCHER_PRIVATE_KEY=$OPERATOR_PRIVATE_KEY
38+
3739
# cast wallet address --mnemonic "test test ... junk" --hd-path "m/44'/60'/0'/0/1"
3840
PROPOSER_ADDRESS=0x70997970C51812dc3A010C7d01b50e0d17dc79C8
3941

espresso/docker-compose.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ services:
8181
l1-genesis:
8282
condition: service_completed_successfully
8383
healthcheck:
84-
test: [ "CMD", "curl", "-f", "http://localhost:${L1_HTTP_PORT}" ]
84+
test: ["CMD", "curl", "-f", "http://localhost:${L1_HTTP_PORT}"]
8585
interval: 3s
8686
timeout: 2s
8787
retries: 40
@@ -174,7 +174,7 @@ services:
174174
dockerfile: espresso/docker/op-stack/Dockerfile
175175
target: op-node-target
176176
healthcheck:
177-
test: [ "CMD", "curl", "-f", "http://localhost:${ROLLUP_PORT}" ]
177+
test: ["CMD", "curl", "-f", "http://localhost:${ROLLUP_PORT}"]
178178
interval: 3s
179179
timeout: 2s
180180
retries: 40
@@ -215,7 +215,7 @@ services:
215215
dockerfile: espresso/docker/op-stack/Dockerfile
216216
target: op-node-target
217217
healthcheck:
218-
test: [ "CMD", "curl", "-f", "http://localhost:${VERIFIER_PORT}" ]
218+
test: ["CMD", "curl", "-f", "http://localhost:${VERIFIER_PORT}"]
219219
interval: 3s
220220
timeout: 2s
221221
retries: 40
@@ -252,7 +252,7 @@ services:
252252
dockerfile: espresso/docker/op-stack/Dockerfile
253253
target: op-node-target
254254
healthcheck:
255-
test: [ "CMD", "curl", "-f", "http://localhost:${CAFF_PORT}" ]
255+
test: ["CMD", "curl", "-f", "http://localhost:${CAFF_PORT}"]
256256
interval: 3s
257257
timeout: 2s
258258
retries: 40
@@ -297,7 +297,7 @@ services:
297297
restart: "no"
298298

299299
op-batcher:
300-
profiles: [ "default" ]
300+
profiles: ["default"]
301301
build:
302302
context: ../
303303
dockerfile: espresso/docker/op-stack/Dockerfile
@@ -327,7 +327,7 @@ services:
327327
- op-batcher
328328
- --espresso-light-client-addr=0x703848f4c85f18e3acd8196c8ec91eb0b7bd0797
329329
- --testing-espresso-batcher-private-key=${OP_TESTING_BATCHER_PRIVATE_KEY:-$OPERATOR_PRIVATE_KEY}
330-
- --private-key=${OP_BATCHER_PRIVATE_KEY:-$OPERATOR_PRIVATE_KEY}
330+
- --private-key=${OP_BATCHER_PRIVATE_KEY:-$OP_BATCHER_PRIVATE_KEY}
331331
- --throttle-threshold=0
332332
- --max-channel-duration=2
333333
- --target-num-frames=1
@@ -348,14 +348,18 @@ services:
348348
- proxy
349349

350350
op-batcher-tee:
351-
profiles: [ "tee" ]
351+
profiles: ["tee"]
352352
build:
353353
context: ../
354354
dockerfile: espresso/docker/op-stack/Dockerfile
355355
target: op-batcher-enclave-target
356356
image: op-batcher-tee:espresso
357357
healthcheck:
358-
test: [ "CMD-SHELL", "test -f /tmp/enclave-tools.pid && kill -0 $(cat /tmp/enclave-tools.pid) 2>/dev/null || exit 1" ]
358+
test:
359+
[
360+
"CMD-SHELL",
361+
"test -f /tmp/enclave-tools.pid && kill -0 $(cat /tmp/enclave-tools.pid) 2>/dev/null || exit 1",
362+
]
359363
interval: 30s
360364
timeout: 10s
361365
retries: 3
@@ -403,7 +407,7 @@ services:
403407
/source/espresso/docker/op-batcher-tee/run-enclave.sh
404408
405409
op-proposer:
406-
profiles: [ "default" ]
410+
profiles: ["default"]
407411
build:
408412
context: ../
409413
dockerfile: espresso/docker/op-stack/Dockerfile
@@ -425,10 +429,10 @@ services:
425429
OP_PROPOSER_PROPOSAL_INTERVAL: 6s
426430
OP_PROPOSER_MNEMONIC: "test test test test test test test test test test test junk"
427431
OP_PROPOSER_HD_PATH: "m/44'/60'/0'/0/1"
428-
OP_PROPOSER_GAME_TYPE: '1'
432+
OP_PROPOSER_GAME_TYPE: "1"
429433

430434
op-challenger:
431-
profiles: [ "default" ]
435+
profiles: ["default"]
432436
build:
433437
context: ../
434438
dockerfile: espresso/docker/op-stack/Dockerfile

0 commit comments

Comments
 (0)