refactor: mv proofs mod to reth-primitives-traits and split tests (#13871)

This commit is contained in:
Léa Narzis
2025-01-20 13:18:29 +01:00
committed by GitHub
parent f527b5a60d
commit d2ad477b0e
9 changed files with 184 additions and 27 deletions

View File

@ -362,7 +362,7 @@ impl ExecutionOutcome {
/// of receipt. This is a expensive operation.
pub fn ethereum_receipts_root(&self, _block_number: BlockNumber) -> Option<B256> {
self.receipts.root_slow(self.block_number_to_index(_block_number)?, |receipts| {
reth_primitives::proofs::calculate_receipt_root_no_memo(receipts)
reth_primitives::Receipt::calculate_receipt_root_no_memo(receipts)
})
}
}