Skip to content

Commit

Permalink
feat: add worldchain to sync supported chains
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Jan 16, 2025
1 parent 2ac55ed commit 060fc62
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/sync-supported-chains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
echo 'Generating sedge docker...'
./build/sedge deps install
if [[ "$network" == base-* || "$network" == op-* ]]; then
if [[ "$network" == base-* || "$network" == op-* || "$network" == world-* ]]; then
if [[ "$network" == *mainnet* ]]; then
CONSENSUS_URL="${{ secrets.MAINNET_CONSENSUS_URL }}"
EXECUTION_URL="${{ secrets.MAINNET_EXECUTION_URL }}"
Expand All @@ -172,8 +172,13 @@ jobs:
extra_param="--base ${{ secrets.BASE_MAINNET_EXTRA_BOOTNODES }}"
fi
if [[ "$network" == world-* ]]; then
extra_param="--world"
fi
stripped_network="${network#base-}"
stripped_network="${stripped_network#op-}"
stripped_network="${stripped_network#world-}"
mkdir -p execution-data-op/logs/configs
mv ../tests/predefined_configs/customNLog.config execution-data-op/logs/configs/customNLog.config
Expand Down Expand Up @@ -283,7 +288,7 @@ jobs:
if: always() && matrix.config.network != 'joc-mainnet' && matrix.config.network != 'joc-testnet' && matrix.config.network != 'linea-mainnet' && matrix.config.network != 'linea-sepolia'
run: |
network="${{ matrix.config.network }}"
if [[ "$network" == base-* || "$network" == op-* ]]; then
if [[ "$network" == base-* || "$network" == op-* || "$network" == world-* ]]; then
docker logs sedge-consensus-op-l2-client
elif [[ "$network" == taiko-* ]]; then
docker logs sedge-consensus-taikodriver-client
Expand Down
16 changes: 16 additions & 0 deletions scripts/workflow_config/sync_testnets_matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
"timeout": 180,
"agent": "g6-standard-6"
},
{
"network": "world-sepolia",
"cl": "",
"cl_image": "",
"checkpoint-sync-url": "",
"timeout": 180,
"agent": "g6-standard-6"
},
{
"network": "op-mainnet",
"cl": "",
Expand All @@ -71,6 +79,14 @@
"timeout": 600,
"agent": "g6-standard-6"
},
{
"network": "world-mainnet",
"cl": "",
"cl_image": "",
"checkpoint-sync-url": "",
"timeout": 600,
"agent": "g6-standard-6"
},
{
"network": "taiko-mainnet",
"cl": "",
Expand Down

0 comments on commit 060fc62

Please sign in to comment.