Skip to content

Commit

Permalink
[BCF-3381] - Add LatestHead to ChainService (#760)
Browse files Browse the repository at this point in the history
* Add LatestHead to ChainService

* Rename chain agnostic head struct Identifier field to height

* Add comment for chain agnostic Head struct Timestamp field
  • Loading branch information
ilija42 authored Sep 11, 2024
1 parent 9446397 commit 27a338b
Show file tree
Hide file tree
Showing 12 changed files with 1,014 additions and 745 deletions.
319 changes: 159 additions & 160 deletions pkg/loop/internal/pb/contract_reader.pb.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/loop/internal/pb/contract_reader.proto
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ message BatchReadResult {

// Head is gRPC adapter for the Head struct [github.com/smartcontractkit/chainlink-common/pkg/types.ContractReader.Head].
message Head {
string identifier = 1;
string height = 1;
bytes hash = 2;
uint64 timestamp = 3;
}
Expand Down
Loading

0 comments on commit 27a338b

Please sign in to comment.