From 842738f211f9877ae17c6a75284fd1477e7d4fd2 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Fri, 27 Dec 2024 17:58:01 +0100 Subject: [PATCH] chore: rm unused dep and add required --- Cargo.lock | 1 + crates/optimism/primitives/Cargo.toml | 2 +- crates/optimism/primitives/src/lib.rs | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index accaf097a898..d0657706a878 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8569,6 +8569,7 @@ dependencies = [ "bytes", "derive_more", "modular-bitfield", + "once_cell", "op-alloy-consensus", "proptest", "proptest-arbitrary-interop", diff --git a/crates/optimism/primitives/Cargo.toml b/crates/optimism/primitives/Cargo.toml index 55f8eee0b2c6..e19768dc5fd0 100644 --- a/crates/optimism/primitives/Cargo.toml +++ b/crates/optimism/primitives/Cargo.toml @@ -36,6 +36,7 @@ serde = { workspace = true, optional = true } # misc derive_more = { workspace = true, features = ["deref", "from", "into", "constructor"] } +once_cell.workspace = true rand = { workspace = true, optional = true } # test @@ -70,7 +71,6 @@ std = [ reth-codec = [ "dep:reth-codecs", "std", - "rand", "dep:proptest", "dep:arbitrary", "reth-primitives/reth-codec", diff --git a/crates/optimism/primitives/src/lib.rs b/crates/optimism/primitives/src/lib.rs index 337d8da77beb..f04ed59ff63b 100644 --- a/crates/optimism/primitives/src/lib.rs +++ b/crates/optimism/primitives/src/lib.rs @@ -38,3 +38,5 @@ impl reth_primitives::NodePrimitives for OpPrimitives { type SignedTx = OpTransactionSigned; type Receipt = OpReceipt; } + +use once_cell as _;