Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
twoshark committed Nov 15, 2023
1 parent 69c842b commit b74612c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- run:
name: Check Sepolia RPC Endpoints
command: |
TIME_DIFF_THRESHOLD="<< parameters.time_diff_threshold >>"
if ops/verify_geth_endpoint.sh "<< parameters.l1_sepolia_rpc_url >>" $TIME_DIFF_THRESHOLD && \
ops/verify_geth_endpoint.sh "<< parameters.l2_sepolia_rpc_url >>" $TIME_DIFF_THRESHOLD; then
echo "Both RPC endpoints are up to date and not syncing."
Expand All @@ -54,6 +55,7 @@ jobs:
- run:
name: Check Goerli RPC Endpoints
command: |
TIME_DIFF_THRESHOLD="<< parameters.time_diff_threshold >>"
if ops/verify_geth_endpoint.sh "<< parameters.l1_goerli_rpc_url >>" $TIME_DIFF_THRESHOLD && \
ops/verify_geth_endpoint.sh "<< parameters.l2_goerli_rpc_url >>" $TIME_DIFF_THRESHOLD; then
echo "Both RPC endpoints are up to date and not syncing."
Expand Down Expand Up @@ -116,12 +118,12 @@ workflows:
version: 2
build_and_test_workflow:
jobs:
- check_goerli_rpc_endpoint:
l1_goerli_rpc_url: "<< parameters.l1_goerli_rpc_url >>"
l2_goerli_rpc_url: "<< parameters.l2_goerli_rpc_url >>"
- check_sepolia_rpc_endpoints:
l1_sepolia_rpc_url: "<< parameters.l1_sepolia_rpc_url >>"
l2_sepolia_rpc_url: "<< parameters.l2_sepolia_rpc_url >>"
# - check_goerli_rpc_endpoint:
# l1_goerli_rpc_url: "<< parameters.l1_goerli_rpc_url >>"
# l2_goerli_rpc_url: "<< parameters.l2_goerli_rpc_url >>"
# - check_sepolia_rpc_endpoints:
# l1_sepolia_rpc_url: "<< parameters.l1_sepolia_rpc_url >>"
# l2_sepolia_rpc_url: "<< parameters.l2_sepolia_rpc_url >>"
- check_mainnet_rpc_endpoints:
l1_mainnet_rpc_url: "<< parameters.l1_mainnet_rpc_url >>"
l2_mainnet_rpc_url: "<< parameters.l2_mainnet_rpc_url >>"
Expand Down

0 comments on commit b74612c

Please sign in to comment.