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

Whisk: don't mutate candidates during cooldown #3483

Merged
merged 1 commit into from
Aug 20, 2023

Conversation

dapplion
Copy link
Collaborator

During cooldown phase, validators do not provide a secret shuffle. However, the spec still mutates the trackers with public randnomess. This appears to be unnecessary, since latter steps of the protocol depend on the cumulative randnomness of randao provided by each proposer during the cooldown phase. Each participant should have the same influence in the shuffle outcome with this PR or without.

If there's no security benefit in mutating candidate trackers during cooldown, let's not do so to reduce some cycles during block processing and state hashing

CC: @asn-d6

Copy link
Contributor

@asn-d6 asn-d6 left a comment

Choose a reason for hiding this comment

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

This seems reasonable. Thanks!

@asn-d6 asn-d6 merged commit eef6144 into ethereum:dev Aug 20, 2023
26 checks passed
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.

None yet

2 participants