Skip to content

Commit

Permalink
naming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
signorecello committed Nov 12, 2024
1 parent d12581a commit fc01af0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ WASM_EXPORT void acir_write_vk_ultra_honk(uint8_t const* acir_vec, bool const* r
*out = to_heap_buffer(to_buffer(vk));
}

WASM_EXPORT void honk_solidity_verifier(uint8_t const* acir_vec, uint8_t** out)
WASM_EXPORT void get_honk_solidity_verifier_vk(uint8_t const* acir_vec, uint8_t** out)
{
using DeciderProvingKey = DeciderProvingKey_<UltraFlavor>;
using VerificationKey = UltraFlavor::VerificationKey;
Expand Down
4 changes: 2 additions & 2 deletions barretenberg/ts/src/barretenberg_api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -593,11 +593,11 @@ export class BarretenbergApi {
return out[0];
}

async honkSolidityVerifier(acirVec: Uint8Array): Promise<string> {
async getHonkSolidityVerifier(acirVec: Uint8Array): Promise<string> {
const inArgs = [acirVec].map(serializeBufferable);
const outTypes: OutputType[] = [BufferDeserializer()];
const result = await this.wasm.callWasmExport(
'honk_solidity_verifier',
'get_honk_solidity_verifier_vk',
inArgs,
outTypes.map(t => t.SIZE_IN_BYTES),
);
Expand Down

0 comments on commit fc01af0

Please sign in to comment.