Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolate extra data modification to builder module #21

Open
wants to merge 4 commits into
base: flashbots
Choose a base branch
from

Conversation

jinmel
Copy link
Collaborator

@jinmel jinmel commented Sep 7, 2024

The extra data set by miner configuration should only be set when builder is building payloads to serve.

op-node deriver forces forkchoiceUpdate when pendingSafeL2Head.Number == unsafeL2Head.Number, which causes op-geth to build block with different extra data than it was supposed to, forking the chain.

More investigation is needed when above condition happens. This bug was found when starting the chain from fresh on the devnet, and the op-node seems to force insert some early blocks after genesis block.

This PR is to isolate the extra data modification to the builder module only.

@jinmel jinmel changed the title builder extra data Isolate extra data modification to builder module Sep 7, 2024
miner/payload_building.go Outdated Show resolved Hide resolved
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