Skip to content
Merged
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
54 changes: 36 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,8 @@ jobs:
steps:
- store_artifacts:
path: ./op-acceptance-tests/logs
- notify-failures-on-develop:
mentions: "@changwan <@U08L5U8070U>" # @changwan @Anton Evangelatov

op-acceptance-tests:
parameters:
Expand Down Expand Up @@ -2687,24 +2689,40 @@ workflows:
requires:
- contracts-bedrock-build
- cannon-prestate-quick
# OP Mainnet ## TODO: Need L1 Mainnet Beacon to be exposed for CI
# - op-acceptance-sync-tests-docker:
# name: sync-test-op-mainnet-daily
# gate: sync-test-op-node
# no_output_timeout: 30m
# l2_network_name: "op-mainnet"
# l1_chain_id: "1"
# l2_el_endpoint: "https://op-mainnet-rpc.optimism.io"
# l1_cl_beacon_endpoint: "https://ci-mainnet-beacon.optimism.io"
# l1_el_endpoint: "https://ci-mainnet-l1.optimism.io"
# initial_l2_block: "140013283"
# context:
# - circleci-repo-readonly-authenticated-github-token
# - discord
# requires:
# - contracts-bedrock-build
# - cannon-prestate-quick

## OP Mainnet
- op-acceptance-sync-tests-docker:
name: sync-test-op-mainnet-daily
gate: sync-test-op-node
no_output_timeout: 30m
l2_network_name: "op-mainnet"
l1_chain_id: "1"
l2_el_endpoint: "https://op-mainnet-rpc.optimism.io"
l1_cl_beacon_endpoint: "https://ci-mainnet-beacon.optimism.io"
l1_el_endpoint: "https://ci-mainnet-l1.optimism.io"
initial_l2_block: "140013283"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be dynamically initialized inside tests, by fetching safe head from L2EL and use it. Our original goal is to always test the data with near chain tip.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

May done in follow up PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, let's refactor this in a future PR for all networks.

context:
- circleci-repo-readonly-authenticated-github-token
- discord
requires:
- contracts-bedrock-build
- cannon-prestate-quick
## Base Mainnet
- op-acceptance-sync-tests-docker:
name: sync-test-base-mainnet-daily
gate: sync-test-op-node
no_output_timeout: 30m
l2_network_name: "base-mainnet"
l1_chain_id: "1"
l2_el_endpoint: "https://base-mainnet-rpc.optimism.io"
l1_cl_beacon_endpoint: "https://ci-mainnet-beacon.optimism.io"
l1_el_endpoint: "https://ci-mainnet-l1.optimism.io"
initial_l2_block: "35318000"
context:
- circleci-repo-readonly-authenticated-github-token
- discord
requires:
- contracts-bedrock-build
- cannon-prestate-quick

# Acceptance tests (post-merge to develop)
acceptance-tests:
Expand Down