[DRAFT] Convert EELS tests to gas-benchmarks format on a stateful network#95
Draft
jochem-brouwer wants to merge 2 commits intoNethermindEth:mainfrom
Draft
[DRAFT] Convert EELS tests to gas-benchmarks format on a stateful network#95jochem-brouwer wants to merge 2 commits intoNethermindEth:mainfrom
jochem-brouwer wants to merge 2 commits intoNethermindEth:mainfrom
Conversation
…un stateful tests instead of bench tests
jochem-brouwer
commented
Jan 6, 2026
| f"--rpc-endpoint={tests_rpc}", | ||
| f"--gas-benchmark-values={args.gas_benchmark_values}", | ||
| "--eoa-fund-amount-default", "3100000000000000000", | ||
| #"--eoa-fund-amount-default", "3100000000000000000", |
Contributor
Author
There was a problem hiding this comment.
This flag seems to be removed from EELS (or it is not available in execute remote). Might also be renamed.
jochem-brouwer
commented
Jan 6, 2026
| #"--eoa-fund-amount-default", "3100000000000000000", | ||
| "--tx-wait-timeout", "300", | ||
| "--eoa-start", "103835740027347086785932208981225044632444623980288738833340492242305523519088", | ||
| #"--eoa-start", str(int(args.rpc_seed_key, 16)), |
Contributor
Author
There was a problem hiding this comment.
OG has hardcoded eoa start, so need to figure out why this is, and if we even have to provide this flag (should it be the same as the rpc pkey? What is the difference)?
jochem-brouwer
commented
Jan 6, 2026
| args.test_path, | ||
| "--", | ||
| "-m", "benchmark", "-n", "1", | ||
| "-m", "stateful", "-n", "1", |
Contributor
Author
There was a problem hiding this comment.
stateful makes bloatnet tests run.
benchmark makes the compute tests run. (Not sure if stateful also runs compute, did not yet check)
Contributor
Author
|
EELS commit was here: 3ac8ce8865e2239a0d5d576091770573accc04c8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Progress dump to run stateful tests locally.
Command ran inside
gas-benchmarks:python3 eest_stateful_generator.py --fork Osaka --rpc-seed-key PKEY --rpc-address ADDRESS_ASSOCIATED_WITH_PKEY --test-path tests/benchmark/statefulThe
execution-datafolder insidegas-benchmarksshould look like (this is and MUST be a Nethermind snapshot, because we need to use the "hacked" Neth version to fill tests)I had to add this
InitDbPathotherwise Nethermind does not "grab" the snapshot correctly.Do not merge 😄 👍