rm spec/forks capella_mev usage which had been for remote signer (#6009)

This commit is contained in:
tersec 2024-03-02 00:12:48 +00:00 committed by GitHub
parent e12f5e0bba
commit 8015c0bb47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 10 deletions

View File

@ -147,9 +147,7 @@ type
deneb.ExecutionPayloadForSigning |
electra.ExecutionPayloadForSigning
ForkyBlindedBeaconBlock* =
capella_mev.BlindedBeaconBlock |
deneb_mev.BlindedBeaconBlock
ForkyBlindedBeaconBlock* = deneb_mev.BlindedBeaconBlock
ForkedBeaconBlock* = object
case kind*: ConsensusFork
@ -1086,10 +1084,8 @@ template withStateAndBlck*(
body
func toBeaconBlockHeader*(
blck: SomeForkyBeaconBlock |
capella_mev.BlindedBeaconBlock |
deneb_mev.BlindedBeaconBlock
): BeaconBlockHeader =
blck: SomeForkyBeaconBlock | deneb_mev.BlindedBeaconBlock):
BeaconBlockHeader =
## Reduce a given `BeaconBlock` to its `BeaconBlockHeader`.
BeaconBlockHeader(
slot: blck.slot,
@ -1111,9 +1107,7 @@ template toBeaconBlockHeader*(
func toSignedBeaconBlockHeader*(
signedBlock: SomeForkySignedBeaconBlock |
capella_mev.SignedBlindedBeaconBlock |
deneb_mev.SignedBlindedBeaconBlock
): SignedBeaconBlockHeader =
deneb_mev.SignedBlindedBeaconBlock): SignedBeaconBlockHeader =
## Reduce a given `SignedBeaconBlock` to its `SignedBeaconBlockHeader`.
SignedBeaconBlockHeader(
message: signedBlock.message.toBeaconBlockHeader(),