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: allow anonymous query and read_state requests with invalid ingress_expiry #343

Merged
merged 7 commits into from
Nov 1, 2024

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Sep 28, 2024

This PR allows anonymous query and read_state requests with invalid ingress_expiry. The motivation is to allow users retrieving the certified subnet time via an anonymous read state request without having to provide a valid ingress_expiry (which they might not be able to do if they don't know the subnet time).

@mraszyk mraszyk requested a review from a team as a code owner September 28, 2024 17:45
@mraszyk mraszyk changed the title feat: allow anonymous read_state requests with invalid ingress_expiry feat: allow anonymous query and read_state requests with invalid ingress_expiry Oct 2, 2024
@mraszyk mraszyk closed this Oct 3, 2024
@mraszyk mraszyk reopened this Oct 17, 2024
spec/index.md Outdated Show resolved Hide resolved
Co-authored-by: Thomas Locher <[email protected]>
Copy link
Member

@Dfinity-Bjoern Dfinity-Bjoern left a comment

Choose a reason for hiding this comment

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

Looks good, as agreed.

spec/index.md Outdated Show resolved Hide resolved
github-merge-queue bot pushed a commit to dfinity/ic that referenced this pull request Oct 28, 2024
…s and read_state requests (#1768)

Adapts ingress message validation such that the ingress_expiry check is
skipped for anonymous queries and anonymous read_state requests.

Implements the interface specification changes from
dfinity/interface-spec#343.
@mraszyk mraszyk merged commit 2f4aede into master Nov 1, 2024
4 checks passed
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