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

(BIDS-2981) fix activation estimation for eip-7514 #2828

Merged
merged 7 commits into from
Feb 5, 2024

Conversation

guybrush
Copy link
Collaborator

No description provided.

Copy link
Contributor

@D13ce D13ce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build for this PR fails. You have added a new function getValidatorActivationChurnLimit that is not used anywhere. Removing it would solve the build error but it would also render the whole PR almost meaningless as it is the only location where the new config value MaxPerEpochActivationChurnLimit is used.

@@ -199,6 +199,21 @@ func eth1UniqueValidatorsCount() (*uint64, error) {
}

// GetValidatorChurnLimit returns the rate at which validators can enter or leave the system
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tool tip contains the wrong function name (GetValidatorChurnLimit).
Also, is it correct? Based on the function name I would assume that this is only about the enter rate and not about the leave rate.

@guybrush guybrush force-pushed the BIDS-2981/fix-activation-estimation branch from 4b93d73 to 1e7a987 Compare February 5, 2024 09:07
Copy link
Contributor

@D13ce D13ce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@guybrush guybrush merged commit a0ad636 into master Feb 5, 2024
3 checks passed
@guybrush guybrush deleted the BIDS-2981/fix-activation-estimation branch April 15, 2024 07:50
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.

3 participants