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

Remove FieldNote #5932

Closed
nventuro opened this issue Apr 22, 2024 · 0 comments · Fixed by #5959
Closed

Remove FieldNote #5932

nventuro opened this issue Apr 22, 2024 · 0 comments · Fixed by #5959
Assignees

Comments

@nventuro
Copy link
Contributor

FieldNote is not a 'real' note type in that it's an incomplete implementation of a barebones note not meant to be used in any real application, and it only exists for testing purposes. However its name leads to confusing as it makes users go 'oh this is a note that contains a field, neat', when they should really be using ValueNote. I'd advise against renaming ValueNote at this stage to minimize churn.

We should be able to mostly get rid of FieldNote, and create a TestNote type in places where we can't (e.g. TestContract) as part of that package, instead of it being its own seemingly legit package like ValueNote or AddressNote.

@nventuro nventuro self-assigned this Apr 22, 2024
nventuro added a commit that referenced this issue Apr 23, 2024
`TestContract` was its sole user, so I just created `TestNote` inside
that crate to replace it.

Closes #5932
AztecBot pushed a commit to AztecProtocol/aztec-nr that referenced this issue Apr 24, 2024
`TestContract` was its sole user, so I just created `TestNote` inside
that crate to replace it.

Closes AztecProtocol/aztec-packages#5932
superstar0402 added a commit to superstar0402/aztec-nr that referenced this issue Aug 16, 2024
`TestContract` was its sole user, so I just created `TestNote` inside
that crate to replace it.

Closes AztecProtocol/aztec-packages#5932
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