Skip to content

Conversation

@jinmel
Copy link

@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 requested a review from avalonche September 7, 2024 10:00
@jinmel jinmel changed the title builder extra data Isolate extra data modification to builder module Sep 7, 2024
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