Skip to content

Commit

Permalink
feat: add taiko setup to sync chains workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Nov 6, 2024
1 parent 6bfee29 commit 79cf3a2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/sync-supported-chains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,32 @@ jobs:
--execution-api-url $EXECUTION_URL \
--el-op-extra-flag Sync.VerifyTrieOnStateSyncFinished=true \
$extra_param
elif [[ "$network" == taiko-* ]]; then
if [[ "$network" == *mainnet* ]]; then
CONSENSUS_URL="${{ secrets.MAINNET_CONSENSUS_URL }}"
EXECUTION_URL="${{ secrets.MAINNET_EXECUTION_URL }}"
stripped_network="mainnet"
elif [[ "$network" == *hekla* ]]; then
CONSENSUS_URL="${{ secrets.HOLESKY_CONSENSUS_URL }}"
EXECUTION_URL="${{ secrets.HOLESKY_EXECUTION_URL }}"
stripped_network="holesky"
else
echo "Unknown network"
exit 1
fi
./build/sedge generate \
--logging none \
-p $GITHUB_WORKSPACE/sedge \
taiko-full-node \
--l2-execution taiko-nethermind:$docker_image \
--taiko-image us-docker.pkg.dev/evmchain/images/taiko-client:taiko-client-v0.39.2 \
--map-all \
--network $stripped_network \
--consensus-url $CONSENSUS_URL \
--execution-api-url $EXECUTION_URL \
--el-l2-extra-flag Sync.VerifyTrieOnStateSyncFinished=true \
$extra_param
else
./build/sedge generate \
--logging none \
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 @@ -71,6 +71,22 @@
"timeout": 600,
"agent": "g6-standard-16"
},
{
"network": "taiko-mainnet",
"cl": "",
"cl_image": "",
"checkpoint-sync-url": "",
"timeout": 600,
"agent": "g6-standard-16"
},
{
"network": "taiko-hekla",
"cl": "",
"cl_image": "",
"checkpoint-sync-url": "",
"timeout": 600,
"agent": "g6-standard-16"
},
{
"network": "joc-mainnet",
"cl": "",
Expand Down

0 comments on commit 79cf3a2

Please sign in to comment.