From bce5c26bd0bcb863515b229677d711a9f4572547 Mon Sep 17 00:00:00 2001 From: Kirill Fedoseev Date: Thu, 26 Dec 2024 13:11:42 +0700 Subject: [PATCH] chore: update feature flags --- user-ops-indexer/Cargo.lock | 92 ------------------- .../user-ops-indexer-logic/Cargo.toml | 2 +- .../user-ops-indexer-server/Cargo.toml | 2 +- 3 files changed, 2 insertions(+), 94 deletions(-) diff --git a/user-ops-indexer/Cargo.lock b/user-ops-indexer/Cargo.lock index 64f95512c..16d310abb 100644 --- a/user-ops-indexer/Cargo.lock +++ b/user-ops-indexer/Cargo.lock @@ -345,11 +345,8 @@ dependencies = [ "alloy-rpc-client", "alloy-rpc-types", "alloy-serde", - "alloy-signer", - "alloy-signer-local", "alloy-transport", "alloy-transport-http", - "alloy-transport-ipc", "alloy-transport-ws", ] @@ -378,7 +375,6 @@ dependencies = [ "auto_impl", "c-kzg", "derive_more 1.0.0", - "k256", "serde", ] @@ -467,7 +463,6 @@ dependencies = [ "alloy-primitives", "alloy-rlp", "derive_more 1.0.0", - "k256", "serde", ] @@ -613,7 +608,6 @@ dependencies = [ "alloy-rpc-types-trace", "alloy-transport", "alloy-transport-http", - "alloy-transport-ipc", "alloy-transport-ws", "async-stream", "async-trait", @@ -687,7 +681,6 @@ dependencies = [ "alloy-pubsub", "alloy-transport", "alloy-transport-http", - "alloy-transport-ipc", "alloy-transport-ws", "futures", "pin-project", @@ -709,7 +702,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3410a472ce26c457e9780f708ee6bd540b30f88f1f31fdab7a11d00bd6aa1aee" dependencies = [ "alloy-primitives", - "alloy-rpc-types-engine", "alloy-rpc-types-eth", "alloy-rpc-types-trace", "alloy-serde", @@ -737,22 +729,6 @@ dependencies = [ "serde", ] -[[package]] -name = "alloy-rpc-types-engine" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03bd16fa4959255ebf4a7702df08f325e5631df5cdca07c8a8e58bdc10fe02e3" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-primitives", - "alloy-rlp", - "alloy-serde", - "derive_more 1.0.0", - "serde", - "strum 0.26.3", -] - [[package]] name = "alloy-rpc-types-eth" version = "0.8.3" @@ -812,22 +788,6 @@ dependencies = [ "thiserror 2.0.9", ] -[[package]] -name = "alloy-signer-local" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47fababf5a745133490cde927d48e50267f97d3d1209b9fc9f1d1d666964d172" -dependencies = [ - "alloy-consensus", - "alloy-network", - "alloy-primitives", - "alloy-signer", - "async-trait", - "k256", - "rand", - "thiserror 2.0.9", -] - [[package]] name = "alloy-sol-macro" version = "0.8.15" @@ -936,25 +896,6 @@ dependencies = [ "url", ] -[[package]] -name = "alloy-transport-ipc" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a172a59d24706b26a79a837f86d51745cb26ca6f8524712acd0208a14cff95" -dependencies = [ - "alloy-json-rpc", - "alloy-pubsub", - "alloy-transport", - "bytes", - "futures", - "interprocess", - "pin-project", - "serde_json", - "tokio", - "tokio-util", - "tracing", -] - [[package]] name = "alloy-transport-ws" version = "0.8.3" @@ -2191,12 +2132,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257" -[[package]] -name = "doctest-file" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aac81fa3e28d21450aa4d2ac065992ba96a1d7303efbce51a95f4fd175b67562" - [[package]] name = "dotenvy" version = "0.15.7" @@ -3134,21 +3069,6 @@ version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" -[[package]] -name = "interprocess" -version = "2.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "894148491d817cb36b6f778017b8ac46b17408d522dd90f539d677ea938362eb" -dependencies = [ - "doctest-file", - "futures-core", - "libc", - "recvmsg", - "tokio", - "widestring", - "windows-sys 0.52.0", -] - [[package]] name = "ipnet" version = "2.10.1" @@ -4357,12 +4277,6 @@ dependencies = [ "rand_core", ] -[[package]] -name = "recvmsg" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3edd4d5d42c92f0a659926464d4cce56b562761267ecf0f469d85b7de384175" - [[package]] name = "redox_syscall" version = "0.5.8" @@ -6535,12 +6449,6 @@ dependencies = [ "wasite", ] -[[package]] -name = "widestring" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" - [[package]] name = "winapi" version = "0.3.9" diff --git a/user-ops-indexer/user-ops-indexer-logic/Cargo.toml b/user-ops-indexer/user-ops-indexer-logic/Cargo.toml index 03a18bd4b..f9ded282b 100644 --- a/user-ops-indexer/user-ops-indexer-logic/Cargo.toml +++ b/user-ops-indexer/user-ops-indexer-logic/Cargo.toml @@ -29,7 +29,7 @@ chrono = "0.4.31" lru = "0.12.2" async-trait = "0.1.77" serde_with = "3.6.1" -alloy = { version = "0.8.2", features = ["full", "provider-debug-api", "provider-trace-api"] } +alloy = { version = "0.8.3", features = ["contract", "pubsub", "provider-debug-api", "provider-trace-api"] } [dev-dependencies] async-trait = "0.1" diff --git a/user-ops-indexer/user-ops-indexer-server/Cargo.toml b/user-ops-indexer/user-ops-indexer-server/Cargo.toml index 343d776e3..1fbc302b4 100644 --- a/user-ops-indexer/user-ops-indexer-server/Cargo.toml +++ b/user-ops-indexer/user-ops-indexer-server/Cargo.toml @@ -19,7 +19,7 @@ serde = "1.0" tokio = { version = "1.23", features = ["rt-multi-thread", "macros"] } tonic = "0.8" tracing = "0.1" -alloy = { version = "0.8.2", features = ["full", "provider-debug-api", "provider-trace-api"] } +alloy = { version = "0.8.3", features = ["provider-ws", "provider-http"] } [dev-dependencies] sea-orm = { version = "*", features = ["sqlx-sqlite"] }