Skip to content

[BUG] Compilation of larger contract doesn't generate verification keys in version devnet.6-patch.1 #19769

@ewynx

Description

@ewynx

What are you trying to do?

We worked in version devnet.5 with 2 example contracts that both worked fine (they compiled and we were able to test them in TS script with local network). Updating to devnet.6-patch.1 the smaller contract still works fine, while for the larger contract it seems no verification keys get generated. (I'm calling them smaller and larger contract because that is a particular difference I know exists between the 2, but of course the error for the larger contract could be because of something else)

In previous version we ran

aztec-nargo compile
aztec-postprocess-contract

Now just

aztec compile

This runs without errors, but then when you try to use the artifact generated with aztec codegen -o src/artifacts target, it'll run into errors.

Code Reference

The smaller contract that works fine is here.

The larger contract that gives issues is here.

In this script we run tests using both contracts and you can see it will give errors for the larger contract. In this version of the script we commented out the calls that give issues, so you can see that the smaller contract works fine.

Aztec Version

devnet.6-patch.1

OS

MacOS

Browser (if relevant)

No response

Node Version

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bugType: Bug. Something is broken.from-communityThis originated from the community :)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions