diff --git a/internal/evmreader/output.go b/internal/evmreader/output.go index 15ba3bf5a..abe9b67bc 100644 --- a/internal/evmreader/output.go +++ b/internal/evmreader/output.go @@ -18,7 +18,7 @@ func (r *EvmReader) checkForOutputExecution( mostRecentBlockNumber uint64, ) { - appAddresses := appToAddresses(apps) + appAddresses := appsToAddresses(apps) slog.Debug("Checking for new Output Executed Events", "apps", appAddresses) @@ -88,11 +88,13 @@ func (r *EvmReader) readAndUpdateOutputs( } if !bytes.Equal(output.RawData, event.Output) { - slog.Debug("Actual output differs from event's", + slog.Debug("Output mismatch", "app", app.ContractAddress, "index", event.OutputIndex, "actual", output.RawData, "event's", event.Output) - slog.Error("Output mismatch", "app", app.ContractAddress, "index", event.OutputIndex) + slog.Error("Output mismatch. Application is in an invalid state", + "app", app.ContractAddress, + "index", event.OutputIndex) return }