Skip to content

NaliFinance/foundry-evm-mini

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundry EVM Mini

A copy of https://github.com/foundry-rs/foundry

Foundry introduces new changes to their repo everyday, and this can cause projects using foundry-evm break every once in a while.

This foundry-evm-mini project is an attempt to take a snapshot of the library so that it never breaks again.

Currently supports:

  • SharedBackend (evm/executor/fork)
  • BlockchainDB (evm/executor/fork)
  • BlockchainDBMeta (evm/executor/fork)

  • How to use?

To use this repo, you can configure your Cargo.toml as below:

[dependencies]
ethers = { version = "2.0", features = ["ethers-solc"] }

# EVM
bytes = "1"
hashbrown = { version = "0.13", features = ["serde"] }
revm = { version = "3", default-features = false, features = [
  "std",
  "serde",
  "memory_limit",
  "optional_eip3607",
  "optional_block_gas_limit",
  "optional_no_base_fee",
] }

foundry-evm-mini = { git = "https://github.com/solidquant/foundry-evm-mini.git" }

[patch.crates-io]
revm = { git = "https://github.com/bluealloy/revm/", rev = "6b55b9c0ab264c000e087c2f54f2d8dc24b869aa" }

Make sure revm version is patched to the commit at: 6b55b9c0ab264c000e087c2f54f2d8dc24b869aa.

About

Foundry EVM Standalone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%