Commit 02f792b
committed
Fix test harness to pair block attestations with signature proofs
build_signed_block was creating an empty attestation_signatures list,
so the zip in on_block_core discarded all in-block attestations before
they reached fork choice. Now builds one empty AggregatedSignatureProof
per attestation, matching each attestation's aggregation_bits.
This fixes all 7 headSlot-mismatch failures in fork choice spec tests.
All 48 forkchoice spec tests now pass.1 parent e720507 commit 02f792b
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
161 | 172 | | |
162 | 173 | | |
163 | 174 | | |
164 | 175 | | |
165 | | - | |
| 176 | + | |
166 | 177 | | |
167 | 178 | | |
168 | 179 | | |
| |||
0 commit comments