Skip to content

Commit

Permalink
testfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ettec committed Oct 30, 2024
1 parent 0b386b5 commit c198e34
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,15 @@ func (f *fakeContractReader) GetLatestValue(_ context.Context, readIdentifier st
return nil
}

func (f *fakeContractReader) GetLatestValueWithHeadData(_ context.Context, readIdentifier string, confidenceLevel primitives.ConfidenceLevel, params, returnVal any) (*types.Head, error) {
err := f.GetLatestValue(context.Background(), readIdentifier, confidenceLevel, params, returnVal)
if err != nil {
return nil, err
}

return &types.Head{}, nil
}

func (f *fakeContractReader) BatchGetLatestValues(_ context.Context, request types.BatchGetLatestValuesRequest) (types.BatchGetLatestValuesResult, error) {
result := make(types.BatchGetLatestValuesResult)
for requestContract, requestContractBatch := range request {
Expand Down

0 comments on commit c198e34

Please sign in to comment.