Skip to content

Commit

Permalink
chore: rm Once-cell dep (paradigmxyz#14141)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Feb 1, 2025
1 parent 3d72151 commit d161875
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

2 changes: 0 additions & 2 deletions crates/ethereum/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ revm-primitives.workspace = true
arbitrary = { workspace = true, optional = true, features = ["derive"] }
derive_more.workspace = true
modular-bitfield = { workspace = true, optional = true }
once_cell.workspace = true
rand = { workspace = true, optional = true }
secp256k1 = { workspace = true, optional = true, features = ["rand"] }
serde.workspace = true
Expand Down Expand Up @@ -66,7 +65,6 @@ std = [
"alloy-eips/std",
"derive_more/std",
"secp256k1?/std",
"once_cell/std",
"revm-primitives/std",
"alloy-serde?/std",
]
Expand Down
6 changes: 1 addition & 5 deletions crates/ethereum/primitives/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,14 @@ use alloy_primitives::{
};
use alloy_rlp::{Decodable, Encodable};
use core::hash::{Hash, Hasher};
use once_cell as _;
#[cfg(not(feature = "std"))]
use once_cell::sync::OnceCell as OnceLock;
use reth_primitives_traits::{
crypto::secp256k1::{recover_signer, recover_signer_unchecked},
sync::OnceLock,
transaction::{error::TransactionConversionError, signed::RecoveryError},
FillTxEnv, InMemorySize, SignedTransaction,
};
use revm_primitives::{AuthorizationList, TxEnv};
use serde::{Deserialize, Serialize};
#[cfg(feature = "std")]
use std::sync::OnceLock;

macro_rules! delegate {
($self:expr => $tx:ident.$method:ident($($arg:expr),*)) => {
Expand Down

0 comments on commit d161875

Please sign in to comment.