Skip to content

feat: improve oracle name prefixes (backport #21101)#21135

Closed
AztecBot wants to merge 2 commits into
backport-to-v4-stagingfrom
claudebox/backport-21101-oracle-prefixes-v4
Closed

feat: improve oracle name prefixes (backport #21101)#21135
AztecBot wants to merge 2 commits into
backport-to-v4-stagingfrom
claudebox/backport-21101-oracle-prefixes-v4

Conversation

@AztecBot

@AztecBot AztecBot commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

Backport of #21101 to v4.

This adds the aztec namespace prefix to all oracles and shortens scope prefixes:

  • utilityaztec_utl_
  • privateaztec_prv_
  • avmOpcodeaztec_avm_
  • txeaztec_txe_

Conflict resolution: The cherry-pick had a conflict in private_execution_oracle.ts where v4 had refactored this.logthis.logger and had expandedScopes as a computed local variable. Resolved by keeping v4's this.logger and expandedScopes while applying the PR's other changes.

ClaudeBox log: http://ci.aztec-labs.com/f1db313a7121e735-1

nventuro and others added 2 commits March 4, 2026 19:29
Add `aztec` namespace prefix and shorten scope prefixes for oracle names:
- `utility` → `aztec_utl_`
- `private` → `aztec_prv_`
- `avmOpcode` → `aztec_avm_`
- `txe` → `aztec_txe_`

Strip prefixes from TS handler interfaces and implementations, keeping
them only at the ACIR boundary (Oracle class and RPCTranslator). Bump
ORACLE_VERSION to 13.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 4, 2026
@ludamad ludamad force-pushed the backport-to-v4-staging branch 2 times, most recently from 9221e1a to be9b609 Compare March 17, 2026 18:16
@AztecBot

Copy link
Copy Markdown
Collaborator Author

Automatically closing this stale claudebox draft PR (no updates for 5+ days). Re-open if still needed.

@AztecBot AztecBot closed this Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants