Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust ingress expiry to not be more than 5 min after the consent message #705

Open
wants to merge 31 commits into
base: test-vectors
Choose a base branch
from

Conversation

frederikrothenberger
Copy link

The previous value was too far into the future, such that the consent message would be considered stale.

lmuntaner and others added 30 commits July 22, 2024 16:08
# Motivation

Expiry takes as a constructor argument the time _delta_ in millis.
Supplied was the absolute timestamp as a number (but too large to use
accurate integer representation).

This fixes the bug.

In addition, the test vector should be called ICRC-21 rather then
ICRC-29.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Llorenç <[email protected]>
…sage

The previous value was too far into the future, such that the consent
message would be considered stale.
Copy link
Contributor

size-limit report 📦

Path Size
@dfinity/ckbtc 7.91 KB (0%)
@dfinity/cketh 3.56 KB (0%)
@dfinity/cmc 1.29 KB (0%)
@dfinity/ledger-icrc 3.9 KB (0%)
@dfinity/ledger-icp 15.23 KB (0%)
@dfinity/nns 35.68 KB (0%)
@dfinity/nns-proto 140.98 KB (0%)
@dfinity/sns 15.71 KB (0%)
@dfinity/utils 4.47 KB (0%)
@dfinity/ic-management 2.78 KB (0%)

Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber stamp

@peterpeterparker
Copy link
Member

@frederikrothenberger u still need this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants