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

Noir bad example (Field and "bytes") #11

Open
skaunov opened this issue Oct 22, 2024 · 0 comments · Fixed by noir-lang/noir#6419
Open

Noir bad example (Field and "bytes") #11

skaunov opened this issue Oct 22, 2024 · 0 comments · Fixed by noir-lang/noir#6419

Comments

@skaunov
Copy link
Contributor

skaunov commented Oct 22, 2024

Issue Description

A particular bad example at https://noir-lang.org/docs/dev/noir/concepts/data_types/fields#to_be_bytes. It has u64 and "bits" when wanted Field and "bytes".

Project Context

any

Challenge: any

GitHub Repository: Noir lang monorepo

Environment

Aztec Version: any

Noir Version (if applicable): dev

Operating System: any

Steps to Reproduce

just read the docs

Expected Behavior

Field and "bytes" in the example.

Actual Behavior

It has u64 and "bits".

Code Snippet

// If applicable, add a minimal code snippet that demonstrates the issue

Error Messages

// If applicable, paste any error messages or logs here

Additional Context

image

Possible Solution

If you have any ideas on how to solve this, please share them here:

Impact on Development

it doesn't

Support Needed

none

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 a pull request may close this issue.

1 participant