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 88/week @ 2024-08-02 64/week @ 2024-08-09 6/week @ 2024-08-16 82/week @ 2024-08-23 204/week @ 2024-08-30 16/week @ 2024-09-06 171/week @ 2024-09-13 196/week @ 2024-09-20 111/week @ 2024-09-27 68/week @ 2024-10-04 246/week @ 2024-10-11 246/week @ 2024-10-18 53/week @ 2024-10-25 113/week @ 2024-11-01 26/week @ 2024-11-08 4/week @ 2024-11-15

228 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