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

Implement PayloadBuilder #58

Open
frisitano opened this issue Dec 3, 2024 · 0 comments
Open

Implement PayloadBuilder #58

frisitano opened this issue Dec 3, 2024 · 0 comments
Milestone

Comments

@frisitano
Copy link
Collaborator

frisitano commented Dec 3, 2024

Overview

We must implement a PayloadBuilder that can build new payloads. This builder will receive an invocation via the engine API with an argument of PayloadBuilderAttributes as defined in #57. We must extract L1 messages from the PayloadBuilderAttributes and combine with transactions from the transaction pool to build a block.

Considerations

  • We must ensure that we implement transaction validity checks such as ensuring that we do not include transactions that have the ability to increase proving disproportionately compared to the transaction fees as this could be a DOS vector.
  • We must ensure that L1 messages are included at the top of the block.
  • We must ensure that block size limit is upheld.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant