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 logic to check for sync committee duties #4

Merged
merged 17 commits into from
Dec 23, 2022

Conversation

TobiWo
Copy link
Owner

@TobiWo TobiWo commented Nov 29, 2022

Summary

This PR adds all logic to check for current or upcoming sync committee duties which might impact a scheduled maintenance

What was added

  • logic to check for sync committee duties

What changed

  • code structure was refactored
  • documentation was adapted

@TobiWo TobiWo force-pushed the feature/add-logic-to-check-for-sync-committee-duties branch from 6fb6b7d to f286898 Compare December 4, 2022 12:41
@TobiWo TobiWo force-pushed the feature/add-logic-to-check-for-sync-committee-duties branch 2 times, most recently from 75246c8 to 8cab26c Compare December 17, 2022 09:30
@TobiWo TobiWo marked this pull request as ready for review December 20, 2022 18:24
@TobiWo TobiWo added the enhancement New feature or request label Dec 20, 2022
* Add sync committee duties to logic
* Add function to check whether current duties are outdated
* Add function to fetch and parse sync committee duties
* Replace ethereum constants with protocol package
* Move ethereum related functions to protocol package
* Update functions for extended data types
* Move constants module to to root package
* Add graceful killer helper as constant
* Rename module
* Get genesis time from protocol constant
* Delete unnecessary class structure
* Import provided user arguments directly
* Move function to send requests to beacon client to separate module in protocol package
* Move fetching genesis time to protocol module
* Use genesis time from protocol constants
* Delete unnecessary pylint disable
* Rename epoch variable
* Update docstrings
* Call updated fetcher functions
* Delete unnecessary functions
* Update imports and use GracefulKiller constant
* Update docstrings
* Delete unnecessary pylint disable
@TobiWo TobiWo force-pushed the feature/add-logic-to-check-for-sync-committee-duties branch from 339f713 to 08f5d41 Compare December 23, 2022 09:53
@TobiWo TobiWo force-pushed the feature/add-logic-to-check-for-sync-committee-duties branch from 08f5d41 to 94e6f8f Compare December 23, 2022 10:01
@LuisNaldo7 LuisNaldo7 self-requested a review December 23, 2022 10:29
@TobiWo TobiWo self-assigned this Dec 23, 2022
@TobiWo TobiWo merged commit a81843b into main Dec 23, 2022
@TobiWo TobiWo deleted the feature/add-logic-to-check-for-sync-committee-duties branch December 24, 2022 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants