Skip to content

Commit

Permalink
devnet: enable span batches and use blobs for non-plasma (#11477)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianst authored Aug 14, 2024
1 parent 6f9c4f7 commit dece4de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion bedrock-devnet/devnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,10 @@ def devnet_deploy(paths):

if DEVNET_PLASMA:
docker_env['PLASMA_ENABLED'] = 'true'
docker_env['DA_TYPE'] = 'calldata'
else:
docker_env['PLASMA_ENABLED'] = 'false'
docker_env['DA_TYPE'] = 'blobs'

if GENERIC_PLASMA:
docker_env['PLASMA_GENERIC_DA'] = 'true'
Expand All @@ -279,7 +281,6 @@ def devnet_deploy(paths):
docker_env['PLASMA_GENERIC_DA'] = 'false'
docker_env['PLASMA_DA_SERVICE'] = 'false'


# Bring up the rest of the services.
log.info('Bringing up `op-node`, `op-proposer` and `op-batcher`.')
run_command(['docker', 'compose', 'up', '-d', 'op-node', 'op-proposer', 'op-batcher', 'artifact-server'], cwd=paths.ops_bedrock_dir, env=docker_env)
Expand Down
6 changes: 2 additions & 4 deletions ops-bedrock/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,11 @@ services:
OP_BATCHER_PPROF_ENABLED: "true"
OP_BATCHER_METRICS_ENABLED: "true"
OP_BATCHER_RPC_ENABLE_ADMIN: "true"
OP_BATCHER_BATCH_TYPE: 0
OP_BATCHER_BATCH_TYPE: 1
OP_BATCHER_PLASMA_ENABLED: "${PLASMA_ENABLED}"
OP_BATCHER_PLASMA_DA_SERVICE: "${PLASMA_DA_SERVICE}"
OP_BATCHER_PLASMA_DA_SERVER: "http://da-server:3100"
# uncomment to use blobs
# (requires L1 Dencun and L2 Ecotone activation first)
# OP_BATCHER_DATA_AVAILABILITY_TYPE: blobs
OP_BATCHER_DATA_AVAILABILITY_TYPE: "${DA_TYPE}"

op-challenger:
depends_on:
Expand Down

0 comments on commit dece4de

Please sign in to comment.