Skip to content

Commit

Permalink
bet
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Jan 1, 2025
1 parent 8ef5404 commit b36c329
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
matrix:
include:
- type: ethereum
args: --features "asm-keccak ethereum" --locked
args: --features "asm-keccak ethereum rayon" --locked
partition: 1
total_partitions: 2
- type: ethereum
args: --features "asm-keccak ethereum" --locked
args: --features "asm-keccak ethereum rayon" --locked
partition: 2
total_partitions: 2
- type: optimism
Expand Down
4 changes: 2 additions & 2 deletions crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ workspace = true

[dependencies]
# reth
reth-primitives-traits = { workspace = true, features = ["serde"] }
reth-primitives-traits = { workspace = true, features = ["serde", "rayon"] }
reth-ethereum-forks.workspace = true
reth-static-file-types.workspace = true
revm-primitives = { workspace = true, features = ["serde"] }
Expand Down Expand Up @@ -183,7 +183,7 @@ serde-bincode-compat = [
"reth-primitives-traits/serde-bincode-compat",
"reth-trie-common/serde-bincode-compat",
]
rayon = ["dep:rayon"]
rayon = ["dep:rayon", "reth-primitives-traits/rayon"]


[[bench]]
Expand Down
3 changes: 2 additions & 1 deletion crates/primitives/src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ use op_alloy_consensus::DepositTransaction;
#[cfg(feature = "optimism")]
use op_alloy_consensus::TxDeposit;
pub use pooled::PooledTransactionsElementEcRecovered;
use rayon::prelude::{IntoParallelIterator, ParallelIterator};
#[cfg(feature = "rayon")]
use rayon::iter::{IntoParallelIterator, ParallelIterator};
pub use reth_primitives_traits::{
transaction::error::{
InvalidTransactionError, TransactionConversionError, TryFromRecoveredTransactionError,
Expand Down

0 comments on commit b36c329

Please sign in to comment.