Skip to content

Databus programs panic with MemoryInit block type must be Memory in Noir→R1CS compilation #408

@x-senpai-x

Description

@x-senpai-x

Description

Databus-style programs trigger a panic during Noir-to-R1CS compilation when they use calldata or returndata block types in memory initialization. Only Memory block type is accepted, which is more restrictive than ACIR's spec.

Details

Impact

Databus-oriented circuits (using calldata/returndata memory semantics) panic during the prepare step in r1cs-compiler.

Error: MemoryInit block type must be Memory

This prevents compiling and proving valid programs leveraging the expanded ACIR memory semantics.

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