Skip to content

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

Draft
AztecBot wants to merge 2 commits intobackport-to-v4-stagingfrom
claudebox/backport-21101-oracle-prefixes-v4
Draft

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

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 4, 2026

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 from 4ff264b to 2d467c9 Compare March 12, 2026 22:29
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