Skip to content

Commit

Permalink
chore: remove alt DA related codes
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterli committed Nov 5, 2024
1 parent 0baf5dc commit a36fc62
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 26 deletions.
2 changes: 0 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ L2_CHAIN_ID=11155420
L2_CHAIN_NAME="L2 Devnet"
L2_BLOCK_TIME=2
DEVNET_L2OO=true
DEVNET_ALTDA=false
GENERIC_ALTDA=false
BATCH_INBOX_ADDRESS=0xff00000000000000000000000000000000042069
FINALIZATION_PERIOD_SECONDS=12
ENABLE_GOVERNANCE=false
Expand Down
8 changes: 1 addition & 7 deletions docker/docker-compose-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ services:
--p2p.disable
--p2p.sequencer.key=${GS_SEQUENCER_PRIVATE_KEY}
--safedb.path=/db
--altda.enabled=${ALTDA_ENABLED}
--altda.da-service=${ALTDA_SERVICE}
--altda.da-server=http://da-server:3100
ports:
- "7545:8545"
volumes:
Expand Down Expand Up @@ -95,10 +92,7 @@ services:
OP_BATCHER_TXMGR_MIN_BASEFEE: 2.0 # 2 gwei, might need to tweak, depending on gas market
OP_BATCHER_TXMGR_MIN_TIP_CAP: 2.0 # 2 gwei, might need to tweak, depending on gas market
OP_BATCHER_RESUBMISSION_TIMEOUT: 240s # wait 4 min before bumping fees
OP_BATCHER_ALTDA_ENABLED: "${ALTDA_ENABLED}"
OP_BATCHER_ALTDA_DA_SERVICE: "${ALTDA_SERVICE}"
OP_BATCHER_ALTDA_DA_SERVER: "http://da-server:3100"
OP_BATCHER_DATA_AVAILABILITY_TYPE: "${DA_TYPE}"
OP_BATCHER_DATA_AVAILABILITY_TYPE: "blobs"
networks:
- ops-bedrock_default

Expand Down
2 changes: 0 additions & 2 deletions scripts/l2/l2-generate-deploy-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ fi

# Check optional environment variables
DEVNET_L2OO=${DEVNET_L2OO:-true}
DEVNET_ALTDA=${DEVNET_ALTDA:-false}
GENERIC_ALTDA=${GENERIC_ALTDA:-false}
if [ "$DEVNET_L2OO" = true ]; then
USE_FAULT_PROOFS=false
else
Expand Down
15 changes: 0 additions & 15 deletions scripts/l2/l2-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,6 @@ else
export DG_TYPE=254
export PROPOSAL_INTERVAL=12s
fi
if [ "$DEVNET_ALTDA" = true ]; then
export ALTDA_ENABLED=true
export DA_TYPE=calldata
else
export ALTDA_ENABLED=false
export DA_TYPE=blobs
fi
if [ "$GENERIC_ALTDA" = true ]; then
export ALTDA_GENERIC_DA=true
export ALTDA_SERVICE=true
else
export ALTDA_GENERIC_DA=false
export ALTDA_SERVICE=false
fi
echo

# Launch the OP L2
echo "Launching the OP L2..."
Expand Down

0 comments on commit a36fc62

Please sign in to comment.