chore: rename simulateUtility -> executeUtility#20572
Merged
benesjan merged 1 commit intomerge-train/fairiesfrom Feb 17, 2026
Merged
chore: rename simulateUtility -> executeUtility#20572benesjan merged 1 commit intomerge-train/fairiesfrom
benesjan merged 1 commit intomerge-train/fairiesfrom
Conversation
Collaborator
Flakey Tests🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry. |
mverzilli
approved these changes
Feb 17, 2026
Contributor
mverzilli
left a comment
There was a problem hiding this comment.
When I see we found happier names 😁
When I think of the slop accusations 😭
Fixes https://linear.app/aztec-labs/issue/F-285/renames-simulateutility-executeutility ## Summary - Renames `simulateUtility` to `executeUtility` across the entire codebase (TypeScript, Noir, TXE oracle layers) - Renames `UtilitySimulationResult` to `UtilityExecutionResult` - Renames associated types: `SimulateUtilityOpts` → `ExecuteUtilityOpts`, `SimulateUtilityOptions` → `ExecuteUtilityOptions` - Renames Noir functions: `simulate_utility_function` → `execute_utility_function`, `env.simulate_utility()` → `env.execute_utility()` - Renames TXE oracle: `txeSimulateUtilityFunction` → `txeExecuteUtilityFunction` - Updates all jsdoc comments and log messages to reflect the new terminology Utility functions are executed, not simulated — this rename makes the terminology consistent: `simulateTx` simulates transactions, while `executeUtility` executes utility (unconstrained) functions. ## Test plan - [ ] Existing unit tests pass (renamed test names and assertions updated) - [ ] TypeScript compilation succeeds across all affected packages - [ ] Noir contract tests compile and pass with renamed `execute_utility` calls 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1e8a4b5 to
1f5b442
Compare
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 18, 2026
BEGIN_COMMIT_OVERRIDE chore: reverting accidental de-macroifycation of AuthRegistry (#20532) docs: add delayedpublicmutable apiref, fix misc docs (#20512) chore: rename simulateUtility -> executeUtility (#20572) fix: enable contract debug logs in `aztec test` (#20580) chore: merging next to merge-train/fairies (#20622) END_COMMIT_OVERRIDE
Collaborator
|
❌ Failed to cherry-pick to |
AztecBot
added a commit
that referenced
this pull request
Feb 26, 2026
The cherry-pick of PR #20572 (simulateUtility -> executeUtility rename) conflicted in private_voting_contract/src/test/first.nr because v4 had already renamed simulate_utility to view_public for public view functions. get_tally is a #[external("public")] #[view] function, so the correct method to call it on v4 is view_public (for public static calls), not execute_utility (for utility/unconstrained functions). This restores the correct v4 behavior.
AztecBot
added a commit
that referenced
this pull request
Feb 26, 2026
2 tasks
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.
Fixes https://linear.app/aztec-labs/issue/F-285/renames-simulateutility-executeutility
Summary
simulateUtilitytoexecuteUtilityacross the entire codebase (TypeScript, Noir, TXE oracle layers)UtilitySimulationResulttoUtilityExecutionResultSimulateUtilityOpts→ExecuteUtilityOpts,SimulateUtilityOptions→ExecuteUtilityOptionssimulate_utility_function→execute_utility_function,env.simulate_utility()→env.execute_utility()txeSimulateUtilityFunction→txeExecuteUtilityFunctionUtility functions are executed, not simulated — this rename makes the terminology consistent:
simulateTxsimulates transactions, whileexecuteUtilityexecutes utility (unconstrained) functions.Test plan
execute_utilitycalls🤖 Generated with Claude Code