From 101084a42964bb37e76402486bd55d965681f072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Bl=C3=A4cker?= Date: Wed, 3 Dec 2025 07:15:59 +0700 Subject: [PATCH 1/2] run update periphery before synching whitelist --- config/whitelist.json | 10 ++++++++++ script/tasks/diamondSyncWhitelist.sh | 7 +++++++ 2 files changed, 17 insertions(+) diff --git a/config/whitelist.json b/config/whitelist.json index bbb3c870d..469dc4921 100644 --- a/config/whitelist.json +++ b/config/whitelist.json @@ -7195,6 +7195,16 @@ "signature": "processRoute(address,uint256,address,uint256,address,bytes)" } ] + }, + { + "name": "Composer", + "address": "0x873fd892E827B9C3057f5A49A612EeecD6694cd3", + "selectors": [ + { + "selector": "0x00a32e6c", + "signature": "runVM((uint8,bytes32)[],(bytes[]))" + } + ] } ], "moonbeam": [ diff --git a/script/tasks/diamondSyncWhitelist.sh b/script/tasks/diamondSyncWhitelist.sh index a0203260f..765ff3b4a 100644 --- a/script/tasks/diamondSyncWhitelist.sh +++ b/script/tasks/diamondSyncWhitelist.sh @@ -10,6 +10,13 @@ function diamondSyncWhitelist { # Load configuration & helper functions source script/helperFunctions.sh + # Update whitelist periphery and composer entries before syncing + echo "" + echo "[info] Updating whitelist periphery and composer entries..." + bunx tsx ./script/tasks/updateWhitelistPeriphery.ts || checkFailure $? "update whitelist periphery" + echo "[info] Whitelist periphery update completed" + echo "" + # Configuration flag - set to true to allow token contracts to be whitelisted ALLOW_TOKEN_CONTRACTS=${ALLOW_TOKEN_CONTRACTS:-false} From 0f7d11c273c9b731cfb55117bd2f1427834b2bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Bl=C3=A4cker?= Date: Thu, 11 Dec 2025 12:15:44 +0700 Subject: [PATCH 2/2] update file path for consistency --- script/tasks/diamondSyncWhitelist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/tasks/diamondSyncWhitelist.sh b/script/tasks/diamondSyncWhitelist.sh index 765ff3b4a..7481f71a7 100644 --- a/script/tasks/diamondSyncWhitelist.sh +++ b/script/tasks/diamondSyncWhitelist.sh @@ -13,7 +13,7 @@ function diamondSyncWhitelist { # Update whitelist periphery and composer entries before syncing echo "" echo "[info] Updating whitelist periphery and composer entries..." - bunx tsx ./script/tasks/updateWhitelistPeriphery.ts || checkFailure $? "update whitelist periphery" + bunx tsx script/tasks/updateWhitelistPeriphery.ts || checkFailure $? "update whitelist periphery" echo "[info] Whitelist periphery update completed" echo ""