Skip to content

Commit

Permalink
chore: remove eth rpc types dep from engine types (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Sep 12, 2024
1 parent f50313a commit 9362494
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions crates/rpc-types-engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ workspace = true
[dependencies]
# ethereum
alloy-serde.workspace = true
alloy-rpc-types-eth.workspace = true
alloy-rlp = { workspace = true, features = ["arrayvec", "derive"] }
alloy-primitives = { workspace = true, features = ["rlp", "serde"] }
alloy-consensus = { workspace = true, features = ["serde"] }
Expand All @@ -44,9 +43,9 @@ jsonwebtoken = { version = "9.3.0", optional = true }

[features]
default = ["jwt", "std"]
std = ["alloy-rpc-types-eth/std", "alloy-consensus/std", "derive_more/std"]
std = ["alloy-consensus/std", "derive_more/std"]
jwt = ["dep:jsonwebtoken", "dep:rand"]
jsonrpsee-types = ["dep:jsonrpsee-types", "alloy-rpc-types-eth/jsonrpsee-types"]
jsonrpsee-types = ["dep:jsonrpsee-types"]
ssz = ["std", "dep:ethereum_ssz", "dep:ethereum_ssz_derive", "alloy-eips/ssz"]
kzg = ["alloy-consensus/kzg"]

Expand Down
4 changes: 2 additions & 2 deletions crates/rpc-types-engine/src/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ use alloc::{
};
use alloy_consensus::{Blob, Bytes48};
use alloy_eips::{
eip6110::DepositRequest, eip7002::WithdrawalRequest, eip7251::ConsolidationRequest,
eip4844::BlobTransactionSidecar, eip4895::Withdrawal, eip6110::DepositRequest,
eip7002::WithdrawalRequest, eip7251::ConsolidationRequest,
};
use alloy_primitives::{Address, Bloom, Bytes, B256, B64, U256};
use alloy_rpc_types_eth::{transaction::BlobTransactionSidecar, Withdrawal};
use core::iter::{FromIterator, IntoIterator};
use serde::{ser::SerializeMap, Deserialize, Deserializer, Serialize, Serializer};

Expand Down

0 comments on commit 9362494

Please sign in to comment.