Skip to content

Commit 903cab7

Browse files
committed
deepsource
1 parent ee108d4 commit 903cab7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

beacon-chain/execution/testing/mock_engine_client.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func (e *EngineClient) GetPayload(_ context.Context, _ [8]byte) (*pb.ExecutionPa
5757
return e.ExecutionPayload, e.ErrGetPayload
5858
}
5959

60+
// GetPayloadV2 --
6061
func (e *EngineClient) GetPayloadV2(_ context.Context, _ [8]byte) (*pb.ExecutionPayloadCapella, error) {
6162
return nil, nil
6263
}
@@ -71,7 +72,7 @@ func (e *EngineClient) LatestExecutionBlock(_ context.Context) (*pb.ExecutionBlo
7172
return e.ExecutionBlock, e.ErrLatestExecBlock
7273
}
7374

74-
// ExecutionBlockByHash --
75+
// ExecutionBlockByHashBellatrix --
7576
func (e *EngineClient) ExecutionBlockByHashBellatrix(_ context.Context, h common.Hash, _ bool) (*pb.ExecutionBlockBellatrix, error) {
7677
b, ok := e.BlockByHashMap[h]
7778
if !ok {
@@ -80,6 +81,7 @@ func (e *EngineClient) ExecutionBlockByHashBellatrix(_ context.Context, h common
8081
return b, e.ErrExecBlockByHash
8182
}
8283

84+
// ReconstructFullBlock --
8385
func (e *EngineClient) ReconstructFullBlock(
8486
_ context.Context, blindedBlock interfaces.SignedBeaconBlock,
8587
) (interfaces.SignedBeaconBlock, error) {
@@ -98,6 +100,7 @@ func (e *EngineClient) ReconstructFullBlock(
98100
return blocks.BuildSignedBeaconBlockFromExecutionPayload(blindedBlock, payload)
99101
}
100102

103+
// ReconstructFullBellatrixBlockBatch --
101104
func (e *EngineClient) ReconstructFullBellatrixBlockBatch(
102105
ctx context.Context, blindedBlocks []interfaces.SignedBeaconBlock,
103106
) ([]interfaces.SignedBeaconBlock, error) {

0 commit comments

Comments
 (0)