20 releases (3 stable)

new 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

#375 in Magic Beans

Download history 148/week @ 2024-07-15 38/week @ 2024-07-22 145/week @ 2024-08-05 10/week @ 2024-08-12 3/week @ 2024-08-19 270/week @ 2024-08-26 22/week @ 2024-09-02 14/week @ 2024-09-09 193/week @ 2024-09-16 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

604 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–61MB
~1M SLoC