Skip to content

Commit

Permalink
feat(rpc-types): use alloy-trace-rpc-types crate (#5949)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir authored Jan 4, 2024
1 parent d02cc4b commit 9a25470
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
18 changes: 17 additions & 1 deletion Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 1 addition & 0 deletions crates/rpc/rpc-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down
4 changes: 4 additions & 0 deletions crates/rpc/rpc-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9a25470

Please sign in to comment.