Skip to content

[FEATURE] avoid multi-purposing FunctionCall in aztec.js #18789

@shiqicao

Description

@shiqicao

Problem Statement

FunctionCall is used for multiple purposes, it is used as an FFI type, which mirrors FunctionCall in Noir, also it is used to represent contract function call in SDK. FFI type is just a mirror type, don't use it for other purpose. The reason is that on Noir side it may change, also ideally FFI types can be auto generated. Before having a generator, one can manually create a noir type TS module which exposes all these FFI types.

Another reason is that the FunctionCall in Noir is just one implementation of account contract, user can completely not use FunctionCall.

Proposed Solution

No response

Example Use Case

No response

Alternative Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions