Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add taiko setup to sync chains workflow #7730

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
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 taiko:us-docker.pkg.dev/evmchain/images/taiko-client:latest \
--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
1 change: 1 addition & 0 deletions scripts/waitForSync.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
container_mapping = {
"base-": "sedge-execution-op-l2-client",
"op-": "sedge-execution-op-l2-client",
"taiko-": "sedge-execution-taiko-client",
}
default_container_name = "sedge-execution-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 @@ -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
Loading