-
Notifications
You must be signed in to change notification settings - Fork 176
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
Conversation
dapplion
commented
Dec 8, 2023
- Address a really old concern raised by Response code when aggregate can't be created #109 where some implementations returned 404 if no aggregate can be built.
A 500 error must be returned if no attestation is available for the requested | ||
`attestation_data_root`. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM