Skip to content

Commit

Permalink
Fix milestone no-ack parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
avalkov committed Jan 3, 2025
1 parent 7fbf825 commit 63050a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions consensus/bor/bor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion consensus/bor/heimdall/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 63050a0

Please sign in to comment.