lighthouse/beacon_node/execution_layer/src/engine_api
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
..
auth.rs Add merge support to simulator (#3292) 2022-07-18 23:15:40 +00:00
http.rs Align engine API timeouts with spec (#3470) 2022-08-17 02:36:39 +00:00
json_structures.rs Optimistic sync spec tests (v1.2.0) (#3564) 2022-10-15 22:25:52 +00:00