diff --git a/Cargo.lock b/Cargo.lock index 578b26349e..aabe62ea54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2924,7 +2924,9 @@ name = "revm" version = "9.0.0" dependencies = [ "alloy-provider", + "alloy-rpc-types", "alloy-sol-types", + "alloy-transport", "alloy-transport-http", "anyhow", "auto_impl", diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index 9c1830e438..31628693d8 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -49,9 +49,9 @@ ethers-providers = { version = "2.0", optional = true } ethers-core = { version = "2.0", optional = true } # alloydb -# alloy-provider = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } -# alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } -# alloy-transport = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } +alloy-provider = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } +alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } +alloy-transport = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } [dev-dependencies] alloy-sol-types = { version = "0.7.0", default-features = false, features = [ @@ -106,14 +106,13 @@ ethersdb = [ "ethers-core", ] # Negate optimism default handler -# -# alloydb = [ -# "std", -# "tokio", -# "alloy-provider", -# "alloy-rpc-types", -# "alloy-transport", -# ] +alloydb = [ + "std", + "tokio", + "alloy-provider", + "alloy-rpc-types", + "alloy-transport", +] dev = [ "memory_limit", @@ -152,10 +151,10 @@ name = "db_by_ref" path = "../../examples/db_by_ref.rs" required-features = ["std", "serde-json"] -#[[example]] -#name = "uniswap_v2_usdc_swap" -#path = "../../examples/uniswap_v2_usdc_swap.rs" -#required-features = ["alloydb"] +[[example]] +name = "uniswap_v2_usdc_swap" +path = "../../examples/uniswap_v2_usdc_swap.rs" +required-features = ["alloydb"] [[bench]] name = "bench"