Skip to content

Commit

Permalink
Update espresso image to point to integration (#83)
Browse files Browse the repository at this point in the history
* Update espresso image to point to integration

* update espresso dev node

* Update light client address

---------

Co-authored-by: Jeremy <[email protected]>
  • Loading branch information
Sneh1999 and ImJeremyHe authored Feb 9, 2025
1 parent b593254 commit 6af6bf8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 24 deletions.
34 changes: 12 additions & 22 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -411,37 +411,26 @@ services:
- /var/run/docker.sock:/var/run/docker.sock

espresso-dev-node:
# TODO: revert to `:main` tag once we are compatible with the marketplace builder
image: ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:20240919-dev-node-legacy-builder
image: ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:main
ports:
- "$ESPRESSO_SEQUENCER_API_PORT:$ESPRESSO_SEQUENCER_API_PORT"
- "$ESPRESSO_BUILDER_PORT:$ESPRESSO_BUILDER_PORT"
- "$ESPRESSO_DEV_NODE_PORT:$ESPRESSO_DEV_NODE_PORT"
environment:
- ESPRESSO_SEQUENCER_L1_PROVIDER
- ESPRESSO_SEQUENCER_ETH_MNEMONIC
- ESPRESSO_DEPLOYER_ACCOUNT_INDEX
- ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_BUILDER_PORT
- ESPRESSO_DEPLOYER_ACCOUNT_INDEX
- ESPRESSO_DEV_NODE_PORT
- ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_ETH_MNEMONIC
- ESPRESSO_SEQUENCER_L1_PROVIDER
- ESPRESSO_SEQUENCER_DATABASE_MAX_CONNECTIONS=25
- ESPRESSO_SEQUENCER_STORAGE_PATH=/data/espresso
- RUST_LOG=info
- RUST_LOG_FORMAT
- ESPRESSO_DEPLOYER_ALT_CHAIN_PROVIDERS
- ESPRESSO_DEPLOYER_ALT_MNEMONICS
- ESPRESSO_SEQUENCER_DEPLOYER_ALT_INDICES
depends_on:
- geth
- sequencer
healthcheck:
test:
[
"CMD-SHELL",
"curl -fL http://localhost:$ESPRESSO_DEV_NODE_PORT || exit 1",
]
interval: 30s
timeout: 10s
retries: 5
start_period: 40s
volumes:
- espresso_storage:/data/espresso
extra_hosts:
- "host.docker.internal:host-gateway"

# Reads from sequencer feed, forwards transactions to sequencer
full-node:
Expand Down Expand Up @@ -534,3 +523,4 @@ volumes:
das-committee-a-data:
das-committee-b-data:
das-mirror-data:
espresso_storage:
4 changes: 2 additions & 2 deletions test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BLOCKSCOUT_VERSION=offchainlabs/blockscout:v1.1.0-0e716c8
DEFAULT_NITRO_CONTRACTS_VERSION="99c07a7db2fcce75b751c5a2bd4936e898cda065"
DEFAULT_TOKEN_BRIDGE_VERSION="v1.2.2"

ESPRESSO_VERSION=ghcr.io/espressosystems/nitro-espresso-integration/nitro-node-dev:latest
ESPRESSO_VERSION=ghcr.io/espressosystems/nitro-espresso-integration/nitro-node-dev:integration

# Set default versions if not overriden by provided env vars
: ${NITRO_CONTRACTS_REPO:=$DEFAULT_NITRO_CONTRACTS_REPO}
Expand Down Expand Up @@ -48,7 +48,7 @@ tokenbridge=false
l3node=false
consensusclient=false
redundantsequencers=0
lightClientAddr=0xb6eb235fa509e3206f959761d11e3777e16d0e98
lightClientAddr=0xb7fc0e52ec06f125f3afeba199248c79f71c2e3a
lightClientAddrForL3=0x5e36aa9caaf5f708fca5c04d2d4c776a62b2b258
enableEspressoFinalityNode=false
espresso=false
Expand Down

0 comments on commit 6af6bf8

Please sign in to comment.