Skip to content

Commit

Permalink
Log merkleRoot in a human readable form (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara authored Sep 26, 2023
1 parent 238321f commit 4a06521
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/services/ocr2/plugins/ccip/commit_reporting_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package ccip
import (
"bytes"
"context"
"encoding/hex"
"fmt"
"math/big"
"sort"
Expand Down Expand Up @@ -496,7 +497,7 @@ func (r *CommitReportingPlugin) Report(ctx context.Context, epochAndRound types.
return false, nil, err
}
lggr.Infow("Report",
"merkleRoot", report.MerkleRoot,
"merkleRoot", hex.EncodeToString(report.MerkleRoot[:]),
"minSeqNr", report.Interval.Min,
"maxSeqNr", report.Interval.Max,
"tokenPriceUpdates", report.PriceUpdates.TokenPriceUpdates,
Expand Down

0 comments on commit 4a06521

Please sign in to comment.