Skip to content

Commit e9d2658

Browse files
authored
run update periphery before synching whitelist (#1508)
1 parent e901cf2 commit e9d2658

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

script/tasks/diamondSyncWhitelist.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ function diamondSyncWhitelist {
1010
# Load configuration & helper functions
1111
source script/helperFunctions.sh
1212

13+
# Update whitelist periphery and composer entries before syncing
14+
echo ""
15+
echo "[info] Updating whitelist periphery and composer entries..."
16+
bunx tsx script/tasks/updateWhitelistPeriphery.ts || checkFailure $? "update whitelist periphery"
17+
echo "[info] Whitelist periphery update completed"
18+
echo ""
19+
1320
# Configuration flag - set to true to allow token contracts to be whitelisted
1421
ALLOW_TOKEN_CONTRACTS=${ALLOW_TOKEN_CONTRACTS:-false}
1522

0 commit comments

Comments
 (0)