Skip to content

Commit

Permalink
fix: batcher data-availability-type flag input
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Feb 4, 2025
1 parent 81d15f2 commit 54ef5bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/batcher/op-batcher/op_batcher_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ def get_batcher_config(
"--l1-eth-rpc=" + l1_config_env_vars["L1_RPC_URL"],
"--private-key=" + gs_batcher_private_key,
# da commitments currently have to be sent as calldata to the batcher inbox
"--data-availability-type=" + "calldata"
if da_server_context.enabled
else "blobs",
"--data-availability-type="
+ ("calldata" if da_server_context.enabled else "blobs"),
"--altda.enabled=" + str(da_server_context.enabled),
"--altda.da-server=" + da_server_context.http_url,
# This flag is very badly named, but is needed in order to let the da-server compute the commitment.
Expand Down

0 comments on commit 54ef5bc

Please sign in to comment.