Skip to content

ef-tests: use production db setup to support heavy benchmark cases#11

Merged
figtracer merged 1 commit into
paradigmxyz:mainfrom
jsign:jsign-mdbx-size
Apr 6, 2026
Merged

ef-tests: use production db setup to support heavy benchmark cases#11
figtracer merged 1 commit into
paradigmxyz:mainfrom
jsign:jsign-mdbx-size

Conversation

@jsign
Copy link
Copy Markdown
Contributor

@jsign jsign commented Mar 9, 2026

The current ef-tests crate is used to run EEST tests and generate the ExecutionWitness.

In a recent PR in Reth, the database configuration for tests caps the size to 64MiB. While this makes sense for regular tests, in benchmark cases we are creating worst cases that can exceed this limit.

Concretely, I was re-filling EEST tests for even lowerish 25M gas limits and in worst-cases of bytecodes needed for non-code-chunking attacks, the witness generation failed since we need to create more than 100MiB of bytecodes which exceeds the now default 64MiB db size limit.

This PR makes a local fix for this particular need in this repo, but I think medium/long term might be better that we make this configurable in the Reth repo via params, and then simplify here.

Co-authored-by: Ignacio Hagopian <jsign.uy@gmail.com>
@figtracer
Copy link
Copy Markdown
Collaborator

added upstream helper
paradigmxyz/reth#23270

used here

@figtracer figtracer merged commit 63d8a00 into paradigmxyz:main Apr 6, 2026
4 checks passed
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.

2 participants