Skip to content

Commit 70adb10

Browse files
committed
ci: no need to wait for relay after wormhole-foundation#538
1 parent cb4b447 commit 70adb10

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sdk/__tests__/utils.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,7 @@ async function waitForRelay(
277277
dst: Ctx,
278278
retryTime: number = 2000
279279
) {
280-
console.log("Sleeping for 1 min to allow signing of VAA");
281-
await new Promise((resolve) => setTimeout(resolve, 60 * 1000));
282-
283-
// long timeout because the relayer has consistency level set to 15
284-
const vaa = await wh.getVaa(msgId, "Uint8Array", 2 * 60 * 1000);
280+
const vaa = await wh.getVaa(msgId, "Uint8Array");
285281
const deliveryHash = keccak256(vaa!.hash);
286282

287283
const wormholeRelayer = IWormholeRelayer__factory.connect(

0 commit comments

Comments
 (0)