Conversation
Co-authored-by: Hsiao-Wei Wang <[email protected]>
|
I am a little bit hesitant on mocking execution engine this way because it ties consensus specs to the Engine API implementation of EE. We could have a similar effect by mocking the |
5fce8b4 to
a92406f
Compare
|
Thanks for the feedback @mkalinin
It does tie to the interface of Engine APIs, but we can set arbitrary responses from the consensus side!
Do you mean like disposable This PR also mock disposable I chose fork choice test format because it would cover most Engine APIs. Since the INVALID cases would be covered by granular |
|
replaced with #2639 |
Based on @zilm13's new merge fork-choice tests in #2598/#2630, I tried to generate the expected Engine API request & mock the response.
It would add
engine_apievent insteps.yaml.A sample
steps.yamlthat providesengine_preparePayloadcall:EDIT: added
engine_executePayloadand reworked the format. Still incomplete.My idea is that the consensus client teams can:
Question for client teams: Would it be helpful and worth developing?
Feedback would be appreciated. 🙏