refactor(primitives-traits): rm useless trait bounds for Receipt (#11942)

This commit is contained in:
Thomas Coratger
2024-10-21 21:18:30 +02:00
committed by GitHub
parent 7f47ef0fd3
commit 1f4ca32e35

View File

@ -1,7 +1,5 @@
//! Receipt abstraction
use alloc::fmt;
use alloy_consensus::TxReceipt;
use reth_codecs::Compact;
use serde::{Deserialize, Serialize};
@ -14,10 +12,6 @@ impl<T> FullReceipt for T where T: Receipt + Compact {}
/// Abstraction of a receipt.
pub trait Receipt:
TxReceipt
+ Clone
+ fmt::Debug
+ PartialEq
+ Eq
+ Default
+ alloy_rlp::Encodable
+ alloy_rlp::Decodable