Commit dece4de2 authored by Sebastian Stammler's avatar Sebastian Stammler Committed by GitHub

devnet: enable span batches and use blobs for non-plasma (#11477)

parent 6f9c4f77
......@@ -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'
......@@ -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)
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment