Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update devnet to use eigenda-proxy #1

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions bedrock-devnet/devnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,16 @@ def devnet_l2_allocs(paths):

# Bring up the devnet where the contracts are deployed to L1
def devnet_deploy(paths):

log.info('Starting peripheral telemetry services.')
run_command(['docker', 'compose', 'up', '-d', 'prometheus'], cwd=paths.ops_bedrock_dir, env={
'PWD': paths.ops_bedrock_dir
})

run_command(['docker', 'compose', 'up', '-d', 'grafana'], cwd=paths.ops_bedrock_dir, env={
'PWD': paths.ops_bedrock_dir
})

if os.path.exists(paths.genesis_l1_path):
log.info('L1 genesis already generated.')
else:
Expand Down
47 changes: 33 additions & 14 deletions ops-bedrock/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,22 +194,41 @@ services:
OP_CHALLENGER_NUM_CONFIRMATIONS: 1

da-server:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/da-server:devnet
build:
context: ../
dockerfile: ops/docker/op-stack-go/Dockerfile
target: da-server-target
command: >
da-server
--file.path=/data
--addr=0.0.0.0
--port=3100
--log.level=debug
--generic-commitment="${PLASMA_GENERIC_DA}"
platform: linux/amd64
image: ghcr.io/layr-labs/eigenda-proxy@sha256:c7aae98c0ed65763e0bfe9b2f41147123d6d576f435dcc2d0d8dbcbb03cdc205
environment:
- EIGENDA_PROXY_ADDR=0.0.0.0
- EIGENDA_PROXY_PORT=3100
- MEMSTORE_ENABLED=true
- MEMSTORE_EXPIRATION=45m
- EIGENDA_PROXY_SIGNER_PRIVATE_KEY_HEX=0000000000000000000100000000000000000000000000000000000000000000
- EIGENDA_PROXY_EIGENDA_DISPERSER_RPC=disperser-holesky.eigenda.xyz:443
ports:
- "3100:3100"
- 3100:3100
- 6969:7300

grafana:
image: grafana/grafana:11.1.0
restart: unless-stopped
env_file:
- grafana.env
volumes:
- "da_data:/data"
- ./monitoring/grafana/provisioning/:/etc/grafana/provisioning/:ro
- ./monitoring/grafana/dashboards:/var/lib/grafana/dashboards
# - grafana_data:/var/lib/grafana
ports:
- 3000:3000

prometheus:
image: prom/prometheus:latest
restart: unless-stopped
env_file:
- .env
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's in this file? It's missing on my localenv and causing errors. I commented it out and it seems to work, but curious if you had anything valuable in it.

volumes:
- ./monitoring/prometheus:/etc/prometheus
# - prometheus_data:/prometheus
ports:
- 9090:9090

sentinel:
image: quarry/sentinel # TODO(10141): We need a public image for this (sentinel is out of repo)
Expand Down
1 change: 1 addition & 0 deletions ops-bedrock/grafana.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GF_SECURITY_ADMIN_PASSWORD=admin
Loading