Skip to content

Allow light client updates to only improve optimistic header#2811

Closed
etan-status wants to merge 1 commit intoethereum:devfrom
etan-status:lc-opt-update
Closed

Allow light client updates to only improve optimistic header#2811
etan-status wants to merge 1 commit intoethereum:devfrom
etan-status:lc-opt-update

Conversation

@etan-status
Copy link
Contributor

The current LightClientUpdate logic rejects updates not advancing the
best known finalized_header, even when the optimistic_header could
be advanced. This patch changes the logic to also process updates that
solely advance the optimistic_header.

The current `LightClientUpdate` logic rejects updates not advancing the
best known `finalized_header`, even when the `optimistic_header` could
be advanced. This patch changes the logic to also process updates that
solely advance the `optimistic_header`.
@etan-status
Copy link
Contributor Author

This PR will not be needed anymore, as this will be a side effect of removing get_active_header when rooting next_sync_committee in attested_header instead of finalized_header.

@etan-status etan-status closed this May 2, 2022
@etan-status etan-status deleted the lc-opt-update branch May 2, 2022 11:10
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