From 8fb525a0b5ae0a3a05aa97e963aad846e1d8f6d3 Mon Sep 17 00:00:00 2001 From: Ignazio Bovo Date: Thu, 2 Mar 2023 23:47:42 +0100 Subject: [PATCH] fix: cleanup fork-off and adjust sleep time --- .../run-runtime-upgrade-tests.sh | 2 +- utils/api-scripts/src/fork-off.ts | 22 +------------------ 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/tests/network-tests/run-runtime-upgrade-tests.sh b/tests/network-tests/run-runtime-upgrade-tests.sh index 8500a963cb..ca0779275f 100755 --- a/tests/network-tests/run-runtime-upgrade-tests.sh +++ b/tests/network-tests/run-runtime-upgrade-tests.sh @@ -182,7 +182,7 @@ function main { echo >&2 "mainnet node starting" # wait 1 minute - sleep 60 + sleep 90 trap cleanup EXIT diff --git a/utils/api-scripts/src/fork-off.ts b/utils/api-scripts/src/fork-off.ts index 962d18a9a7..e5f058f4dd 100644 --- a/utils/api-scripts/src/fork-off.ts +++ b/utils/api-scripts/src/fork-off.ts @@ -16,27 +16,7 @@ import path from 'path' * For module hashing, do it via xxhashAsHex, * e.g. console.log(xxhashAsHex('System', 128)). */ -const prefixes = [ - '0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9' /* System.Account */, - // '0x2ce461329fdf4be12bce01afc0af09bc' /* Members */, - // '0x30f7f927af3a1cd6f254a51fb5ddb9e7' /* Membership WG */, - // '0xf2bc8460d32f9e3947b72e0e2ac73992' /* OperationsWgGamma */, - // '0x9a73b960a5d89e29b0a5636837f8df16' /* OperationsWgBeta */, - // '0xbf38d6d001fcafa118fc9526bee4cb50' /* OperationsWgAlpha */, - // '0xaa4612cd135c6055b7910d493c5fd4ae' /* Forum */, - // '0xcf9da36cc34d922a84a3ec231495ea2b' /* Forum WG */, - // '0x95875cb80ebaf9f918457db6a86ac6ad' /* Storage */, - // '0xaff74aad5f7ed527360635c9b99b50d2' /* Storage WG */, - // '0xb5a494c92fa4747cc071573e93b32b87' /* Content */, - // '0xde7bf41b08da4e09ac0e7c35311f0086' /* ProposalDiscussion */, - // '0xf546b188d57525d1826b066ad7959643' /* Proposal Engine */, - // '0x9a4d7ec4b42d2468c1e2ef6de6dfe59f' /* Proposal Codex */, - // '0x4d91f840794dbb0abe4c14e33733ae2a' /* App WG */, - // '0xdf66cf37cde77d2a63889732a23c685e' /* BagList */, - // '0x43a64b3f1b3826a8520d6a2635c4cdbe' /* Bounty */, - // '0x122856f80f579448b2710bec9ee1f890' /* DistributionWG */, - // '0xcb732bb8b688ea549fec1838a1350aed' /* Project Token */, -] +const prefixes = ['0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9' /* System.Account */] const skippedModulesPrefix = [ 'System', 'Session',