Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
translator_fixed_vk.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: Planned, auditors: [], commit: }
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7#pragma once
10
11namespace bb {
12
25
26 // Precomputed VK hash (hash of the commitment below). Update via TranslatorTests::FixedVK if commitments change.
27 static FF vk_hash() { return FF(uint256_t("0x281228e56fbfb62a424c94bda780104c9b5e758b8a02f148ce5e98c2867fdfc1")); }
28
29 static std::vector<Commitment> get_all()
30 {
31 return {
32 // ordered_extra_range_constraints_numerator (the only non-computable precomputed selector)
33 Commitment(uint256_t("0x1ddbff0e1f0999f88ffa959e9505e5f489b57d6a7937c17a4d69fc871d5e9221"),
34 uint256_t("0x14149055853422bf016065386e8ea0ffb9425b454048e1cd14cfdca457aa7e17")),
35 };
36 }
37};
38
39} // namespace bb
typename Group::affine_element AffineElement
Definition bn254.hpp:22
bb::fr ScalarField
Definition bn254.hpp:18
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
Stores the fixed Translator VK commitment that depends only on the circuit size constant CONST_TRANSL...
curve::BN254::AffineElement Commitment
static std::vector< Commitment > get_all()