Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: cannot use [AztecAddress; N] as a contract function parameter #6222

Closed
olehmisar opened this issue May 6, 2024 · 0 comments · Fixed by #6497
Closed

bug: cannot use [AztecAddress; N] as a contract function parameter #6222

olehmisar opened this issue May 6, 2024 · 0 comments · Fixed by #6497

Comments

@olehmisar
Copy link
Contributor

This fails to compile. [EthAddress; 1] would probably fail as well.

contract Main {
    use dep::aztec::prelude::AztecAddress;

    // change AztecAddress to Field to make it compile
    #[aztec(public)]
    fn my_fn(a: [AztecAddress; 1]) {}
}

Repro as a repository: https://github.com/ShieldSwap/nargo_aztec_address_args_repro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant