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

update to latest light client spec #3508

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

etan-status
Copy link
Contributor

Adds the additional check to ensure optimistic_header is always after
finalized_header in LightClientStore, as introduced to the spec in
ethereum/consensus-specs#2814

Adds the additional check to ensure `optimistic_header` is always after
`finalized_header` in `LightClientStore`, as introduced to the spec in
ethereum/consensus-specs#2814
@etan-status etan-status requested a review from tersec March 15, 2022 19:40
Copy link
Contributor

@tersec tersec left a comment

Choose a reason for hiding this comment

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

Well it's a direct reflection of your approved and merged consensus specs PR, basically the same two lines of code in each, so, sure.

Not sure if it makes sense to wait for the StateData removal PR to go ini since there was indicated a preference for anything not time-critical not to go in before it does.

@etan-status
Copy link
Contributor Author

Sure, the only usage of this code is in testing. This does not touch StateData at all though, so both are fine. Let's err on waiting on the other PR as there is nothing to lose.

@github-actions
Copy link

Unit Test Results

     12 files  ±0     833 suites  ±0   33m 7s ⏱️ ±0s
1 682 tests ±0  1 633 ✔️ ±0    49 💤 ±0  0 ±0 
9 807 runs  ±0  9 691 ✔️ ±0  116 💤 ±0  0 ±0 

Results for commit 1c6ec43. ± Comparison against base commit 6d1d31d.

@etan-status etan-status merged commit 88af3f2 into unstable Mar 16, 2022
@etan-status etan-status deleted the dev/etan/lc-optimisticheader branch March 16, 2022 11:56
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.

2 participants