Skip to content

Commit

Permalink
fix: casting vk to rawbuffer before wasm so it reads from the correct…
Browse files Browse the repository at this point in the history
… offset (#10769)

quick fix for solidity contract
  • Loading branch information
signorecello authored Dec 17, 2024
1 parent abd2226 commit 6a5bcfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barretenberg/ts/src/barretenberg/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class UltraHonkBackend {
await this.instantiate();
const vkBuf =
vk ?? (await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive));
return await this.api.acirHonkSolidityVerifier(this.acirUncompressedBytecode, vkBuf);
return await this.api.acirHonkSolidityVerifier(this.acirUncompressedBytecode, new RawBuffer(vkBuf));
}

// TODO(https://github.com/noir-lang/noir/issues/5661): Update this to handle Honk recursive aggregation in the browser once it is ready in the backend itself
Expand Down

0 comments on commit 6a5bcfd

Please sign in to comment.