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

[Merged by Bors] - add slot validation to attestation_data endpoint #1888

Closed

Conversation

realbigsean
Copy link
Member

@realbigsean realbigsean commented Nov 11, 2020

Issue Addressed

Resolves #1801

Proposed Changes

Verify queries to attestation_data are for no later than current_slot + 1. If they are later than this, return a 400.

@realbigsean realbigsean added ready-for-review The code is ready for review low-hanging-fruit Easy to resolve, get it before someone else does! A0 labels Nov 12, 2020
Copy link
Member

@paulhauner paulhauner left a comment

Choose a reason for hiding this comment

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

Great!

bors r+

@paulhauner paulhauner added ready-for-merge This PR is ready to merge. and removed low-hanging-fruit Easy to resolve, get it before someone else does! labels Nov 16, 2020
bors bot pushed a commit that referenced this pull request Nov 16, 2020
## Issue Addressed

Resolves #1801

## Proposed Changes

Verify queries to `attestation_data` are for no later than `current_slot + 1`. If they are later than this, return a 400.


Co-authored-by: realbigsean <[email protected]>
@bors bors bot changed the title add slot validation to attestation_data endpoint [Merged by Bors] - add slot validation to attestation_data endpoint Nov 16, 2020
@bors bors bot closed this Nov 16, 2020
@realbigsean realbigsean deleted the attestation-data-endpoint-lock-fix branch November 21, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0 ready-for-merge This PR is ready to merge. ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Canonical head locked by querying for future attestation data
2 participants