7 unstable releases (3 breaking)

0.4.0 Apr 2, 2024
0.3.1 Mar 19, 2024
0.2.2 Feb 23, 2024
0.2.0 Sep 10, 2022
0.1.0 Dec 18, 2021

#9 in #revm

Download history 7/week @ 2024-01-15 10/week @ 2024-01-29 5/week @ 2024-02-05 174/week @ 2024-02-12 141/week @ 2024-02-19 147/week @ 2024-02-26 152/week @ 2024-03-04 53/week @ 2024-03-11 225/week @ 2024-03-18 19/week @ 2024-03-25 170/week @ 2024-04-01

478 downloads per month

MIT license

450KB
9K SLoC

Rust EVM executor or short REVME

revme is a binary crate to execute the evm in multiple ways.

Currently it is mainly used to run ethereum tests with the statetest subcommand.

State Tests

statetest takes a path to the directory where ethereum statetest json can be found. It recursively parses all json files in the specified directory and executes them.

Running all ethereum tests checks that revm is compliant to the ethereum specs.

To run ethereum tests locally, clone the tests repository and provide the test directory. Below, we clone the repo and execute the GeneralStateTests suite of tests.

git clone https://github.com/ethereum/tests
cargo run -p revme statetest tests/GeneralStateTests

Notice, in the .gitignore, the bins/revme/tests directory is ignored so it won't be checked into git.

Dependencies

~43–62MB
~1M SLoC