Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

fix: eip4844 blob transactions EF tests #409

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

lazcanoluca
Copy link
Contributor

Copy link

github-actions bot commented Sep 9, 2024

Benchmarking results

Benchmark for program factorial

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
evm_mlir_factorial 2.386 ± 0.270 2.064 2.598 1.00
revm_factorial 7.449 ± 0.951 7.093 10.155 3.12 ± 0.53

Benchmark for program fibonacci

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
evm_mlir_fibonacci 2.229 ± 0.268 1.913 2.440 1.00
revm_fibonacci 8.061 ± 0.661 7.770 9.936 3.62 ± 0.53

This is necessary because some tests don't provide the required "to" address pointed by the transaction, as they are expected to be invalid and don't actually require the account. However, the parsing of the "to" addresses is done before the validation of the transaction, resulting in a panic in `ef_tests.rs`, line 193. To fix this, a default with valid `code`, (starting with `0x`) is required. This allows tests that expect to fail to be correctly parsed before being executed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(evm-mlir): Fix stEIP4844-blobtransactions EF tests
1 participant