Skip to content

Contract functions require both #[macro] and #['macro] attributes #9243

@TomAFrench

Description

@TomAFrench

Since the last sync #9242 we've had to duplicate all the macros to explicitly tag that the function has had a macro applied to it. This is because noir-lang/noir#6235 changed how we do attributes so they must be prefixed with a ' in order for the attribute to be reflected in the custom_attributes field within the build artifact.

In order to fix this we can have the functional macros add the tags themselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bugType: Bug. Something is broken.team-fairiesNico's team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions