mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(sdk): Add NodePrimitives::Receipt (#12357)
This commit is contained in:
@ -24,10 +24,13 @@ use reth_trie_db::StateCommitment;
|
||||
pub trait NodePrimitives {
|
||||
/// Block primitive.
|
||||
type Block;
|
||||
/// A receipt.
|
||||
type Receipt;
|
||||
}
|
||||
|
||||
impl NodePrimitives for () {
|
||||
type Block = reth_primitives::Block;
|
||||
type Receipt = ();
|
||||
}
|
||||
|
||||
/// The type that configures the essential types of an Ethereum-like node.
|
||||
|
||||
Reference in New Issue
Block a user