fix: nargo fmt for backported nested_utility tests#23117
Merged
Thunkar merged 2 commits intoMay 9, 2026
Conversation
ludamad
approved these changes
May 8, 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
CI3 on PR #23080 failed in the
noir-projects buildprepstep because the newnested_utility_contract/src/test.nr(added by the backport of #23064 — feat(txe) authorize cross-contract utility calls) wasn't formatted by v4-next's pinned nargo. Three statements were committed multi-line that v4-next'snargo fmt --checkwants on a single line.CI log: http://ci.aztec-labs.com/0ef270f34a64bc9b
Fix
Apply
nargo fmtexactly per the CI diff:same_contract_utility_call_from_private_succeeds: collapse thelet result: Field = env.call_private(...)to one line.cross_contract_utility_call_from_utility_denied_by_default: collapse theenv.execute_utility( ..., )to one line.cross_contract_utility_call_from_private_denied_by_default: collapse theenv.call_private( account, ..., )to one line.The two
*_with_authorizationtests already use multi-line because their bodies are too wide for one line — left unchanged.Test plan
prepstep (noir-projects build) once this lands onbackport-to-v4-next-staging.ClaudeBox log: https://claudebox.work/s/ea70ef48e7a85dfe?run=3