Skip to content

Conversation

@sieniven
Copy link
Contributor

📝 Summary

This PR extends the functionality of the builder's p2p, adding:

  1. Gossiping of built raw flashblocks payloads
  2. Handling of externally received raw flashblocks payloads on a builder to gossip them to their local ws subscribers
  3. Sending fully executed block state outputs via p2p to peer builders only on the built payload channel. Together with the fixes on fix: Add async state root calculation on payload resolve #334, this will correctly pre-warm the engine state tree to allow subsequent engine_newPayload to entirely skip the payload validation process (since SR calc might be skipped per flashblocks)
  4. Skip validating built payloads if pending state is already cached in canon chainstate
  5. Add flashblocks.p2p_send_full_payload flag to turn on / off gossiping fully built payloads (by default turned off)
  6. Add flashblocks.p2p_process_full_payload flag to turn on / off handling external received fully built payloads via builder p2p

✅ I have completed the following steps:

  • [✅] Run make lint
  • ✅] Run make test
  • Added tests (if applicable)

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.

1 participant