optimism: replace reth-primitive imports (#10800)

This commit is contained in:
Håvard Anda Estensen
2024-09-10 12:51:43 +02:00
committed by GitHub
parent 1b74f16ec3
commit 0213e8841f
24 changed files with 56 additions and 40 deletions

View File

@ -1,7 +1,8 @@
//! Helper function for Receipt root calculation for Optimism hardforks.
use alloy_primitives::B256;
use reth_chainspec::{ChainSpec, OptimismHardfork};
use reth_primitives::{ReceiptWithBloom, B256};
use reth_primitives::ReceiptWithBloom;
use reth_trie_common::root::ordered_trie_root_with_encoder;
/// Calculates the receipt root for a header.