Skip to content

Commit

Permalink
fix chain in proto
Browse files Browse the repository at this point in the history
  • Loading branch information
bukata-sa committed Jun 27, 2024
1 parent 6a5690d commit 3412162
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion core/services/headreporter/telemetry_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func (t *telemetryReporter) ReportNewHead(ctx context.Context, head *evmtypes.He
}
}
request := &telem.HeadReportRequest{
ChainId: head.EVMChainID.ToInt().Uint64(),
Latest: &telem.Block{
Timestamp: uint64(head.Timestamp.UTC().Unix()),
Number: uint64(head.Number),
Expand Down
2 changes: 0 additions & 2 deletions core/services/headreporter/telemetry_reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func Test_TelemetryReporter_NewHead(t *testing.T) {
},
}
requestBytes, err := proto.Marshal(&telem.HeadReportRequest{
ChainId: 100,
Latest: &telem.Block{
Timestamp: uint64(head.Timestamp.UTC().Unix()),
Number: 42,
Expand Down Expand Up @@ -111,7 +110,6 @@ func Test_TelemetryReporter_NewHeadMissingFinalized(t *testing.T) {
IsFinalized: false,
}
requestBytes, err := proto.Marshal(&telem.HeadReportRequest{
ChainId: 100,
Latest: &telem.Block{
Timestamp: uint64(head.Timestamp.UTC().Unix()),
Number: 42,
Expand Down

0 comments on commit 3412162

Please sign in to comment.