There's no way to get an ultrahonk verification key through `UltraHonkBackend`
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:
- Spin up another instance of barretenberg
- base64 decode and decompress their bytecode before passing it to
acirWriteVkUltraHonk - Know that they need to wrap the response in a
RawBufferand pass it toacirVkAsFieldsUltraHonk
What should be simple then requires copying out bb.js internals and multiple function calls.
Does UltraHonkBackend::getVerificationKey not work for this purpose?
This returns a Uint8Array but in order to feed this into a circuit I need to get the verification key as fields. I don't know offhand how to decompose the binary representation into fields.
generateProofForRecursiveAggregation() got removed in 13217. This method used to return proof and VK in fields which we were able to feed in to nargo.execute() of the recursive circuit IIRC.
I think we need to bring it back.
@saleel Is this something you're able to support us on?