Skip to content

Commit

Permalink
Debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
avalkov committed Jan 3, 2025
1 parent 8ceff9a commit 75f685f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 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 Expand Up @@ -1448,6 +1450,7 @@ func getUpdatedValidatorSet(oldValidatorSet *valset.ValidatorSet, newVals []*val
v := oldValidatorSet
oldVals := v.Validators

log.Error("Old Validator Set", "oldVals", fmt.Sprintf("%+v", oldVals), "newVals", fmt.Sprintf("%+v", newVals))
changes := make([]*valset.Validator, 0, len(oldVals))

for _, ov := range oldVals {
Expand Down

0 comments on commit 75f685f

Please sign in to comment.