Skip to content

Commit bd2fd0a

Browse files
committed
chore: update backend.ts
1 parent 4b7bb6d commit bd2fd0a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

barretenberg/cpp/src/barretenberg/bbapi/bbapi_shared.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ struct ProofSystemSettings {
9292
*/
9393
bool disable_zk = false;
9494

95-
// TODO
95+
// TODO(md): remove this once considered stable
9696
bool optimized_solidity_verifier = false;
9797

9898
MSGPACK_FIELDS(ipa_accumulation, oracle_hash_type, disable_zk, optimized_solidity_verifier);

barretenberg/ts/src/barretenberg/backend.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,13 @@ export class UltraHonkBackend {
7676

7777
private getProofSettingsFromOptions(
7878
options?: UltraHonkBackendOptions,
79-
): { ipaAccumulation: boolean; oracleHashType: string; disableZk: boolean } {
79+
): { ipaAccumulation: boolean; oracleHashType: string; disableZk: boolean, optimizedSolidityVerifier: boolean } {
8080
return {
8181
ipaAccumulation: false,
8282
oracleHashType: options?.keccak || options?.keccakZK ? 'keccak' : (options?.starknet || options?.starknetZK ? 'starknet' : 'poseidon2'),
8383
// TODO no current way to target non-zk poseidon2 hash
8484
disableZk: options?.keccak || options?.starknet ? true : false,
85+
optimizedSolidityVerifier: false,
8586
};
8687
}
8788

0 commit comments

Comments
 (0)