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(AztecMacro): Error resolving ValueNote in empty contract #5131

Closed
Tracked by #5077
spalladino opened this issue Mar 11, 2024 · 1 comment
Closed
Tracked by #5077

bug(AztecMacro): Error resolving ValueNote in empty contract #5131

spalladino opened this issue Mar 11, 2024 · 1 comment
Assignees
Labels
T-bug Type: Bug. Something is broken.

Comments

@spalladino
Copy link
Collaborator

Given the following contract, where the use statement is needed because of #5130:

contract StatefulTest {
    use dep::aztec::prelude::{AztecAddress};

    #[aztec(private)]
    fn constructor() {
    }
}

With the following Nargo.toml dependencies:

[dependencies]
aztec = { path = "../../../aztec-nr/aztec" }
value_note = { path = "../../../aztec-nr/value-note" }

Compiling it fails with:

error: Could not resolve 'ValueNote' in path
@spalladino spalladino added the T-bug Type: Bug. Something is broken. label Mar 11, 2024
@github-project-automation github-project-automation bot moved this to Todo in A3 Mar 11, 2024
@LHerskind LHerskind changed the title Error resolving ValueNote in empty contract bug(AztecMacros): Error resolving ValueNote in empty contract Apr 15, 2024
@LHerskind LHerskind changed the title bug(AztecMacros): Error resolving ValueNote in empty contract bug(AztecMacro): Error resolving ValueNote in empty contract Apr 15, 2024
@Thunkar
Copy link
Contributor

Thunkar commented Apr 19, 2024

This was fixed in #5687 !

@Thunkar Thunkar closed this as completed Apr 19, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in A3 Apr 19, 2024
@Thunkar Thunkar self-assigned this Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: Bug. Something is broken.
Projects
Archived in project
Development

No branches or pull requests

2 participants