Skip to content

op-sync-tester: Support engine namespace #16701

@pcw109550

Description

@pcw109550

RPC methods to serve:

  • engine_newPayload{V1,V2,V3,V4}: check that the payload matches the real one. Error if it does not, and abort the sync test.
  • engine_forkchoiceUpdated{V1,V2,V3}: check if the forkchoice hashes are canonical. Update the test_head, test_safe, test_finalized in-memory forkchoice values. And check if the block-building attributes (if any) match the inputs to the actual block.
  • engine_getPayload{V1,V2,V3,V4}: return the block that matches the expected block from the block-building job arguments.

Note that engine_newPayload and engine_forkchoiceUpdated is enough for checking the L2 CL sync as a verifier. engine_getPayload is needed when the CL is acting as a sequencer.

Metadata

Metadata

Assignees

Labels

A-op-sync-testerArea: op-sync-tester relatedH-interopHardfork: change planned for interop upgradegoPull requests that update Go code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions