Skip to content

There's no way to get an ultrahonk verification key through UltraHonkBackend #1337

Description

@TomAFrench

Currently it's impossible to get the verification key for a circuit from the backend without directly using the cbinds. This requires the user to:

  1. Spin up another instance of barretenberg
  2. base64 decode and decompress their bytecode before passing it to acirWriteVkUltraHonk
  3. Know that they need to wrap the response in a RawBuffer and pass it to acirVkAsFieldsUltraHonk

What should be simple then requires copying out bb.js internals and multiple function calls.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions