Skip to content

Commit

Permalink
fix: answer comments
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Edison <[email protected]>
  • Loading branch information
greged93 committed Jan 22, 2025
1 parent 13951d0 commit bf005a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/primitives-traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ reth-codec = [
op = [
"dep:op-alloy-consensus",
]
scr = ["scroll-alloy-consensus"]
scroll-in-memory-size = ["scroll-alloy-consensus"]
scroll = ["revm-primitives/scroll"]
rayon = [
"dep:rayon",
Expand Down
2 changes: 1 addition & 1 deletion crates/primitives-traits/src/size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl InMemorySize for op_alloy_consensus::OpTypedTransaction {
}
}

#[cfg(feature = "scr")]
#[cfg(feature = "scroll-in-memory-size")]
impl InMemorySize for scroll_alloy_consensus::ScrollTypedTransaction {
fn size(&self) -> usize {
match self {
Expand Down
2 changes: 1 addition & 1 deletion crates/scroll/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ workspace = true
[dependencies]
# reth
reth-codecs = { workspace = true, optional = true }
reth-primitives-traits = { workspace = true, features = ["scr"] }
reth-primitives-traits = { workspace = true, features = ["scroll-in-memory-size"] }
reth-zstd-compressors = { workspace = true, optional = true }

# revm
Expand Down

0 comments on commit bf005a4

Please sign in to comment.