Skip to content

Commit

Permalink
ci: no need to wait for relay after #538
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray committed Dec 4, 2024
1 parent cb4b447 commit 70adb10
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sdk/__tests__/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 70adb10

Please sign in to comment.