Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ func RunManagedMercuryOracle(

reportingPluginLimits := mercuryshim.ReportingPluginLimits(mercuryPluginInfo.Limits)

lims, err := limits.OCR3Limits(sharedConfig.PublicConfig, reportingPluginLimits, onchainKeyring.MaxSignatureLength())
lims, err := limits.OCR3Limits(sharedConfig.PublicConfig, reportingPluginLimits, ocr3OnchainKeyring.MaxSignatureLength())
if err != nil {
logger.Error("ManagedMercuryOracle: error during limits", commontypes.LogFields{
"error": err,
"publicConfig": sharedConfig.PublicConfig,
"reportingPluginLimits": reportingPluginLimits,
"maxSigLen": onchainKeyring.MaxSignatureLength(),
"maxSigLen": ocr3OnchainKeyring.MaxSignatureLength(),
})
return
}
Expand All @@ -157,7 +157,7 @@ func RunManagedMercuryOracle(
chTelemetrySend,
sharedConfig.ConfigDigest,
binNetEndpoint,
onchainKeyring.MaxSignatureLength(),
ocr3OnchainKeyring.MaxSignatureLength(),
childLogger,
reportingPluginLimits,
sharedConfig.N(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ func (repgen *reportGenerationState) messageObserveReq(msg MessageObserveReq, se
}

repgen.logger.Debug("sent observation to leader", commontypes.LogFields{
"round": repgen.followerState.r,
"observation": o,
"round": repgen.followerState.r,
})
repgen.netSender.SendTo(MessageObserve{
repgen.e,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,7 @@ func (repgen *reportGenerationState) messageReport(msg MessageReport, sender com
})
} else if !report.Skip && !msg.AttestedReport.Skip { // oracles may commonly disagree on whether to skip, no need to warn about that
repgen.logger.Warn("received disparate reports messages", commontypes.LogFields{
"round": repgen.leaderState.r,
"previousReport": report,
"round": repgen.leaderState.r,
})
}
}
Expand Down
3 changes: 2 additions & 1 deletion offchainreporting2plus/internal/ocr3/protocol/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ func callPlugin[T any](
maxDuration+ReportingPluginTimeoutWarningGracePeriod,
func() {
logger.MakeChild(logFields).Error(fmt.Sprintf("call to ReportingPlugin.%s is taking too long", name), commontypes.LogFields{
"maxDuration": maxDuration,
"maxDuration": maxDuration.String(),
"gracePeriod": ReportingPluginTimeoutWarningGracePeriod.String(),
})
},
)
Expand Down