Skip to content

Commit

Permalink
chore(deps): make c-kzg actually a feature of reth-primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Nov 22, 2023
1 parent c825b26 commit 226eb86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ reth-transaction-pool = { path = "crates/transaction-pool" }
reth-trie = { path = "crates/trie" }

# revm
revm = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze" }
revm-primitives = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze" }
revm = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze", features = ["std", "secp256k1"], default-features = false }
revm-primitives = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze", features = ["std"], default-features = false }

# eth
alloy-primitives = "0.4"
Expand Down
9 changes: 4 additions & 5 deletions crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ description = "Commonly used types in reth."
# reth
reth-codecs.workspace = true
reth-rpc-types.workspace = true
revm-primitives = { workspace = true, features = ["serde"] }
revm-primitives.workspace = true
revm.workspace = true

# ethereum
alloy-primitives = { workspace = true, features = ["rand", "rlp"] }
Expand Down Expand Up @@ -61,8 +62,6 @@ proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
strum = { workspace = true, features = ["derive"] }

revm.workspace = true

[dev-dependencies]
serde_json.workspace = true
test-fuzz = "4"
Expand All @@ -87,10 +86,10 @@ pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterio
[features]
default = ["c-kzg"]
arbitrary = ["revm-primitives/arbitrary", "reth-rpc-types/arbitrary", "dep:arbitrary", "dep:proptest", "dep:proptest-derive"]
c-kzg = ["revm-primitives/c-kzg", "dep:c-kzg"]
test-utils = ["dep:plain_hasher", "dep:hash-db", "dep:ethers-core"]
c-kzg = ["dep:c-kzg", "revm/c-kzg", "revm-primitives/c-kzg"]
clap = ["dep:clap"]
optimism = ["reth-codecs/optimism", "revm-primitives/optimism", "revm/optimism"]
test-utils = ["dep:plain_hasher", "dep:hash-db", "dep:ethers-core"]

[[bench]]
name = "recover_ecdsa_crit"
Expand Down

0 comments on commit 226eb86

Please sign in to comment.