besu
besu copied to clipboard
Support new blob type when estimating the memory size of a pending transaction
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-requiredlabel 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