lighthouse/beacon_node/execution_layer/src
Michael Sproul e4cbdc1c77 Optimistic sync spec tests (v1.2.0) (#3564)
## Issue Addressed

Implements new optimistic sync test format from https://github.com/ethereum/consensus-specs/pull/2982.

## Proposed Changes

- Add parsing and runner support for the new test format.
- Extend the mock EL with a set of canned responses keyed by block hash. Although this doubles up on some of the existing functionality I think it's really nice to use compared to the `preloaded_responses` or static responses. I think we could write novel new opt sync tests using these primtives much more easily than the previous ones. Forks are natively supported, and different responses to `forkchoiceUpdated` and `newPayload` are also straight-forward.

## Additional Info

Blocked on merge of the spec PR and release of new test vectors.
2022-10-15 22:25:52 +00:00
..
engine_api Optimistic sync spec tests (v1.2.0) (#3564) 2022-10-15 22:25:52 +00:00
test_utils Optimistic sync spec tests (v1.2.0) (#3564) 2022-10-15 22:25:52 +00:00
engine_api.rs Add metrics for EE PayloadStatus returns (#3486) 2022-08-19 04:27:23 +00:00
engines.rs Pause sync when EE is offline (#3428) 2022-08-24 23:34:56 +00:00
lib.rs Deduplicate block root computation (#3590) 2022-09-23 03:52:42 +00:00
metrics.rs Add metrics for EE PayloadStatus returns (#3486) 2022-08-19 04:27:23 +00:00
payload_cache.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
payload_status.rs Remove INVALID_TERMINAL_BLOCK (#3385) 2022-08-10 07:52:58 +00:00