22 releases (5 stable)

new 2.3.0 Jan 13, 2025
2.2.0 Dec 26, 2024
2.1.0 Nov 6, 2024
1.0.0 Oct 17, 2024
0.1.0 Dec 18, 2021

#589 in Magic Beans

Download history 200/week @ 2024-09-23 100/week @ 2024-09-30 85/week @ 2024-10-07 310/week @ 2024-10-14 183/week @ 2024-10-21 24/week @ 2024-10-28 128/week @ 2024-11-04 4/week @ 2024-11-11 10/week @ 2024-11-18 28/week @ 2024-12-09 14/week @ 2024-12-16 131/week @ 2024-12-23 6/week @ 2024-12-30 19/week @ 2025-01-06

171 downloads per month

MIT license

565KB
11K 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

~45–62MB
~1M SLoC