Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.39 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.39 KB

revm - Rust Ethereum Virtual Machine

Fork of REVM that uses 176 bit 22 byte ICAN addresses.

Tests

To run tests:

cargo test --all --all-features

If you want to learn how to interact with REVM the best way is to write an integration test. You can check out 2 well documented examples here and add some of your own tests.

Benchmark Tests

Don't forget to run them with the --release flag.

cargo run --package revm-test --release --bin analysis
cargo run --package revm-test --release --bin snailtracer

Disclaimer

Precompile part of the REVM isn't yet working with H176

Contributing

Before opening a pr run:

cargo test --all --all-features
cargo +nightly clippy --all --all-features
cargo +nightly fmt --all

Make sure they all pass. You will need to have nightly installed.

TODO

  • Modify the EVM::new() method so it takes what kind of network are we running on: 1. Mainnet: "cb"...
  • Add benchmark tests from - REVM
  • Modify official Ethereum tests for 22 byte addresses and add it to this crate
  • Modify the precompile part of the crate
  • Implement Ed448