From 980970e9db52c15b278556df939e417285143e3c Mon Sep 17 00:00:00 2001 From: Frederik Rothenberger Date: Fri, 30 Aug 2024 16:17:48 +0200 Subject: [PATCH] Adjust ingress expiry to not be more than 5 min after the consent message The previous value was too far into the future, such that the consent message would be considered stale. --- scripts/test-vectors/20240730-icrc21.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-vectors/20240730-icrc21.ts b/scripts/test-vectors/20240730-icrc21.ts index f8d2a208..b9611003 100644 --- a/scripts/test-vectors/20240730-icrc21.ts +++ b/scripts/test-vectors/20240730-icrc21.ts @@ -26,7 +26,7 @@ function hexStringToArrayBuffer(hexString: string): ArrayBuffer { const callRequest = { arg: hexStringToArrayBuffer("4449444C00017104746F6269"), canister_id: Principal.fromHex("00000000006000FD0101"), - ingress_expiry: BigInt("1712667140606000000"), + ingress_expiry: BigInt("1712666798482000000"), method_name: "greet", request_type: "query", sender: Principal.fromHex("04"),