Skip to content

Commit

Permalink
feat: support optimism
Browse files Browse the repository at this point in the history
  • Loading branch information
kien-rise committed Sep 4, 2024
1 parent 816c6e6 commit 2010aad
Show file tree
Hide file tree
Showing 12 changed files with 727 additions and 72 deletions.
170 changes: 164 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name = "pevm"
version = "0.1.0"
edition = "2021"

[features]
optimism = ["revm/optimism"]
default = ["optimism"]

[dependencies]
# Put this behind a feature flag if there are use cases & users
# that need more security guarantees even for internally hashing
Expand All @@ -18,11 +22,14 @@ alloy-trie = "0.5.1"
bitflags = "2.6.0"
bitvec = "1.0.1"
dashmap = "6.0.1"
op-alloy-consensus = "0.2.7"
op-alloy-network = "0.2.7"
op-alloy-rpc-types = "0.2.7"
serde = "1.0.209"
smallvec = "1.13.2"

# Let's do our best to port needed REVM changes upstream
revm = { git = "https://github.com/risechain/revm", rev = "eb232edf0403ebb33847782fda7a14aaf4f86ab2", features = [
revm = { git = "https://github.com/risechain/revm", rev = "2b97d7e8bd3c32268857a6cd9961a72d96344583", features = [
"serde",
] }

Expand All @@ -37,10 +44,11 @@ tokio = { version = "1.40.0", features = ["rt-multi-thread"] }

[dev-dependencies]
bincode = "1.3.3"
clap = { version = "4.5.13", features = ["derive", "env"] }
criterion = "0.5.1"
rand = "0.8.5"
rayon = "1.10.0"
revme = { git = "https://github.com/risechain/revm", rev = "eb232edf0403ebb33847782fda7a14aaf4f86ab2" }
revme = { git = "https://github.com/risechain/revm", rev = "2b97d7e8bd3c32268857a6cd9961a72d96344583" }
rpmalloc = { version = "0.2.2", features = ["thread_cache", "global_cache"] }
snmalloc-rs = "0.3.6"
serde_json = "1.0.127"
Expand Down
Loading

0 comments on commit 2010aad

Please sign in to comment.