From 63050a02a86fb09e45fe49d5192a9d967df880bb Mon Sep 17 00:00:00 2001 From: Angel Valkov Date: Fri, 3 Jan 2025 13:50:53 +0200 Subject: [PATCH] Fix milestone no-ack parsing --- consensus/bor/bor.go | 2 ++ consensus/bor/heimdall/client.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/consensus/bor/bor.go b/consensus/bor/bor.go index b98344b844..a49f770b93 100644 --- a/consensus/bor/bor.go +++ b/consensus/bor/bor.go @@ -1252,6 +1252,8 @@ func (c *Bor) FetchAndCommitSpan( for _, val := range response.SelectedProducers { producers = append(producers, val.MinimalVal()) } + + log.Error("Fetched span", "span", minSpan, "validators", validators, "producers", producers, "span", fmt.Sprintf("response: %+v", response)) } // check if chain id matches with Heimdall span diff --git a/consensus/bor/heimdall/client.go b/consensus/bor/heimdall/client.go index 9fccdd2e3a..627b005ea9 100644 --- a/consensus/bor/heimdall/client.go +++ b/consensus/bor/heimdall/client.go @@ -86,7 +86,7 @@ const ( fetchMilestoneCount = "/milestone/count" fetchLastNoAckMilestone = "/milestone/last-no-ack" - fetchNoAckMilestone = "/milestone/noAck/%s" + fetchNoAckMilestone = "/milestone/no-ack/%s" fetchMilestoneID = "/milestone/ID/%s" fetchSpanFormat = "bor/span/%d"