20 releases (3 stable)

2.1.0 Nov 6, 2024
1.0.0 Oct 17, 2024
0.11.0 Oct 17, 2024
0.8.0 Jul 16, 2024
0.1.0 Dec 18, 2021

#56 in #evm

Download history 146/week @ 2024-08-08 7/week @ 2024-08-15 6/week @ 2024-08-22 280/week @ 2024-08-29 13/week @ 2024-09-05 150/week @ 2024-09-12 75/week @ 2024-09-19 237/week @ 2024-09-26 79/week @ 2024-10-03 68/week @ 2024-10-10 401/week @ 2024-10-17 83/week @ 2024-10-24 83/week @ 2024-10-31 57/week @ 2024-11-07 7/week @ 2024-11-14 5/week @ 2024-11-21

156 downloads per month

MIT license

550KB
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