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

VC: Hardening and optimizing time handling. #4743

Merged
merged 8 commits into from
Apr 17, 2023
Merged

Commits on Apr 16, 2023

  1. Fix durationToNextSlot() and durationToNextEpoch() to work not only a…

    …fter Genesis, but also before Genesis.
    
    Change VC pre-genesis behavior, add runPreGenesisWaitingLoop() and runGenesisWaitingLoop().
    Add checkedWaitForSlot() and checkedWaitForNextSlot() to strictly check current time and print warnings.
    Fix VC main loop to use checkedWaitForNextSlot().
    Fix attestation_service to run attestations processing only until the end of the duty slot.
    Change attestation_service main loop to use checkedWaitForNextSlot().
    Change block_service to properly cancel all the pending proposer tasks.
    Use checkedWaitForSlot to wait for block proposal.
    Fix block_service waitForBlockPublished() to be compatible with BN.
    Fix sync_committee_service to avoid asyncSpawn.
    Fix sync_committee_service to run only until the end of the duty slot.
    Fix sync_committee_service to use checkedWaitForNextSlot().
    cheatfate committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    e17a785 View commit details
    Browse the repository at this point in the history
  2. Refactor validator logging.

    Fix aggregated attestation publishing missing delay.
    cheatfate committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    6beb537 View commit details
    Browse the repository at this point in the history
  3. Fix doppelganger detection should not start at pre-genesis time.

    Fix fallback service sync status spam.
    Fix false `sync committee subnets subscription error`.
    cheatfate committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    b21adc9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17336cd View commit details
    Browse the repository at this point in the history
  5. Address review comments.

    cheatfate committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    5740df5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5be531a View commit details
    Browse the repository at this point in the history
  7. Address review comments.

    cheatfate committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    447332f View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Address review comments 2.

    cheatfate committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    aa4a00d View commit details
    Browse the repository at this point in the history