mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
refactor(primitives-traits): rm useless trait bounds for Receipt (#11942)
This commit is contained in:
@ -1,7 +1,5 @@
|
|||||||
//! Receipt abstraction
|
//! Receipt abstraction
|
||||||
|
|
||||||
use alloc::fmt;
|
|
||||||
|
|
||||||
use alloy_consensus::TxReceipt;
|
use alloy_consensus::TxReceipt;
|
||||||
use reth_codecs::Compact;
|
use reth_codecs::Compact;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
@ -14,10 +12,6 @@ impl<T> FullReceipt for T where T: Receipt + Compact {}
|
|||||||
/// Abstraction of a receipt.
|
/// Abstraction of a receipt.
|
||||||
pub trait Receipt:
|
pub trait Receipt:
|
||||||
TxReceipt
|
TxReceipt
|
||||||
+ Clone
|
|
||||||
+ fmt::Debug
|
|
||||||
+ PartialEq
|
|
||||||
+ Eq
|
|
||||||
+ Default
|
+ Default
|
||||||
+ alloy_rlp::Encodable
|
+ alloy_rlp::Encodable
|
||||||
+ alloy_rlp::Decodable
|
+ alloy_rlp::Decodable
|
||||||
|
|||||||
Reference in New Issue
Block a user