Skip to content

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

@TomAFrench

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.

Metadata

Metadata

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