Skip to content

Conversation

eladiosch
Copy link
Contributor

This PR is a part of the Pectra upgrade (PR#15).

In this PR the limit per module is changed from number of validators to number of batches. This is done because in Pectra, validators can be from 32 ETH to 2048 ETH, so limit by number of validators doesn't make much sense.

Since the struct of the limit (per module) is already storing the current number of validators, a new function has been implemented (setCurrentNumBatches) to modify the value from validators to batches. Unsure if this will be used since initially number of batches and validators is the same

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