Skip to content

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

@skaunov

Description

@skaunov

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

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