mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 20:57:10 +00:00
EIP-7732 Boiler Plate
This commit is contained in:
@@ -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()),
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user