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