11 releases (7 breaking)

0.8.0 Jul 16, 2024
0.6.0 Jun 20, 2024
0.3.1 Mar 19, 2024
0.2.0 Sep 10, 2022
0.1.0 Dec 18, 2021

#10 in #revm

Download history 162/week @ 2024-03-31 32/week @ 2024-04-07 7/week @ 2024-04-14 1/week @ 2024-04-21 25/week @ 2024-04-28 7/week @ 2024-05-05 144/week @ 2024-05-12 26/week @ 2024-05-19 16/week @ 2024-05-26 23/week @ 2024-06-02 21/week @ 2024-06-09 123/week @ 2024-06-16 29/week @ 2024-06-23 13/week @ 2024-06-30 147/week @ 2024-07-07 154/week @ 2024-07-14

354 downloads per month

MIT license

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

~43–59MB
~1M SLoC