mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(revm): Integrate State (#3512)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com> Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com> Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
This commit is contained in:
@ -99,7 +99,7 @@ pub fn calculate_receipt_root(receipts: &[ReceiptWithBloom]) -> H256 {
|
||||
/// Calculates the receipt root for a header for the reference type of [ReceiptWithBloom].
|
||||
///
|
||||
/// NOTE: Prefer [calculate_receipt_root] if you have log blooms memoized.
|
||||
pub fn calculate_receipt_root_ref<T>(receipts: &[T]) -> H256
|
||||
pub fn calculate_receipt_root_ref<T>(receipts: &[&T]) -> H256
|
||||
where
|
||||
for<'a> ReceiptWithBloomRef<'a>: From<&'a T>,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user