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 support for DutySyncContribution to fetcher #1266

Closed
xenowits opened this issue Oct 12, 2022 · 0 comments
Closed

Add support for DutySyncContribution to fetcher #1266

xenowits opened this issue Oct 12, 2022 · 0 comments
Assignees
Labels
duties This issue is related to duties to be added

Comments

@xenowits
Copy link
Contributor

xenowits commented Oct 12, 2022

Problem to be solved

Add support for DutyPrepareSyncContribution to fetcher. Fetcher needs to calculate which validators are aggregators for the given slot.

Proposed solution

  • Fetcher queries aggSigDB for DutyPrepareSyncContribution
  • It then filters out the validators that are aggregators using eth2exp.CalculateSyncCommitteeSelection().
  • It also queries DutyDB for DutySyncMessage to get the blockRoot.
  • It then queries the beacon API endpoint GET /eth/v1/validator/sync_committee_contribution to get the sync committee contribution.

Out of Scope

None.

@xenowits xenowits added the duties This issue is related to duties to be added label Oct 12, 2022
@xenowits xenowits assigned xenowits and unassigned xenowits Oct 20, 2022
@xenowits xenowits changed the title Add support for DutyPrepareSyncContribution to fetcher Add support for DutySyncContribution to fetcher Oct 25, 2022
@xenowits xenowits self-assigned this Oct 25, 2022
obol-bulldozer bot pushed a commit that referenced this issue Oct 27, 2022
Adds support for `DutySyncContribution` to fetcher.

category: feature
ticket: #1266
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duties This issue is related to duties to be added
Projects
None yet
Development

No branches or pull requests

1 participant