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

Consider fork transitions when using get_sync_aggregate helper func #3572

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

etan-status
Copy link
Contributor

When calling get_sync_aggregate with a signature_slot - 1 in a future fork, i.e., the first slot of the new fork is missed, it uses a wrong fork version for the signature. Fix that by correctly applying fork transitions to the signature_state, if a fork schedule is given.

When calling `get_sync_aggregate` with a `signature_slot - 1` in a
future fork, i.e., the first slot of the new fork is missed, it uses
a wrong fork version for the signature. Fix that by correctly applying
fork transitions to the `signature_state`, if a fork schedule is given.
Copy link
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

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

lgtm

@hwwhww hwwhww merged commit 85bd77b into ethereum:dev Jan 15, 2024
30 checks passed
@etan-status etan-status deleted the lc-transitionacrossforks branch January 15, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants