Skip to content

use next slot when signing for light client tests#3447

Merged
etan-status merged 1 commit intounstablefrom
dev/etan/lc-signatureslot-test
Mar 2, 2022
Merged

use next slot when signing for light client tests#3447
etan-status merged 1 commit intounstablefrom
dev/etan/lc-signatureslot-test

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.

2 participants