Skip to content

Commit

Permalink
MERC-6190: Remove bid/ask fields from Mercury v4 schema (#736)
Browse files Browse the repository at this point in the history
* Remove bid/ask fields from Mercury v4 schema

* Add back deleted fields as deprecated
  • Loading branch information
martin-cll authored Sep 3, 2024
1 parent 54e825b commit 6488292
Show file tree
Hide file tree
Showing 8 changed files with 135 additions and 141 deletions.
83 changes: 44 additions & 39 deletions pkg/loop/internal/pb/mercury/v4/datasource_v4.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/loop/internal/pb/mercury/v4/datasource_v4.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ message Block {
// Observation is a gRPC adapter for [pkg/types/mercury/v1/Observation]
message Observation {
BigInt benchmarkPrice = 1;
BigInt bid = 2;
BigInt ask = 3;
BigInt bid = 2 [deprecated=true]; // Field not used for v4.
BigInt ask = 3 [deprecated=true]; // Field not used for v4.
int64 maxFinalizedTimestamp = 4;
BigInt linkPrice = 5;
BigInt nativePrice = 6;
Expand Down
Loading

0 comments on commit 6488292

Please sign in to comment.