diff --git a/crates/ethereum/evm/Cargo.toml b/crates/ethereum/evm/Cargo.toml index 39118840f7fd..f55a74adb7ad 100644 --- a/crates/ethereum/evm/Cargo.toml +++ b/crates/ethereum/evm/Cargo.toml @@ -53,5 +53,6 @@ std = [ "revm-primitives/std", "secp256k1/std", "reth-ethereum-forks/std", - "serde_json/std" + "serde_json/std", + "reth-primitives-traits/std" ] diff --git a/crates/optimism/consensus/src/proof.rs b/crates/optimism/consensus/src/proof.rs index 3a902cc03cf4..6f86e70f9c33 100644 --- a/crates/optimism/consensus/src/proof.rs +++ b/crates/optimism/consensus/src/proof.rs @@ -40,7 +40,7 @@ pub(crate) fn calculate_receipt_root_optimism( ordered_trie_root_with_encoder(receipts, |r, buf| r.encode_2718(buf)) } -/// Calculates the receipt root for a header for the reference type of [OpReceipt]. +/// Calculates the receipt root for a header for the reference type of [`OpReceipt`]. /// /// NOTE: Prefer calculate receipt root optimism if you have log blooms memoized. pub fn calculate_receipt_root_no_memo_optimism(