EIP-7732 Boiler Plate

This commit is contained in:
Mark Mackey
2024-08-27 12:38:00 -05:00
parent c042dc14d7
commit 13130dfa4f
52 changed files with 891 additions and 153 deletions

View File

@@ -29,6 +29,7 @@ pub enum ForkName {
Capella,
Deneb,
Electra,
EIP7732,
}
#[derive(Debug, PartialEq, Serialize)]
@@ -107,6 +108,11 @@ impl<'a, E: EthSpec, Payload: AbstractExecPayload<E>> Web3SignerObject<'a, E, Pa
block: None,
block_header: Some(block.block_header()),
}),
BeaconBlock::EIP7732(_) => Ok(Web3SignerObject::BeaconBlock {
version: ForkName::EIP7732,
block: None,
block_header: Some(block.block_header()),
}),
}
}