From 70adb1080c5e8f71bf16fb39ce4f5fce99f8b808 Mon Sep 17 00:00:00 2001 From: Evan Gray Date: Tue, 3 Dec 2024 13:52:49 -0500 Subject: [PATCH] ci: no need to wait for relay after #538 --- sdk/__tests__/utils.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdk/__tests__/utils.ts b/sdk/__tests__/utils.ts index 11156cc33..522eda9b1 100644 --- a/sdk/__tests__/utils.ts +++ b/sdk/__tests__/utils.ts @@ -277,11 +277,7 @@ async function waitForRelay( dst: Ctx, retryTime: number = 2000 ) { - console.log("Sleeping for 1 min to allow signing of VAA"); - await new Promise((resolve) => setTimeout(resolve, 60 * 1000)); - - // long timeout because the relayer has consistency level set to 15 - const vaa = await wh.getVaa(msgId, "Uint8Array", 2 * 60 * 1000); + const vaa = await wh.getVaa(msgId, "Uint8Array"); const deliveryHash = keccak256(vaa!.hash); const wormholeRelayer = IWormholeRelayer__factory.connect(