Commit 9b4ca68
committed
fix(spec-tests): align fork_choice test runner with Lodestar TS
- Fix attestation step: use force_import=false for step attestations
(only block-body attestations use force_import=true, matching TS
importAttestations: Force)
- Add importBlockAttestations to process block body attestations
through fork choice after onBlock (mirrors pyspec is_from_block=True)
- Add pending_payload_statuses map to store execution engine mock
statuses for consumption during block processing (mirrors TS
ExecutionEngineMockBackend.addPredefinedPayloadStatus)
- Add getBlockExecutionStatus to look up stored payload status by
execution payload block hash before defaulting to .valid
- Add validateBlobsProofs for deneb/electra blocks: validate that
blobs and proofs counts match blobKzgCommitments (count-only,
no KZG proof verification)
- Parse blobs/proofs fields from YAML block steps
- Handle multi-line should_override_forkchoice_update YAML values
- Add skip patterns in writer matching Lodestar TS skip list
- Bump spec test version to v1.7.0-alpha.2
- Add TODO for v1.7.0-alpha.1 proposer index check in onBlock1 parent 419043b commit 9b4ca68
File tree
5 files changed
+252
-15
lines changed- src/fork_choice
- test/spec
- runner
- writer
5 files changed
+252
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
477 | 480 | | |
478 | 481 | | |
479 | 482 | | |
| |||
0 commit comments