chore: backport #21080 — prefix aztec-nr contract logs with [aztec-nr]#21536
Merged
nchamo merged 10 commits intoMar 13, 2026
Merged
Conversation
## Summary - Lower `SLASH_INACTIVITY_TARGET_PERCENTAGE` from 0.8 to 0.7 - Disable `SLASH_DUPLICATE_PROPOSAL_PENALTY` and `SLASH_DUPLICATE_ATTESTATION_PENALTY` (set to 0) - Increase `SLASH_GRACE_PERIOD_L2_SLOTS` from 1200 to 8400 - Reduce `perBlockAllocationMultiplier` from 2 to 1.2 ## Test plan - Verify generated config files are updated after running `yarn generate` in relevant packages - Deploy to devnet/testnet and confirm slasher behavior matches new parameters --------- Co-authored-by: Aztec Bot <49558828+AztecBot@users.noreply.github.com>
This PR was created because merging `v4` into `v4-next` resulted in conflicts. Please resolve the conflicts and merge this PR to keep `v4-next` up to date. This PR was auto-generated by the `pull-v4-into-v4-next` workflow.
ecf1b56 to
b56ebca
Compare
…nr] (with conflicts)
- CLAUDE.md: keep file (deleted in v4-next, modified in source) since logging guidelines are relevant - process_message.nr: use aztecnr prefixed logging while keeping v4-next's simpler structure (no custom message handling)
b56ebca to
3c03d98
Compare
nchamo
approved these changes
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backport of #21080 to v4-next.
Adds a
loggingmodule with comptime wrappers that prepend[aztec-nr]to all log messages at compile time. All existing call sites are updated to use the new prefixed functions.Conflicts resolved
aztecnr_prefixed logging functions while keeping v4-next's simpler structure (single else clause for unknown message types instead of the custom message handler logic onnext).Note on GitHub diff
GitHub's PR diff may show 3 unrelated files (
spartan/environments/network-defaults.yml,deploy_method.test.ts,gossip_network.test.ts). These are not changed by this PR — they are a GitHub display artifact from the merge commit at v4-next's tip (ddcc584155). The actual diff (git diff origin/v4-next..HEAD) only includes the 9 noir files.Commit structure