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

Add note on no attestation_data_root #380

Merged
merged 4 commits into from
Dec 12, 2023
Merged

Add note on no attestation_data_root #380

merged 4 commits into from
Dec 12, 2023

Conversation

dapplion
Copy link
Member

@dapplion dapplion commented Dec 8, 2023

Comment on lines 11 to 12
A 500 error must be returned if no attestation is available for the requested
`attestation_data_root`.
Copy link
Contributor

Choose a reason for hiding this comment

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

a 500 would be super weird, why are we going with that?

Copy link
Member Author

Choose a reason for hiding this comment

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

The sane alternative is a 404, which is not ideal either.

Copy link
Contributor

Choose a reason for hiding this comment

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

It's more difinitive, and consistent with what we do when we have routes not found on the states endpoint... I'm happy with that.

Copy link
Contributor

@rolfyone rolfyone left a comment

Choose a reason for hiding this comment

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

LGTM

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