Skip to content

Adding a check to verify 256 epoch when consolidating/exiting/withdrawing#160

Open
valefar-on-discord wants to merge 3 commits intomainfrom
256-epoch-check
Open

Adding a check to verify 256 epoch when consolidating/exiting/withdrawing#160
valefar-on-discord wants to merge 3 commits intomainfrom
256-epoch-check

Conversation

@valefar-on-discord
Copy link
Copy Markdown
Collaborator

#152 was reported showing a missed check when consolidating, exiting, and withdrawing where the validator must have been active for at least 256 epochs or these transactions will fail.

We have knowledge of the validators activation_epoch but we don't of the chains current epoch. I added a PR in deposit-backend to add an API that will return the current chain head slot & epoch that can be used to make this calculation trivial.

This change is dependent on that PR being landed and the ethstaker hoodi instance updated accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant