Commit 32c278b
authored
Add types and
* update spec test to latest
* spec test runner updates
* Handle ephemeral headers FindCONTENT
* fix ephemeral headers offer
* test fixes
* TODO
* clean up todo
* partial cleanup of spec test runnerstore support for Ephemeral Headers (#778)1 parent 5060b62 commit 32c278b
8 files changed
Lines changed: 223 additions & 153 deletions
File tree
- packages
- portalnetwork
- src/networks
- history
- test
- integration
- networks/history
Submodule portal-spec-tests updated 29 files
- .github/workflows/rust.yml-54
- .github/workflows/update-fixtures.yml-38
- Cargo.toml-18
- Makefile-16
- rustfmt.toml-7
- src/client.rs-246
- src/fixture.rs-38
- src/main.rs-80
- tests/mainnet/history/headers_with_proof/15537394.yaml+5
- tests/mainnet/history/headers_with_proof/17034869.yaml+5
- tests/mainnet/history/headers_with_proof/17034870.yaml+1-1
- tests/mainnet/history/headers_with_proof/19426586.yaml+5
- tests/mainnet/history/headers_with_proof/19426587.yaml+5
- tests/mainnet/history/headers_with_proof/beacon_data/15537394/block.ssz
- tests/mainnet/history/headers_with_proof/beacon_data/15537394/historical_batch.ssz
- tests/mainnet/history/headers_with_proof/beacon_data/17034869/block.ssz
- tests/mainnet/history/headers_with_proof/beacon_data/17034869/historical_batch.ssz
- tests/mainnet/history/headers_with_proof/beacon_data/19426586/block.ssz
- tests/mainnet/history/headers_with_proof/beacon_data/19426586/block_roots.ssz
- tests/mainnet/history/headers_with_proof/beacon_data/19426587/block.ssz
- tests/mainnet/history/headers_with_proof/beacon_data/19426587/block_roots.ssz
- tests/mainnet/history/headers_with_proof/block_proofs_bellatrix/README.md+1-1
- tests/mainnet/history/headers_with_proof/block_proofs_bellatrix/beacon_block_proof-15537394.yaml+32
- tests/mainnet/history/headers_with_proof/block_proofs_bellatrix/beacon_block_proof-15539558.yaml
- tests/mainnet/history/headers_with_proof/block_proofs_bellatrix/beacon_block_proof-15547621.yaml
- tests/mainnet/history/headers_with_proof/block_proofs_bellatrix/beacon_block_proof-15555729.yaml
- tests/mainnet/history/headers_with_proof/block_proofs_bellatrix/beacon_block_proof-17034869.yaml+32
- tests/mainnet/history/headers_with_proof/block_proofs_capella/beacon_block_proof-19426586.yaml+31
- tests/mainnet/history/headers_with_proof/block_proofs_deneb/beacon_block_proof-19426587.yaml+32
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
406 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
407 | 408 | | |
408 | 409 | | |
409 | 410 | | |
410 | 411 | | |
411 | | - | |
| 412 | + | |
412 | 413 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
421 | 431 | | |
422 | 432 | | |
423 | 433 | | |
424 | 434 | | |
425 | 435 | | |
426 | | - | |
427 | | - | |
428 | | - | |
| 436 | + | |
429 | 437 | | |
430 | 438 | | |
431 | 439 | | |
432 | 440 | | |
433 | 441 | | |
434 | 442 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | 443 | | |
| 444 | + | |
468 | 445 | | |
469 | 446 | | |
470 | 447 | | |
| |||
476 | 453 | | |
477 | 454 | | |
478 | 455 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
483 | 460 | | |
484 | 461 | | |
485 | 462 | | |
| |||
591 | 568 | | |
592 | 569 | | |
593 | 570 | | |
594 | | - | |
| 571 | + | |
595 | 572 | | |
596 | 573 | | |
597 | 574 | | |
| |||
639 | 616 | | |
640 | 617 | | |
641 | 618 | | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
642 | 636 | | |
643 | 637 | | |
644 | 638 | | |
| |||
649 | 643 | | |
650 | 644 | | |
651 | 645 | | |
652 | | - | |
653 | | - | |
| 646 | + | |
654 | 647 | | |
655 | 648 | | |
656 | 649 | | |
| |||
710 | 703 | | |
711 | 704 | | |
712 | 705 | | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
713 | 741 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
227 | | - | |
| 229 | + | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
| |||
239 | 241 | | |
240 | 242 | | |
241 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | | - | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | | - | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
101 | 109 | | |
102 | 110 | | |
103 | 111 | | |
| |||
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
136 | 145 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
140 | 149 | | |
141 | | - | |
142 | | - | |
143 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
144 | 157 | | |
145 | 158 | | |
146 | 159 | | |
| |||
150 | 163 | | |
151 | 164 | | |
152 | 165 | | |
153 | | - | |
154 | | - | |
| 166 | + | |
| 167 | + | |
155 | 168 | | |
156 | 169 | | |
157 | 170 | | |
158 | 171 | | |
159 | 172 | | |
| 173 | + | |
160 | 174 | | |
161 | 175 | | |
162 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
641 | | - | |
| 640 | + | |
| 641 | + | |
642 | 642 | | |
643 | | - | |
644 | | - | |
| 643 | + | |
| 644 | + | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
709 | | - | |
| 708 | + | |
710 | 709 | | |
711 | 710 | | |
712 | 711 | | |
| |||
881 | 880 | | |
882 | 881 | | |
883 | 882 | | |
884 | | - | |
885 | | - | |
| 883 | + | |
886 | 884 | | |
887 | 885 | | |
888 | 886 | | |
| |||
918 | 916 | | |
919 | 917 | | |
920 | 918 | | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
925 | 923 | | |
926 | 924 | | |
927 | 925 | | |
| |||
995 | 993 | | |
996 | 994 | | |
997 | 995 | | |
998 | | - | |
| 996 | + | |
999 | 997 | | |
1000 | 998 | | |
1001 | 999 | | |
| |||
0 commit comments