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

feat: HttpAgent uses anonymous identity to make syncTime call #969

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

krpeacock
Copy link
Contributor

which can allow readState calls to work beyond 5 minutes

Description

Because we’ve added to the specification a feature that the check of the ingress_expiry is skipped for anonymous read_state requests (see spec), we can add this logic to the agent.

Fixes SDK-1953

How Has This Been Tested?

New e2e test against mainnet

Checklist:

  • My changes follow the guidelines in CONTRIBUTING.md.
  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

… can allow readState calls to work beyond 5 minutes
@krpeacock krpeacock requested a review from a team as a code owner February 4, 2025 22:09
@krpeacock krpeacock changed the title feat: HttpAgent uses anonymous identity to make syncTime call feat: HttpAgent uses anonymous identity to make syncTime call Feb 4, 2025
Copy link
Contributor

github-actions bot commented Feb 4, 2025

size-limit report 📦

Path Size
@dfinity/agent 72.59 KB (+0.29% 🔺)
@dfinity/candid 11.65 KB (0%)
@dfinity/principal 4.16 KB (0%)
@dfinity/auth-client 50.23 KB (-0.2% 🔽)
@dfinity/assets 68 KB (+0.12% 🔺)
@dfinity/identity 47.91 KB (-0.06% 🔽)
@dfinity/identity-secp256k1 106.66 KB (+0.23% 🔺)

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.

2 participants