From 341216254cdc2b91a5742afa9dc4c4c22b4d0e0b Mon Sep 17 00:00:00 2001 From: Aleksandr Bukata Date: Thu, 27 Jun 2024 13:06:11 +0100 Subject: [PATCH] fix chain in proto --- core/services/headreporter/telemetry_reporter.go | 1 - core/services/headreporter/telemetry_reporter_test.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/core/services/headreporter/telemetry_reporter.go b/core/services/headreporter/telemetry_reporter.go index 084b66b09eb..241296a7e46 100644 --- a/core/services/headreporter/telemetry_reporter.go +++ b/core/services/headreporter/telemetry_reporter.go @@ -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), diff --git a/core/services/headreporter/telemetry_reporter_test.go b/core/services/headreporter/telemetry_reporter_test.go index 2f5cd3e1f72..ae067eb854e 100644 --- a/core/services/headreporter/telemetry_reporter_test.go +++ b/core/services/headreporter/telemetry_reporter_test.go @@ -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, @@ -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,