Monthly Contribution - October 2024

Monthly Contribution - October 2024
Photo by Goran Ivos / Unsplash
💡
Opened 1 issue to Prysm

Prysm

#1

Prysm API `GetActiveSetChanges` returns incorrect indices for exited and ejected validators · Issue #14564 · prysmaticlabs/prysm
💎 Issue Description I came across an issue with the ExitedValidatorIndices function in the GetActiveSetChanges API (/prysm/v1/validators/active_set_changes). The returned indices for exited validat…
  • Opened first issue at Prysm.
  • Prysm supports a custom endpoint that informs the delta of validator set for each epoch(/prysm/v1/validators/active_set_changes).
  • I found that this API will return wrong answer for exited and ejected validators, as it 1) finds the maximum exit epoch from the validator set, 2) adds MinValidatorWithdrawabilityDelay (which is 256) to the exit epoch, and 3) compares this value to the withdrawable epoch of each validator.
  • Two PRs were born from this issue:
  • Opened at October 22nd.