mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
29 lines
652 B
Rust
29 lines
652 B
Rust
use reth_ethereum_primitives::Receipt;
|
|
use reth_primitives::NodePrimitives;
|
|
|
|
pub mod transaction;
|
|
pub use transaction::TransactionSigned;
|
|
|
|
pub mod block;
|
|
pub use block::HlBlock;
|
|
pub mod body;
|
|
pub use body::{BlockBody, HlBlockBody};
|
|
pub mod header;
|
|
pub use header::HlHeader;
|
|
|
|
pub mod rlp;
|
|
pub mod serde_bincode_compat;
|
|
|
|
/// Primitive types for HyperEVM.
|
|
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
|
|
#[non_exhaustive]
|
|
pub struct HlPrimitives;
|
|
|
|
impl NodePrimitives for HlPrimitives {
|
|
type Block = HlBlock;
|
|
type BlockHeader = HlHeader;
|
|
type BlockBody = HlBlockBody;
|
|
type SignedTx = TransactionSigned;
|
|
type Receipt = Receipt;
|
|
}
|