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

use next slot when signing for light client tests #3447

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

etan-status
Copy link
Contributor

In practice, the sync committee signs LightClientUpdate instances at
the next slot following the block. This is not correctly reflected in
the tests, where it is signed one slot early. This patch updates the
tests to use the correct slot for the computation.

In practice, the sync committee signs `LightClientUpdate` instances at
the next slot following the block. This is not correctly reflected in
the tests, where it is signed one slot early. This patch updates the
tests to use the correct slot for the computation.
@github-actions
Copy link

Unit Test Results

     12 files  ±0     825 suites  ±0   38m 46s ⏱️ + 2m 36s
1 674 tests ±0  1 628 ✔️ ±0    46 💤 ±0  0 ±0 
9 767 runs  ±0  9 667 ✔️ ±0  100 💤 ±0  0 ±0 

Results for commit 04200ff. ± Comparison against base commit 0e34c60.

@etan-status etan-status requested a review from tersec March 1, 2022 15:58
@tersec
Copy link
Contributor

tersec commented Mar 2, 2022

As a workaround, this is fine -- but it seems like something that should be resolved, ideally, in the specs themselves.

@etan-status
Copy link
Contributor Author

See ethereum/consensus-specs#2805

@etan-status etan-status merged commit 3b20d57 into unstable Mar 2, 2022
@etan-status etan-status deleted the dev/etan/lc-signatureslot-test branch March 2, 2022 10:46
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