Skip to content

Commit

Permalink
chore: use crates alloy (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jun 17, 2024
1 parent af29524 commit 50ee39b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ resolver = "2"
[workspace.dependencies]
alloy-chains = "0.1"
alloy-primitives = { version = "0.7", default-features = false, features = ["std", "serde"] }
alloy-rpc-types-eth = "0.1"
alloy-eips = "0.1"
alloy-serde = "0.1"

reqwest = { version = "0.12", default-features = false, features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
Expand Down
6 changes: 3 additions & 3 deletions crates/blob-explorers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ readme = "README.md"
alloy-chains.workspace = true
alloy-primitives = { workspace = true, default-features = false, features = ["std", "serde"] }

alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy" }
alloy-serde = { git = "https://github.com/alloy-rs/alloy" }
alloy-eips = { git = "https://github.com/alloy-rs/alloy" }
alloy-rpc-types-eth.workspace = true
alloy-serde.workspace = true
alloy-eips.workspace = true

reqwest = { workspace = true, features = ["json"] }
serde = { workspace = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/blob-explorers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

use alloy_chains::{Chain, ChainKind, NamedChain};
use alloy_primitives::B256;
use alloy_rpc_types::BlockHashOrNumber;
use alloy_rpc_types_eth::BlockHashOrNumber;
pub use request::*;
pub use response::*;
use serde::de::DeserializeOwned;
Expand Down
2 changes: 1 addition & 1 deletion crates/blob-explorers/src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use alloy_eips::eip4844::Blob;
use alloy_primitives::{Address, FixedBytes, B256};
use alloy_rpc_types::BlobTransactionSidecar;
use alloy_rpc_types_eth::BlobTransactionSidecar;
use serde::{Deserialize, Serialize};
use std::str::FromStr;

Expand Down

0 comments on commit 50ee39b

Please sign in to comment.