Skip to content
This repository was archived by the owner on Nov 11, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
300e7c9
fix(evm): count reservoir-funded state gas in system call totals (#842)
RealiCZ Oct 29, 2026
1093770
fix(inspectors): include forwarded gas in call opcode costs (#744)
mattsse Oct 29, 2026
34209d5
perf(jit): disable debug objects and perf map in the runtime (#848)
DaniPopes Oct 29, 2026
24ac747
fix(state): check BAL coverage for zero-valued created-account slot r…
DaniPopes Oct 29, 2026
f520337
fix(state): reload slots read as zero under a rolled-back creation (#…
DaniPopes Oct 29, 2026
a76ff17
test(evm): pin underfunded top-level value transfers on both sides of…
mattsse Oct 29, 2026
a29a283
feat(evm)!: let the EVM own the transaction environment (#866)
DaniPopes Oct 29, 2026
cbb7c7c
fix(jit): bump ABI_VERSION for the Interpreter layout change (#869)
DaniPopes Oct 29, 2026
a09d099
test(eest): run the tests@v21.0.1 execution-specs fixtures (#860)
DaniPopes Oct 29, 2026
0b75a2b
feat(inspectors): add the keccak256PreimageTracer (#867)
DaniPopes Oct 29, 2026
1deb08b
fix(inspectors): require five stack items to read a call target (#863)
DaniPopes Oct 29, 2026
ec11667
fix(evm): skip the interpreter for creates with empty initcode (#861)
DaniPopes Oct 29, 2026
cdadae0
fix(inspectors): omit a zero refund and empty memory and return data …
DaniPopes Oct 29, 2026
7754968
fix(inspectors): match go-ethereum's transfer logs (#854)
DaniPopes Oct 29, 2026
ce69c8d
fix(inspectors): match geth's JS tracer setup and ctx (#846)
DaniPopes Oct 29, 2026
8481081
fix(evm): cap EIP-8037 transaction gas limit at 2^32-1 (#862)
DaniPopes Oct 29, 2026
2bed9e9
fix(inspectors): snapshot struct log storage like geth's struct logge…
DaniPopes Oct 29, 2026
dc4a776
fix(inspectors): leave state gas out of step costs (#852)
DaniPopes Oct 29, 2026
87979ac
fix(evm): report nested create nonce overflow as a failed frame (#850)
DaniPopes Oct 29, 2026
8be6fe7
fix(inspectors): omit empty accounts from the prestate diff's pre sta…
DaniPopes Oct 29, 2026
cc86b27
fix(inspectors): report cleared code in the prestate diff's post stat…
DaniPopes Oct 29, 2026
7c5fdb6
fix(eest): run the EIP-4788 and EIP-2935 calls unchecked (#877)
DaniPopes Oct 29, 2026
8bc035a
test(eest): run the transition fork blockchain tests (#879)
DaniPopes Oct 29, 2026
1345cc1
fix(inspectors): count struct logger limit in JSON bytes like geth (#…
DaniPopes Oct 29, 2026
5b1f751
fix(state): keep slots whose rollback reload fails and reload only cr…
DaniPopes Oct 29, 2026
9539ffe
feat(inspectors): let the mux run nested mux, erc7562 and JavaScript …
DaniPopes Oct 29, 2026
46235b6
fix(inspectors): match geth's JS tracer value conversions (#856)
DaniPopes Oct 29, 2026
cfdec8b
perf(jit-runtime): link AOT artifacts in process (#851)
DaniPopes Oct 29, 2026
abfd112
fix(inspectors): keep read slots in a selfdestructed account's presta…
DaniPopes Oct 29, 2026
5d31131
feat(interpreter): add CALL and CREATE extension helpers (#887)
RealiCZ Oct 30, 2026
86fa264
refactor(jit): remove inkwell, use llvm-sys directly (#886)
DaniPopes Oct 30, 2026
6eac19b
feat(evm): add opt-in inspection of system calls (#888)
sduchesneau Oct 30, 2026
6e15c97
perf(cli): use B256Map for benchmark JIT function lookup (#894)
DaniPopes Oct 30, 2026
d900296
fix(inspectors): report a selfdestructed account's slots as before th…
DaniPopes Oct 30, 2026
337e1ea
perf(state): seed bytecode hash from account code hash (#891)
DaniPopes Oct 30, 2026
1dc537e
perf(jit): hash RuntimeCacheKey as one word (#890)
DaniPopes Oct 30, 2026
6878dad
fix(evm): report a wiped slot's pre-transaction value in storage read…
DaniPopes Oct 30, 2026
66003c7
perf(evm2): decide interpreter runner support once, not per frame (#892)
DaniPopes Oct 30, 2026
b635a39
refactor(eest): drop dead env knobs and merge the stable flags (#937)
DaniPopes Oct 30, 2026
082bccb
refactor(evm2): return new-account-gas emptiness from load_account (#…
DaniPopes Oct 30, 2026
fe0209f
fix(fuzzer): gate program snippets on the opcodes' own forks (#933)
DaniPopes Oct 30, 2026
35fdb1e
fix(evm): validate memory limit and refund quotient when installing a…
DaniPopes Oct 30, 2026
2920bf2
refactor(evm): verify erased Send types instead of tracking mutation …
DaniPopes Oct 30, 2026
3d3b2af
fix(jit): treat invalid DUPN/SWAPN/EXCHANGE immediates as diverging (…
DaniPopes Oct 30, 2026
8bd62b7
refactor(evm2): share gas breakdown between transactions and system c…
DaniPopes Oct 30, 2026
55c72eb
fix(evm): charge the modexp gas before the EIP-7823 size check (#874)
DaniPopes Oct 30, 2026
13d1ef0
refactor(inspectors): drop CallTraceStep::gas_used and final_refunded…
DaniPopes Oct 30, 2026
f5c7a57
refactor(inspectors): take stateDiff originals from the pending state…
DaniPopes Oct 30, 2026
68a8b76
fix: set CREATE code_address to the destination in the message builde…
DaniPopes Oct 30, 2026
348adc4
refactor(jit): remove dead translator code (#902)
DaniPopes Oct 30, 2026
5acbba5
refactor(jit): derive opcode availability from the core opcode config…
DaniPopes Oct 30, 2026
dc01b42
fix(jit): return LLVM backend errors instead of dropping them (#908)
DaniPopes Oct 30, 2026
3f68316
test(jit): compare interpreter stop reasons exactly and reject dead h…
DaniPopes Oct 30, 2026
6421669
fix(macros): reject unsupported instruction signatures (#912)
DaniPopes Oct 30, 2026
9c81ef4
refactor: keep one authorization list in LazyTxEip7702 (#914)
DaniPopes Oct 30, 2026
dd617a7
fix(inspectors): pair struct log children through node ordering (#916)
DaniPopes Oct 30, 2026
3454515
fix(jit): report host instructions that break compiled code assumptio…
DaniPopes Oct 30, 2026
d69e1d2
fix(jit): count interpreter fallbacks and fail EEST JIT runs on them …
DaniPopes Oct 30, 2026
14ca45d
docs(jit): document the single_error default as a measured trade-off …
DaniPopes Oct 30, 2026
d80a7d1
refactor(jit): build LLVM memory, uwtable and captures attributes thr…
DaniPopes Oct 30, 2026
203f3e0
fix(bench): record real post state and valid gas limits in data fixtu…
DaniPopes Oct 30, 2026
32c73d3
fix(jit): default debug support and simple perf map to off (#932)
DaniPopes Oct 30, 2026
d4e24e4
fix(cli): map only the entry contract in run --aot --load (#917)
DaniPopes Oct 30, 2026
d6c7e21
fix(inspectors): give fault-only JS tracers geth's empty log (#884)
DaniPopes Oct 30, 2026
d9acced
chore(jit): remove set_current_block_cold (#961)
DaniPopes Oct 31, 2026
e50f56c
perf(jit): gate LICM on the largest function's block count (#960)
DaniPopes Oct 31, 2026
b30f36a
fix(cli): make fuzzer cases reproducible from --seed (#904)
DaniPopes Oct 31, 2026
ffa05b6
refactor(state): derive touched and selfdestructed from account flags…
DaniPopes Oct 31, 2026
c3744e6
fix(jit-llvm): take llvm-config from llvm-sys and stop hiding warning…
DaniPopes Oct 31, 2026
67a17f4
fix(eest): read the blob schedule from the fixture config (#953)
DaniPopes Oct 31, 2026
760945c
refactor(state): derive changed code from the code hash (#948)
DaniPopes Oct 31, 2026
10621c3
refactor(inspectors): use the engine's call values, create addresses …
DaniPopes Oct 31, 2026
9510b41
refactor(bal): fold commits through the state change stream (#906)
DaniPopes Oct 31, 2026
f2537a8
test(eest): recover transaction senders from signatures (#918)
DaniPopes Oct 31, 2026
1d7c7c2
fix(eest): validate block limits in the blockchain harness (#951)
DaniPopes Oct 31, 2026
1a332a5
refactor(cli): count perf events only over the measured iterations (#…
DaniPopes Oct 31, 2026
26bbec8
fix(jit): derive EXP static gas from one predicate shared with transl…
DaniPopes Oct 31, 2026
31ffe60
refactor(inspectors): record SLOAD and SSTORE storage once at step (#…
DaniPopes Oct 31, 2026
56b57cf
fix(state): drop the removed selfdestructs set from CacheDB::commit (…
DaniPopes Oct 31, 2026
2057b79
fix(db): drop the unused AddressSet import (#966)
DaniPopes Oct 31, 2026
47a0cc7
refactor(state): separate discarded storage from account creation (#934)
DaniPopes Oct 31, 2026
d1b2b46
fix(evm2): give the calldata floor and execution gas cap checks their…
DaniPopes Nov 1, 2026
7304de7
fix(eest): derive the EIP-7918 reserve price in BlobScheduleEntry::pa…
DaniPopes Nov 1, 2026
dd3bd78
fix(cli): list each benchmark's fixture path in run --list (#968)
DaniPopes Nov 1, 2026
b78ed02
refactor(scripts): share repo_root, cargo_env and pct helpers (#972)
DaniPopes Nov 1, 2026
8a0ea86
refactor(cli): derive spec name and fork tables from one definition e…
DaniPopes Nov 1, 2026
f688d77
refactor(inspectors): add a dedicated erc7562 inspector (#936)
DaniPopes Nov 1, 2026
85d09d9
fix(eest): build and check EIP-7685 requests in the blockchain runner…
DaniPopes Nov 1, 2026
e10563c
ci: pin nightly to 2026-10-31 until boa_engine builds again (#979)
DaniPopes Nov 1, 2026
3da55b4
ci(bench): stop polling the base benchmark run (#980)
DaniPopes Nov 1, 2026
c47757e
ci(fuzzer): pin nightly to 2026-10-31 (#981)
DaniPopes Nov 1, 2026
aedd425
chore(deps): bump the ci-weekly group with 5 updates (#982)
dependabot[bot] Nov 2, 2026
ed7fe8e
test(eest): trust core state guarantees in the harness (#950)
DaniPopes Nov 2, 2026
fc22ede
fix(state): read code without loading the account (#942)
DaniPopes Nov 2, 2026
d96ad09
refactor(inspectors): read account changes from the pending state (#946)
DaniPopes Nov 2, 2026
2b57756
refactor(bytecode): add Bytecode::from_stored for code read from stat…
DaniPopes Nov 2, 2026
4239984
refactor(eest): share one fixture kind detector with the cli (#983)
DaniPopes Nov 2, 2026
0b04d2a
refactor(eest): use ForkSpec for state test fork names (#978)
DaniPopes Nov 2, 2026
bba1378
feat(inspector): implement Inspector for tuples and Option (#984)
aristide-bayard Nov 2, 2026
6cf0538
perf(evm2): pick tco dispatch only on 64-bit targets (#996)
DaniPopes Nov 3, 2026
767a125
perf(utils): store stack words as two 16-byte stores on x86_64 withou…
DaniPopes Nov 3, 2026
bba8a58
perf(inspector): let inspectors choose which opcodes get step hooks (…
DaniPopes Nov 3, 2026
b0aba88
feat(block): add block executor and run EEST blocks on it (#872)
DaniPopes Nov 3, 2026
8f42a4f
fix(inspectors): keep the serde error when a tracer config is rejecte…
DaniPopes Nov 3, 2026
2f24ea1
refactor(evm): drop redundant HostError map_err calls (#1003)
DaniPopes Nov 3, 2026
ea93dbd
refactor: apply slapslop duplication hits in inspectors, eest and cli…
DaniPopes Nov 4, 2026
3f6405a
refactor(jit): remove duplicated code in the JIT crates (#1004)
DaniPopes Nov 4, 2026
4905b2d
fix(inspectors): pair steps for undefined opcodes (#994)
mablr Nov 4, 2026
5063c80
docs: correct inspector and EEST behavior claims (#993)
mablr Nov 4, 2026
9867cd5
fix(eest): check additional fixture receipt roots (#992)
mablr Nov 4, 2026
7ef9041
perf(fuzzer): avoid temporary receipt log vectors (#991)
mablr Nov 4, 2026
1768983
fix(jit): back off AOT failures and count discards (#990)
mablr Nov 4, 2026
ee2717b
fix(ethereum): derive CREATE address from state nonce (#989)
mablr Nov 4, 2026
df1a25f
refactor(state): keep storage wipe marker when a block deletes an acc…
DaniPopes Nov 4, 2026
a394786
refactor: share the create pre-access failure checks (#949)
DaniPopes Nov 4, 2026
a8e9ded
refactor: move step gas cost from the interpreter to inspectors (#956)
DaniPopes Nov 4, 2026
05308df
fix(evm): fire frame hooks for a top-level frame that runs out of gas…
DaniPopes Nov 4, 2026
ddb3502
fix(inspectors): exclude precompile calls from flat-call traces like …
DaniPopes Nov 4, 2026
08e4dd8
refactor(evm): build transfer log topics with Address::into_word (#1005)
DaniPopes Nov 4, 2026
20460e3
fix(inspectors): align ERC7562 operand overflow flag (#995)
mablr Nov 4, 2026
ae94603
refactor(evm2): remove duplicated constants and helpers across the cr…
DaniPopes Nov 4, 2026
244aa8d
perf(interpreter): pass the unpacked cursor as one u64 on wasm and re…
DaniPopes Nov 4, 2026
c73b163
refactor: apply slapslop machine-applicable fixes (#1010)
DaniPopes Nov 4, 2026
687e83e
refactor: apply slapslop helper swaps (#1011)
DaniPopes Nov 4, 2026
6bc1c09
refactor(evm): define the modexp minimum gas once (#943)
DaniPopes Nov 4, 2026
ab7d387
refactor(jit): reuse core decode_single, decode_pair, and analyze_leg…
DaniPopes Nov 4, 2026
85395c5
refactor: move function-local `use`s to module scope (#1017)
joshieDo Nov 4, 2026
031d5c8
chore: replace Option matches with combinators (#1019)
joshieDo Nov 4, 2026
0942904
feat(jit): trap on unreachable in compiled code (#1022)
DaniPopes Nov 4, 2026
a026a5a
feat(jit): probe stack frames larger than a page (#1021)
DaniPopes Nov 4, 2026
cf43e45
chore(deps): ignore RUSTSEC-2026-0441 pin-utils advisory (#1028)
0xrusowsky Nov 5, 2026
72a3190
feat(block): add BlockTransactionResult::into_result (#1029)
klkvr Nov 6, 2026
22e3906
feat(block): allow empty request contracts on chains without them (#1…
DaniPopes Nov 6, 2026
10088e0
feat(block): add EthBlockExecutor::rules_mut (#1032)
DaniPopes Nov 6, 2026
41fd722
fix(block): run request system calls without a code check (#1033)
DaniPopes Nov 6, 2026
baf0d38
perf: read call input from the caller's memory (#1030)
DaniPopes Nov 6, 2026
06c288e
chore: update .gitignore (#1035)
grandizzy Nov 7, 2026
37fb326
fix(inspectors): ignore logs emitted outside a call frame in TracingI…
crisand2 Nov 7, 2026
445ffd5
fix(inspector): reload the steps after the hooked instruction returns…
DaniPopes Nov 9, 2026
fdc1598
perf(interpreter): keep the tco stack length in bytes on x86-64 (#1043)
DaniPopes Nov 9, 2026
4ff2d86
chore(deps): bump the ci-weekly group with 3 updates (#1044)
dependabot[bot] Nov 9, 2026
a4e9f14
perf(interpreter): skip the RawStack length asserts when unscaled (#1…
DaniPopes Nov 9, 2026
014388e
fix(inspectors): keep logs emitted outside any frame in TransferInspe…
mattsse Nov 9, 2026
31c64ae
perf(interpreter): align tco handlers to 64 bytes on x86-64 (#1053)
DaniPopes Nov 9, 2026
73d082e
perf(interpreter): align the table dispatch loop to 64 bytes (#1052)
DaniPopes Nov 9, 2026
00a5924
refactor(jit): list all builtin symbols for JIT objects directly (#938)
DaniPopes Nov 9, 2026
d1044b9
test(inspectors): cover the erc7562 code size of an account created i…
DaniPopes Nov 9, 2026
ab55921
refactor(jit): share the return body between do_return builtins (#954)
DaniPopes Nov 9, 2026
71a736c
feat(evm): make the EIP-8037 total transaction gas cap configurable (…
RealiCZ Nov 9, 2026
52c5709
feat(state): expose transaction-original account information (#1025)
RealiCZ Nov 9, 2026
24dd377
fix(inspectors): keep access list slots touched before a later top-le…
mattsse Nov 9, 2026
53fe0ef
refactor(inspectors): share the out-of-gas step cost rule (#1020)
DaniPopes Nov 9, 2026
e0d398a
perf(ethereum): recover EIP-7702 authorities with the installed crypt…
jsign Nov 9, 2026
ee95bc9
fix(inspectors): trace calls to unlisted precompiles like contracts (…
mattsse Nov 9, 2026
57b55da
refactor(evm): move initial_call_depth from Version to Evm (#1056)
klkvr Nov 9, 2026
0b448ca
fix(inspectors): attach parentless traces above depth zero under an e…
klkvr Nov 9, 2026
272e09f
fix: enable `fn_align` only on x86-64, where the tco handlers use it …
RealiCZ Nov 10, 2026
2190c06
fix(inspectors): show SWAPN and EXCHANGE pre-execution stack to JS st…
DaniPopes Nov 10, 2026
66687c1
fix(inspector): read call input from the caller's memory in hooks (#1…
onbjerg Nov 10, 2026
ed6a07c
Merge alloy-rs/evm2 66687c18 into sf/reth
Nov 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .github/workflows/bench-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
".github/workflows/bench.yml",
"scripts/jit/bench.py",
"scripts/jit/compare.py",
"scripts/jit/utils.py",
"scripts/common.py",
];
let behind = false;
try {
Expand All @@ -66,7 +68,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.13.4"

Expand Down
44 changes: 17 additions & 27 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
with:
toolchain: stable
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.13.4"

Expand All @@ -68,7 +68,7 @@ jobs:
fi

# The CLI reads fixtures from its source tree, so check out the old code in place and
# keep only this ref's benchmark scripts.
# keep only this ref's benchmark scripts and the helpers they share.
- name: Check out backfill commit
if: inputs.commit != ''
env:
Expand All @@ -78,15 +78,17 @@ jobs:
[[ "$COMMIT" =~ ^[0-9a-f]{40}$ ]] || { echo "commit must be a full SHA" >&2; exit 1; }
git merge-base --is-ancestor "$COMMIT" HEAD || { echo "$COMMIT is not in this ref's history" >&2; exit 1; }
# bench.py builds against the LLVM version the old code requires.
llvm="$(git show "$COMMIT:crates/jit/llvm/Cargo.toml" | sed -nE 's/.*"llvm([0-9]+)-[0-9]+".*/\1/p')"
llvm="$(git show "$COMMIT:crates/jit/llvm/Cargo.toml" | sed -nE -e 's/.*"llvm([0-9]+)-[0-9]+".*/\1/p' -e 's/^llvm-sys = "([0-9]+)[0-9]"$/\1/p')"
if ! command -v "llvm-config-$llvm" >/dev/null; then
sudo .github/scripts/install_llvm_ubuntu.sh "$llvm" dev
fi
scripts="$RUNNER_TEMP/jit-scripts"
cp -R scripts/jit "$scripts"
mkdir "$scripts"
cp -R scripts/common.py scripts/jit "$scripts"
git checkout --quiet --detach "$COMMIT"
rm -rf scripts/jit
cp -R "$scripts" scripts/jit
cp -R "$scripts/jit" scripts/jit
cp "$scripts/common.py" scripts/common.py

- name: Resolve and download exact baseline
id: baseline
Expand Down Expand Up @@ -117,23 +119,11 @@ jobs:
| select(.display_title | startswith("Benchmark backfill ") | not)
| {createdAt: .created_at, databaseId: .id, status}]'
}
runs_json="$(list_runs 2>/dev/null || echo '[]')"
latest_run_id="$(
jq -r --argjson current "$CURRENT_RUN_ID" \
'[.[] | select(.databaseId != $current)] | max_by(.createdAt).databaseId // empty' \
<<< "$runs_json"
)"
if [[ -n "$latest_run_id" ]]; then
latest_status="$(
jq -r --argjson run_id "$latest_run_id" \
'.[] | select(.databaseId == $run_id) | .status' \
<<< "$runs_json"
)"
if [[ "$latest_status" != "completed" ]]; then
echo "Waiting for exact-base benchmark run $latest_run_id"
gh run watch "$latest_run_id" --interval 10 || true
runs_json="$(list_runs)"
fi
# A base run that is still in progress is not waited for: polling it from every
# PR run exhausts the API rate limit, so such a PR benchmarks the base itself.
if ! runs_json="$(list_runs)"; then
echo "::warning::Could not list benchmark runs for $base_sha"
runs_json='[]'
fi
run_ids="$(
jq -r --argjson current "$CURRENT_RUN_ID" \
Expand Down Expand Up @@ -176,7 +166,7 @@ jobs:
if [[ "$GITHUB_EVENT_NAME" == "pull_request" && "$BASELINE_FOUND" != "true" ]]; then
args+=(--diff "$BASE_SHA" --base-output target/jit-bench/baseline)
# bench.py builds each side against the LLVM version it requires.
base_llvm="$(git show "$BASE_SHA:crates/jit/llvm/Cargo.toml" | sed -nE 's/.*"llvm([0-9]+)-[0-9]+".*/\1/p')"
base_llvm="$(git show "$BASE_SHA:crates/jit/llvm/Cargo.toml" | sed -nE -e 's/.*"llvm([0-9]+)-[0-9]+".*/\1/p' -e 's/^llvm-sys = "([0-9]+)[0-9]"$/\1/p')"
if ! command -v "llvm-config-$base_llvm" >/dev/null; then
sudo .github/scripts/install_llvm_ubuntu.sh "$base_llvm" dev
fi
Expand Down Expand Up @@ -254,18 +244,18 @@ jobs:
with:
toolchain: stable
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
- name: Install cargo-codspeed
uses: taiki-e/install-action@8cca0918f8471c33515202b73f56ab27f2bed283 # v2.87.29
uses: taiki-e/install-action@1919c4a95903d2c33e4a221102edca87309fc14b # v2.89.0
with:
tool: cargo-codspeed
- name: Build the benchmark target
run: cargo codspeed build --profile profiling -p evm2-cli --features jit --bench evm
- name: Run the benchmarks
uses: CodSpeedHQ/action@821a40cd6c80e3cfe387caf55668287addd808da # v5.5.0
uses: CodSpeedHQ/action@61efe07e57e55bedeab750c434504de272a56e8c # v5.6.1
with:
run: cargo codspeed run -p evm2-cli --bench evm
mode: simulation
Expand Down
48 changes: 19 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
env:
CARGO_TERM_COLOR: always
RUSTC_WRAPPER: "sccache"
# Nightly after 2026-10-31 fails to compile boa_engine (E0391 "needs async drop" cycle):
# https://github.com/rust-lang/rust/issues/165263
# Remove this pin once a nightly builds boa_engine again.
NIGHTLY_TOOLCHAIN: nightly-2026-10-31

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -29,7 +33,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.14"
- name: Generate matrices
Expand Down Expand Up @@ -67,16 +71,16 @@ jobs:
- uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@2ab28a31ae569be9f780c7675b684471060afa40 # 2026-10-09T21-43-19Z-2ab28a31
if: ${{ !matrix.target }}
with:
toolchain: ${{ matrix.rust }}
toolchain: ${{ matrix.rust == 'nightly' && env.NIGHTLY_TOOLCHAIN || matrix.rust }}
- uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@2ab28a31ae569be9f780c7675b684471060afa40 # 2026-10-09T21-43-19Z-2ab28a31
if: ${{ matrix.target }}
with:
toolchain: ${{ matrix.rust }}
toolchain: ${{ matrix.rust == 'nightly' && env.NIGHTLY_TOOLCHAIN || matrix.rust }}
targets: ${{ matrix.target }}
- uses: rui314/setup-mold@339e96b4ff1f3bd865856ba4cbbe8818a7acb038 # v1
if: runner.os == 'Linux'
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
Expand All @@ -101,28 +105,18 @@ jobs:
checksum: true
fallback: none
if: ${{ matrix.command == 'wasm-test' }}
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.13.4"
if: ${{ matrix.kind == 'eest' }}
- name: Download EEST fixtures
if: ${{ matrix.kind == 'eest' }}
shell: bash
env:
INPUT_FIXTURE: ${{ matrix.fixture }}
run: |
if [[ "${INPUT_FIXTURE}" == "devnet" ]]; then
export DEVNET_VERSION="tests-glamsterdam-devnet%40v8.1.4"
export DEVNET_TAR="fixtures_glamsterdam-devnet.tar.gz"
export EVM2_STATETEST_DEVNET_ONLY=1
fi
./scripts/setup_test_fixtures.py
run: ./scripts/setup_test_fixtures.py
- name: ${{ matrix.kind }}
if: ${{ !matrix.command || matrix.command == 'nextest' }}
shell: bash
env:
INPUT_CXX: ${{ matrix.cxx }}
INPUT_FIXTURE: ${{ matrix.fixture }}
INPUT_FLAGS: ${{ matrix.flags }}
INPUT_KIND: ${{ matrix.kind }}
INPUT_OS: ${{ matrix.os }}
Expand All @@ -144,10 +138,6 @@ jobs:
--exclude evm2-jit-*
)
fi
if [[ "${INPUT_FIXTURE}" == "devnet" ]]; then
export EVM2_STATETEST_ROOT="test-fixtures/devnet/state_tests"
export EVM2_BLOCKCHAINTEST_ROOT="test-fixtures/devnet/blockchain_tests"
fi
cargo nextest --profile ci run "${package_flags[@]}" --no-fail-fast "${matrix_flags[@]}" "${extra_flags[@]}"
# Fetch on the protected host; cross containers do not inherit Aegis routing.
- name: Fetch cross-test dependencies through Aegis
Expand Down Expand Up @@ -248,7 +238,7 @@ jobs:
- uses: rui314/setup-mold@339e96b4ff1f3bd865856ba4cbbe8818a7acb038 # v1
if: runner.os == 'Linux'
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
Expand All @@ -258,7 +248,7 @@ jobs:
tool: nextest@0.9.140
checksum: true
fallback: none
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.13.4"
- name: Download EEST fixtures
Expand Down Expand Up @@ -292,7 +282,7 @@ jobs:
toolchain: stable
targets: ${{ matrix.target }}
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
Expand Down Expand Up @@ -329,7 +319,7 @@ jobs:
checksum: true
fallback: none
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
Expand Down Expand Up @@ -376,7 +366,7 @@ jobs:
with:
toolchain: stable
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
Expand Down Expand Up @@ -413,11 +403,11 @@ jobs:
run: .github/scripts/install_llvm.sh ubuntu
- uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@2ab28a31ae569be9f780c7675b684471060afa40 # 2026-10-09T21-43-19Z-2ab28a31
with:
toolchain: nightly
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }}
components: clippy
- uses: rui314/setup-mold@339e96b4ff1f3bd865856ba4cbbe8818a7acb038 # v1
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
Expand All @@ -441,10 +431,10 @@ jobs:
run: .github/scripts/install_llvm.sh ubuntu
- uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@2ab28a31ae569be9f780c7675b684471060afa40 # 2026-10-09T21-43-19Z-2ab28a31
with:
toolchain: nightly
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }}
- uses: rui314/setup-mold@339e96b4ff1f3bd865856ba4cbbe8818a7acb038 # v1
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ concurrency:
env:
CARGO_TERM_COLOR: always
RUSTC_WRAPPER: "sccache"
# Nightly after 2026-10-31 fails to compile boa_engine (E0391 "needs async drop" cycle):
# https://github.com/rust-lang/rust/issues/165263
# Remove this pin once a nightly builds boa_engine again.
NIGHTLY_TOOLCHAIN: nightly-2026-10-31

jobs:
smoke:
Expand All @@ -31,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
dispatch_backend: [tco, packed, single_return, unpacked]
dispatch_backend: [tco, packed, unpacked]
steps:
- name: Secure runner
uses: tempoxyz/gh-actions/actions/secure-runner@2ab28a31ae569be9f780c7675b684471060afa40 # 2026-10-09T21-43-19Z-2ab28a31
Expand All @@ -40,10 +44,10 @@ jobs:
persist-credentials: false
- uses: tempoxyz/gh-actions/vendor/dtolnay/rust-toolchain@2ab28a31ae569be9f780c7675b684471060afa40 # 2026-10-09T21-43-19Z-2ab28a31
with:
toolchain: nightly
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }}
- uses: rui314/setup-mold@339e96b4ff1f3bd865856ba4cbbe8818a7acb038 # v1
- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
cache-on-failure: true
cache-bin: false
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/target
target/
.vscode
.idea
/tmp
/tests/GeneralStateTests
/tests/BlockchainTests
/test-fixtures
__pycache__/

Expand Down
26 changes: 13 additions & 13 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ cargo st # include EEST fixtures with interpreter, JIT, and AOT suites
```

Use `EVM2_DISPATCH_BACKEND` to force an interpreter dispatch backend for manual
testing. Accepted values are `auto` (default), `tco`, `packed`, `single_return`,
and `unpacked`, for example:
testing. Accepted values are `auto` (default), `tco`, `packed`, and `unpacked`,
for example:

```bash
EVM2_DISPATCH_BACKEND=packed cargo nextest run -p evm2-eest --test eest --ignore-default-filter
Expand All @@ -38,21 +38,21 @@ EVM2_DISPATCH_BACKEND=packed cargo nextest run -p evm2-eest --test eest --ignore
`./scripts/setup_test_fixtures.py` downloads fixtures into `test-fixtures/`.
If fixtures are already available in another worktree, symlink `test-fixtures`
to that directory instead of re-downloading them.
By default it downloads the glamsterdam (Amsterdam) devnet fixtures plus legacy
Cancun/Constantinople state tests. The devnet release defaults to
`tests-glamsterdam-devnet@v8.1.4` / `fixtures_glamsterdam-devnet.tar.gz`
(from the `ethereum/execution-specs` repo, base overridable via `DEVNET_BASE_URL`);
override `DEVNET_VERSION` and `DEVNET_TAR` to select a different devnet release, or
clear either to disable devnet. The glamsterdam devnet fixtures cover
frontier..amsterdam, so the EEST `main` develop suite is now opt-in via
`EVM2_STATETEST_MAIN=1` (stable with `EVM2_STATETEST_STABLE=1`). Add
`EVM2_STATETEST_DEVNET_ONLY=1` to skip legacy fixtures. Use `EVM2_STATETEST_ROOT`
or `EVM2_BLOCKCHAINTEST_ROOT` for a single explicit root.
By default it downloads the mainline execution-specs fixtures plus legacy
Cancun/Constantinople state tests. The release defaults to
`tests@v21.0.1` / `fixtures.tar.gz` (from the `ethereum/execution-specs` repo,
base overridable via `EEST_BASE_URL`); override `EEST_VERSION` and `EEST_TAR`
to select a different release (for example a devnet), or clear either to disable
it. The release covers frontier..amsterdam, so the EEST `main` develop suite is
opt-in via `EVM2_STATETEST_MAIN=1` (stable with `EVM2_EEST_STABLE=1`, honored
by both runners). Add `EVM2_STATETEST_EEST_ONLY=1` to skip legacy fixtures. Use
`EVM2_STATETEST_ROOT` or `EVM2_BLOCKCHAINTEST_ROOT` for a single explicit root.

Compiled EEST runs use a default subset when the full corpus is too expensive:
AOT defaults to the `ci-aot` subset, and JIT defaults to the `ci-smoke` subset.
Set `EVM2_COMPILED_EEST_SUBSET=all` to force full coverage, or set it to
`ci-aot` or `ci-smoke` to run those subsets explicitly.
`ci-aot` or `ci-smoke` to run those subsets explicitly. Set
`EVM2_EEST_SINGLE_THREAD=1` to run compiled files on one worker thread.

To run additional tests from an arbitrary folder (or single file) without a
test-name filter, use `./scripts/eest.sh <path>`. Every JSON file found anywhere
Expand Down
Loading
Loading