Skip to content

fix(txe): correct AVM oracle registry types for call and success_copy - #24203

Merged
nchamo merged 4 commits into
merge-train/fairies-v5from
nchamo/fix-oracle-entries
Jun 23, 2026
Merged

fix(txe): correct AVM oracle registry types for call and success_copy#24203
nchamo merged 4 commits into
merge-train/fairies-v5from
nchamo/fix-oracle-entries

Conversation

@nchamo

@nchamo nchamo commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix aztec_avm_call and aztec_avm_staticCall registry entries: removed incorrect returnType: ARRAY(FIELD) (the Noir oracles return void).
  • Fix aztec_avm_successCopy registry entry: changed returnType: FIELD to returnType: BOOL to match the Noir oracle's bool return.
  • Remove call_opcode, call_static_opcode, and success_copy_opcode from the generate_oracle_tests_excluding list so they now get serialization roundtrip tests.

@nchamo
nchamo requested a review from nventuro as a code owner June 19, 2026 18:02
@nchamo nchamo self-assigned this Jun 19, 2026
@nchamo
nchamo requested a review from vezenovm June 19, 2026 18:50
call(l2Gas: number, daGas: number, address: AztecAddress, argsLength: number, args: Fr[]): Promise<Fr[]>;
staticCall(l2Gas: number, daGas: number, address: AztecAddress, argsLength: number, args: Fr[]): Promise<Fr[]>;
successCopy(): Promise<Fr>;
call(l2Gas: number, daGas: number, address: AztecAddress, argsLength: number, args: Fr[]): Promise<void>;

@nchamo nchamo Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were incorrect all along, they just weren't being used

@nchamo
nchamo merged commit 9184d47 into merge-train/fairies-v5 Jun 23, 2026
12 checks passed
@nchamo
nchamo deleted the nchamo/fix-oracle-entries branch June 23, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants