Skip to content

Conversation

@pcw109550
Copy link
Contributor

@pcw109550 pcw109550 commented Oct 3, 2025

Description

We need to validate L2EL behavior, since removing RR sync relies on EL behavior.

This PR exposes engine APIs at devstack, and make them usable at acceptance test, also adding DSL.

We can now directly control the L2EL by calling engine APIs at the tests. Before this PR, we indirectly test the L2EL using the L2CL, by modifying the L2CL. We may need a direct path to test the L2EL it self, by directly calling engine APIs to the L2EL.

Firstly tested for op-geth.

Tests

To validate basic engine API functionality, I added TestVerifierManualSync acceptance test. This turns off verifier EL's P2P and verifier CL, and manually call engine_newPayload and engine_forkChoiceUpdated to extend the canonical chain for verifier EL.

Metadata

Part of #17694

@pcw109550 pcw109550 changed the title op-devstack: L2EL Engine API support op-devstack: L2EL Engine API support for op-geth Oct 6, 2025
@pcw109550 pcw109550 marked this pull request as ready for review October 6, 2025 15:06
@pcw109550 pcw109550 requested review from a team as code owners October 6, 2025 15:06
@pcw109550 pcw109550 requested review from nonsense and serpixel and removed request for serpixel October 6, 2025 15:06
return payload
}

func (el *L2ELNode) NewPayload(ref *L2ELNode, number uint64) *NewPayloadResult {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are making the payload to insert from the reference EL node, in this case sequencer EL. After we fetch the payload, we insert it to the verifier EL using this method.

@pcw109550 pcw109550 enabled auto-merge October 6, 2025 15:47
@pcw109550 pcw109550 added this pull request to the merge queue Oct 6, 2025
Merged via the queue into develop with commit 88fe2c4 Oct 6, 2025
67 checks passed
@pcw109550 pcw109550 deleted the pcw109550/op-devstack-l2-el-engine-api-support branch October 6, 2025 16:20
@pcw109550 pcw109550 linked an issue Oct 7, 2025 that may be closed by this pull request
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove RR Sync: Testing

3 participants