diff --git a/Cargo.lock b/Cargo.lock index 1f9792270e..f8a52c62fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -216,10 +216,25 @@ dependencies = [ "syn 2.0.43", ] +[[package]] +name = "alloy-rpc-trace-types" +version = "0.1.0" +source = "git+https://github.com/alloy-rs/alloy#f5174888c523b70fa1a94fad24f3214048d3d462" +dependencies = [ + "alloy-primitives", + "alloy-rlp", + "alloy-rpc-types", + "itertools 0.12.0", + "jsonrpsee-types", + "serde", + "serde_json", + "thiserror", +] + [[package]] name = "alloy-rpc-types" version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy#e64c1c2b9e4f80fe13ac4f65504a4c30fe786454" +source = "git+https://github.com/alloy-rs/alloy#f5174888c523b70fa1a94fad24f3214048d3d462" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -6581,6 +6596,7 @@ version = "0.1.0-alpha.13" dependencies = [ "alloy-primitives", "alloy-rlp", + "alloy-rpc-trace-types", "alloy-rpc-types", "arbitrary", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 1c75295c0c..e88f19cb29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -161,6 +161,7 @@ alloy-dyn-abi = "0.5" alloy-sol-types = "0.5" alloy-rlp = "0.3" alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", features = ["jsonrpsee-types"] } +alloy-rpc-trace-types = { git = "https://github.com/alloy-rs/alloy", features = ["jsonrpsee-types"] } ethers-core = { version = "2.0", default-features = false } ethers-providers = { version = "2.0", default-features = false } ethers-signers = { version = "2.0", default-features = false } diff --git a/crates/rpc/rpc-types/Cargo.toml b/crates/rpc/rpc-types/Cargo.toml index 62f93e7bfd..a9faa5e44d 100644 --- a/crates/rpc/rpc-types/Cargo.toml +++ b/crates/rpc/rpc-types/Cargo.toml @@ -16,6 +16,7 @@ workspace = true alloy-rlp = { workspace = true, features = ["arrayvec", "derive"] } alloy-primitives = { workspace = true, features = ["rand", "rlp", "serde"] } alloy-rpc-types.workspace = true +alloy-rpc-trace-types.workspace = true ethereum_ssz_derive = { version = "0.5", optional = true } ethereum_ssz = { version = "0.5", optional = true } diff --git a/crates/rpc/rpc-types/src/lib.rs b/crates/rpc/rpc-types/src/lib.rs index f1673b45bc..77d2367177 100644 --- a/crates/rpc/rpc-types/src/lib.rs +++ b/crates/rpc/rpc-types/src/lib.rs @@ -22,6 +22,10 @@ pub mod serde_helpers; // Ethereum specific rpc types coming from alloy. pub use alloy_rpc_types::*; +pub mod trace { + //! RPC types for trace endpoints and inspectors. + pub use alloy_rpc_trace_types::*; +} // Ethereum specific rpc types related to typed transaction requests and the engine API. pub use eth::{ engine,