Skip to content

bb: Investigate different proofs being created when proving key is not manually initilaised #3230

@Maddiaa0

Description

@Maddiaa0

Overview

As shown in #3215 bb will create failing proofs if the proving key is not initialised manually. There is a discrepancy between the init implementations and the create_proof init that should be lined up

As described by @charlielye

When calling prove_and_verify, we are always creating the circuit/pk with the witness data and flag not set. prove_and_verify is guaranteed not to fail in this regard. It's faster as it only builds the circuit once, but exposes us to this class of error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions