Skip to content

Update revm to 43.0.3 - #23

Merged
sbillig merged 1 commit into
mainfrom
deps/revm-43
Nov 13, 2026
Merged

sbillig merged 1 commit into
mainfrom
deps/revm-43

Conversation

@sbillig

@sbillig sbillig commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Moves the differential references and the bench runner from revm 33.1 to 43.0.3 (release v120).

Our revm fork's halt-classification patch is rebased onto v120 (sbillig/revm branch fix-fevm-stack-halt-classification-v43). SWAP's underflow fix is upstream now; DUP still reports a stack too shallow to duplicate as an overflow, so the patch keeps that correction and extends it to DUPN.

v43 passes the static gas table to run_plain separately from the host's gas parameters. The reference uses Osaka's (gas_table_spec(SpecId::OSAKA)); the default gas_table() is Frontier's and would price BALANCE, SLOAD and the other repriced opcodes wrong. Transient storage is now keyed per account. The bench runner reads tx_gas_used, which v43 renames, and sets the new BlockEnv::slot_num.

This touches the bench runner's case reader next to #22's changes, so whichever lands second needs a small rebase.

The differential references and the bench runner move from revm 33.1 to
43.0.3, release v120, with the DUP underflow correction rebased onto it
and extended to DUPN (SWAP's is upstream). The reference interprets
frames with Osaka's static gas table (`gas_table_spec`), which v43 passes
to `run_plain` apart from the host's gas parameters; transient storage
is read per account. The bench runner takes `tx_gas_used` and sets the
block's new slot number.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T19:44:02.299018Z 3ddfba2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sbillig
sbillig merged commit bf95f1e into main Nov 13, 2026
2 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.

1 participant