[Merged by Bors] - Refactor attestation service#1415
Closed
pawanjay176 wants to merge 16 commits intosigp:masterfrom
Closed
[Merged by Bors] - Refactor attestation service#1415pawanjay176 wants to merge 16 commits intosigp:masterfrom
pawanjay176 wants to merge 16 commits intosigp:masterfrom
Conversation
…of SubnetSubscription
da3447d to
7bfe0d5
Compare
Member
|
Is this still a draft? |
Member
Author
|
@AgeManning Will request a review after running this for a couple hours on medalla :) |
Member
Author
|
@AgeManning This is working well on medalla. |
AgeManning
reviewed
Aug 11, 2020
Member
|
bors r+ |
AgeManning
approved these changes
Aug 19, 2020
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>
|
Pull request successfully merged into master. Build succeeded: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.