Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4191: [Access] Add latest block Height and ID to api responses r=peterargue a=Guitarheroua #2906 ### Context This pull request extends the necessary responses for the Access Node with additional fields containing information about the finalized block ID and height. To achieve this, the `synchronization.FinalizedHeaderCache` was propagated to the Access Node handler, and finalized block ID and height were added to query responses As part of this PR: * The protobuf structures were extended([PR 1325](onflow/flow#1325)) * The tests in [access_test.go](https://github.com/onflow/flow-go/blob/master/engine/access/access_test.go) were updated ### Note: * These changes include only GRPC modifications and not REST. REST changes will be made in a separate pull request after getting a reply on [the issue comment](#2906 (comment)). Co-authored-by: Andriy Slisarchuk <[email protected]> Co-authored-by: Andrii Slisarchuk <[email protected]> Co-authored-by: Andrii Slisarchuk <[email protected]>
- Loading branch information