Skip to content

feat: use warn_log_format for discarded messages#21053

Merged
nchamo merged 1 commit intomerge-train/fairiesfrom
feat/warn-on-discard-messages
Mar 3, 2026
Merged

feat: use warn_log_format for discarded messages#21053
nchamo merged 1 commit intomerge-train/fairiesfrom
feat/warn-on-discard-messages

Conversation

@nchamo
Copy link
Contributor

@nchamo nchamo commented Mar 3, 2026

Summary

  • Replace debug_log_format with warn_log_format for messages that are discarded during processing (undecryptable ciphertext, unrecognized reserved message type IDs, custom messages with no handler configured).
  • These are situations users should be aware of, so warn-level logging is more appropriate than debug.

Fixes F-360

@nchamo nchamo requested a review from nventuro as a code owner March 3, 2026 14:10
@nchamo nchamo self-assigned this Mar 3, 2026
@nchamo nchamo requested a review from mverzilli March 3, 2026 14:35
@nchamo nchamo merged commit 37ec17d into merge-train/fairies Mar 3, 2026
12 checks passed
@nchamo nchamo deleted the feat/warn-on-discard-messages branch March 3, 2026 16:00
github-merge-queue bot pushed a commit that referenced this pull request Mar 3, 2026
BEGIN_COMMIT_OVERRIDE
feat: allow custom addresses to be prefunded with fee juice in local
network (#21000)
docs(claude): add Noir early return idiom to CLAUDE.md (#21021)
feat: add compile-time size check for events and error code links
(#21024)
feat: use warn_log_format for discarded messages (#21053)
END_COMMIT_OVERRIDE
@AztecBot
Copy link
Collaborator

❌ Failed to cherry-pick to v4-next due to conflicts. (🤖) View backport run.

AztecBot added a commit that referenced this pull request Mar 13, 2026
Change aztecnr_debug_log_format to aztecnr_warn_log_format for unknown message
type IDs, so users are properly warned about discarded messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants