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

Skip tx deserialization if tx size is too large #7986

Open
marcindsobczak opened this issue Dec 31, 2024 · 0 comments
Open

Skip tx deserialization if tx size is too large #7986

marcindsobczak opened this issue Dec 31, 2024 · 0 comments

Comments

@marcindsobczak
Copy link
Contributor

In PR #7925 we introduced configurable max tx limit. As a next step we can skip deserialization of tx if tx size is exceeding configured max size.

It will require:

  • start tx deserialization and check tx type (or lack of it for pre-2718 legacy txs)
  • if tx type is blob and size is bigger than configured max blob tx size + max blob gas per block, skip further deserialization, reject tx
  • if tx type is non-blob and size is bigger than configured max tx size, skip further deserialization, reject tx
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

No branches or pull requests

1 participant