Running a contract test suite with forge test in Foundry 1.10 now uses EVM2 by default. In its December 4, 2026 release report, Paradigm compared Foundry 1.9 and 1.10 on seven projects. Morpho Blue’s suite finished in 13.5 seconds instead of 45.7, a 3.4× speedup. EVM2 v1.0.0 also ships in Reth v2.9.0 and Tempo, though the gains depend on the workload.
Why tests benefit
Foundry’s cheatcodes are testing tools that can observe particular instructions as a contract runs. With the previous interpreter, revm, Foundry paused at every instruction to give cheatcodes a chance to inspect it, even when a test used none. With EVM2, a cheatcode registers only for the instructions it needs. Paradigm reported that tests using cheatcodes saw the largest gains.

To try the change on an existing project, update Foundry with foundryup, then run forge test in the project directory. Foundry’s EVM2 notes list a few edge cases where behavior differs.

What changed in the interpreter
An interpreter executes contract bytecode one instruction, or opcode, at a time. In revm, a central loop reads an opcode, calls the code that handles it, then takes control again. In EVM2, each handler jumps directly to the next. Paradigm reported that this change alone cut execution time for large transactions by 10% to 30%, without changing what the instructions do.
EVM2 also changed how the processor writes a 32-byte value to the EVM stack. With revm, the Rust compiler produced four 8-byte writes. An instruction reading the whole value then had to wait for those writes to reach the processor’s L1 cache. EVM2 writes all 32 bytes at once, letting the processor supply the value directly from its store buffer. Paradigm attributed a further 25% to 30% speedup to that change.

EVM2 ran up to twice as fast as revm in benchmarks limited by interpreter speed. In Reth v2.9.0, mainnet block execution was about 10% faster: a node spends most of its time accessing state and computing the state root, work the interpreter changes do not accelerate.

The compiler is a separate, opt-in feature
EVM2 also includes a just-in-time (JIT) compiler. Rather than interpret frequently executed contracts one instruction at a time, it translates them into native machine code while retaining the chain’s opcodes and gas rules. Paradigm reported speedups of up to 11× over the EVM2 interpreter for compute-heavy contracts and 5× for an onchain language model. On a contract-heavy Tempo workload, enabling the JIT in the same binary raised throughput from 2,437 to 5,613 transactions per second.

Unlike the interpreter in Foundry 1.10, the JIT is off by default and requires both a build feature and a runtime flag. Enabling it by default in Tempo and Foundry is a plan, not part of this release. Paradigm is also developing superinstructions, which combine common opcode sequences into one handler. It reported about 10% faster mainnet block execution with an early draft.
Rust projects can add the engine with cargo add evm2. Chain developers can use the custom EVM example to define their own opcodes, gas rules and precompiles without maintaining a fork. EVM2 is available under the MIT or Apache 2.0 license. Paradigm said Sigma Prime and Zellic audited it.


