mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Add in Context For Req/Resp (#8895)
* Add in context * use better function signatures * add in chainservice * fix rpc requests * add in test * fix tests * add in comments * Update beacon-chain/sync/rpc_chunked_response.go Co-authored-by: terence tsao <terence@prysmaticlabs.com> * Update beacon-chain/sync/rpc_send_request.go Co-authored-by: terence tsao <terence@prysmaticlabs.com> * rename files * fmt Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -29,8 +29,7 @@ var _ shared.Service = (*Service)(nil)
|
||||
// blockchainService defines the interface for interaction with block chain service.
|
||||
type blockchainService interface {
|
||||
blockchain.BlockReceiver
|
||||
blockchain.HeadFetcher
|
||||
blockchain.FinalizationFetcher
|
||||
blockchain.ChainInfoFetcher
|
||||
}
|
||||
|
||||
// Config to set up the initial sync service.
|
||||
|
||||
Reference in New Issue
Block a user