Skip to content

Commit

Permalink
Adjust ingress expiry to not be more than 5 min after the consent mes…
Browse files Browse the repository at this point in the history
…sage

The previous value was too far into the future, such that the consent
message would be considered stale.
  • Loading branch information
Frederik Rothenberger committed Aug 30, 2024
1 parent 31aac8a commit 980970e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test-vectors/20240730-icrc21.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 980970e

Please sign in to comment.