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] - Refactor attestation service #1415

Closed

Conversation

pawanjay176
Copy link
Member

@pawanjay176 pawanjay176 commented Jul 29, 2020

Issue Addressed

N/A

Proposed Changes

Refactor attestation service to send out requests to find peers for subnets as soon as we get attestation duties.
Earlier, we had much more involved logic to send the discovery requests to the discovery service only 6 slots before the attestation slot. Now that discovery is much smarter with grouped queries, the complexity in attestation service can be reduced considerably.

@AgeManning
Copy link
Member

Is this still a draft?

@pawanjay176 pawanjay176 marked this pull request as ready for review August 10, 2020 06:34
@pawanjay176 pawanjay176 marked this pull request as draft August 10, 2020 06:37
@pawanjay176
Copy link
Member Author

@AgeManning Will request a review after running this for a couple hours on medalla :)

@pawanjay176 pawanjay176 marked this pull request as ready for review August 10, 2020 18:24
@pawanjay176 pawanjay176 added the ready-for-review The code is ready for review label Aug 10, 2020
@pawanjay176
Copy link
Member Author

@AgeManning This is working well on medalla.

@AgeManning AgeManning added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Aug 11, 2020
@pawanjay176 pawanjay176 added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Aug 12, 2020
@AgeManning
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Aug 19, 2020
## Issue Addressed

N/A

## Proposed Changes

Refactor attestation service to send out requests to find peers for subnets as soon as we get attestation duties. 
Earlier, we had much more involved logic to send the discovery requests to the discovery service only 6 slots before the attestation slot. Now that discovery is much smarter with grouped queries, the complexity in attestation service can be reduced considerably.



Co-authored-by: Age Manning <Age@AgeManning.com>
@AgeManning AgeManning added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Aug 19, 2020
@bors bors bot changed the title Refactor attestation service [Merged by Bors] - Refactor attestation service Aug 19, 2020
@bors bors bot closed this Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants