Skip to content

fix: use payload slot instead of head slot in getPayload#64

Merged
bharath-123 merged 4 commits intobharath/fulufrom
bharath/use-payload-slot
Aug 11, 2025
Merged

fix: use payload slot instead of head slot in getPayload#64
bharath-123 merged 4 commits intobharath/fulufrom
bharath/use-payload-slot

Conversation

@bharath-123
Copy link
Owner

@bharath-123 bharath-123 commented Aug 11, 2025

📝 Summary

In innerGetPayload, once the signed blinded block from the proposer is parsed. We check if the payload has correctly been parsed according to the fork. We infer the fork to check against from headSlot which can be incorrect during fork transitions since headSlot will be in the previous fork.
We need to use payload slot from the signed blinded block sent by the proposer.
Also we throw a warning if the proposerEthConsensusVersion does not match the fork version.

I will fix the lint issue in the main PR.

✅ I have run these commands

  • make lint
  • make test-race
  • go mod tidy
  • I have seen and agree to CONTRIBUTING.md

@bharath-123 bharath-123 force-pushed the bharath/use-payload-slot branch 3 times, most recently from 20d66c4 to d72b638 Compare August 11, 2025 15:51
@bharath-123 bharath-123 force-pushed the bharath/use-payload-slot branch from d72b638 to 484e513 Compare August 11, 2025 15:54
@bharath-123 bharath-123 merged commit b681285 into bharath/fulu Aug 11, 2025
1 of 2 checks passed
@bharath-123 bharath-123 deleted the bharath/use-payload-slot branch August 11, 2025 18:17
Copy link

@metachris metachris left a comment

Choose a reason for hiding this comment

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

lgtm

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.

2 participants