remove unused `sync_queue` types (#4316)
`SyncManagerError` and `sync_queue.BeaconBlocksRes` are unused and can be removed for cleanup (verified with `{.deprecated.}`).
This commit is contained in:
parent
35b1104bea
commit
94b3df25f8
|
@ -77,8 +77,7 @@ type
|
|||
stamp*: chronos.Moment
|
||||
slots*: uint64
|
||||
|
||||
SyncManagerError* = object of CatchableError
|
||||
BeaconBlocksRes* = NetRes[List[ref ForkedSignedBeaconBlock, MAX_REQUEST_BLOCKS]]
|
||||
BeaconBlocksRes = NetRes[List[ref ForkedSignedBeaconBlock, MAX_REQUEST_BLOCKS]]
|
||||
|
||||
proc now*(sm: typedesc[SyncMoment], slots: uint64): SyncMoment {.inline.} =
|
||||
SyncMoment(stamp: now(chronos.Moment), slots: slots)
|
||||
|
|
|
@ -79,9 +79,6 @@ type
|
|||
blockVerifier: BlockVerifier
|
||||
ident*: string
|
||||
|
||||
SyncManagerError* = object of CatchableError
|
||||
BeaconBlocksRes* = NetRes[seq[ref ForkedSignedBeaconBlock]]
|
||||
|
||||
chronicles.formatIt SyncQueueKind: toLowerAscii($it)
|
||||
|
||||
template shortLog*[T](req: SyncRequest[T]): string =
|
||||
|
|
Loading…
Reference in New Issue