Skip to content

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

Open
nchamo wants to merge 3 commits into
merge-train/fairies-v5from
nchamo/fix-oracle-entries
Open

fix(txe): correct AVM oracle registry types for call and success_copy#24203
nchamo wants to merge 3 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

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.

1 participant