Skip to content

Revert "fcu before engine new payload (#10731)" (cf7d594)#10754

Merged
matkt merged 3 commits into
besu-eth:mainfrom
matkt:revert-cf7d594-main
Jul 7, 2026
Merged

Revert "fcu before engine new payload (#10731)" (cf7d594)#10754
matkt merged 3 commits into
besu-eth:mainfrom
matkt:revert-cf7d594-main

Conversation

@matkt

@matkt matkt commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reverts commit cf7d594 ("fcu before engine new payload (fcu before engine new payload #10731)") on top of current main.
  • Removes pre-execution updateHeadForExecution handling in engine_newPayload and the related MergeMiningCoordinator API / tests.
  • Revert was branched from upstream/main at 2a0fa2e9dc7d5a9a0e91f89e763541397c0620e9.

Conflict resolution: git revert conflicted in AbstractEngineNewPayload and its tests because #10600 was later reverted on main (#10737). Resolution keeps main without re-introducing the #10600 world-state SYNCING path—only the #10731 changes are removed.

Test plan

  • ./gradlew :consensus:merge:test --tests MergeCoordinatorTest
  • ./gradlew :ethereum:api:test --tests AbstractEngineNewPayloadTest
  • CI green on the PR

Copilot AI review requested due to automatic review settings July 6, 2026 16:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR reverts the previously introduced “FCU before engine_newPayload” behavior (#10731) on top of current main, removing the pre-execution head-advancement logic and the associated MergeMiningCoordinator API surface and tests.

Changes:

  • Remove pre-execution updateHeadForExecution handling from AbstractEngineNewPayload.
  • Remove the MergeMiningCoordinator.updateHeadForExecution API and its forwarding/implementation.
  • Delete tests that specifically asserted the reverted pre-execution head-advancement behavior.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/AbstractEngineNewPayloadTest.java Removes tests/imports tied to the reverted pre-execution head update behavior.
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/engine/AbstractEngineNewPayload.java Removes the pre-execution head-advancement logic in engine_newPayload.
consensus/merge/src/test/java/org/hyperledger/besu/consensus/merge/blockcreation/MergeCoordinatorTest.java Removes tests validating updateHeadForExecution behavior.
consensus/merge/src/main/java/org/hyperledger/besu/consensus/merge/blockcreation/TransitionCoordinator.java Removes the forwarding override for the deleted updateHeadForExecution API.
consensus/merge/src/main/java/org/hyperledger/besu/consensus/merge/blockcreation/MergeMiningCoordinator.java Removes the updateHeadForExecution method from the interface.
consensus/merge/src/main/java/org/hyperledger/besu/consensus/merge/blockcreation/MergeCoordinator.java Removes the updateHeadForExecution implementation.

@matkt matkt force-pushed the revert-cf7d594-main branch from 00f5895 to 4330fdd Compare July 6, 2026 16:04
This reverts commit cf7d594.

Signed-off-by: Karim Taam <karim.t2am@gmail.com>
@matkt matkt force-pushed the revert-cf7d594-main branch from 4330fdd to a12f475 Compare July 6, 2026 16:05
@matkt matkt enabled auto-merge (squash) July 6, 2026 16:06
matkt added 2 commits July 6, 2026 20:11
@matkt matkt merged commit eb06fe3 into besu-eth:main Jul 7, 2026
36 checks passed
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.

3 participants