mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-14 00:45:01 -05:00
feat(examples): Implement BlockAssembler and BlockExecutor for custom blocks in custom_node example (#16435)
This commit is contained in:
@@ -36,7 +36,11 @@ pub struct CustomHeader {
|
||||
pub extension: u64,
|
||||
}
|
||||
|
||||
impl CustomHeader {}
|
||||
impl From<Header> for CustomHeader {
|
||||
fn from(value: Header) -> Self {
|
||||
CustomHeader { inner: value, extension: 0 }
|
||||
}
|
||||
}
|
||||
|
||||
impl AsRef<Self> for CustomHeader {
|
||||
fn as_ref(&self) -> &Self {
|
||||
|
||||
Reference in New Issue
Block a user