besu icon indicating copy to clipboard operation
besu copied to clipboard

Support new blob type when estimating the memory size of a pending transaction

Open fab-10 opened this issue 5 months ago • 0 comments

PR description

This PR updates the way memory consumed by a blob tx is estimated, following the changes in the BlobsWithCommitments, and its children, object layouts, and makes it ready for the new blob tx type that is introduced under the Osaka fork.

Fixed Issue(s)

fixes #8749

Thanks for sending a pull request! Have you done the following?

  • [ ] Checked out our contribution guidelines?
  • [ ] Considered documentation and added the doc-change-required label to this PR if updates are required.
  • [ ] Considered the changelog and included an update if required.
  • [ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

  • [ ] spotless: ./gradlew spotlessApply
  • [ ] unit tests: ./gradlew build
  • [ ] acceptance tests: ./gradlew acceptanceTest
  • [ ] integration tests: ./gradlew integrationTest
  • [ ] reference tests: ./gradlew ethereum:referenceTests:referenceTests

fab-10 avatar Jun 25 '25 17:06 fab-10