chore(sdk): Add NodePrimitives::Receipt (#12357)

This commit is contained in:
Emilia Hane
2024-11-07 10:59:17 +01:00
committed by GitHub
parent 29a9e97797
commit d31e1d601d
3 changed files with 7 additions and 2 deletions

View File

@ -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.