78 for (
auto [commitment, native_commitment] :
zip_view(this->get_all(), native_key->get_all())) {
79 commitment = Commitment::from_witness(
builder, native_commitment);
93 size_t num_frs_read = 0;
99 for (
Commitment& commitment : this->get_all()) {
100 commitment = deserialize_from_frs<Commitment>(
builder, elements, num_frs_read);
112 const std::span<const uint32_t> witness_indices)
114 std::vector<FF> vk_fields;
115 vk_fields.reserve(witness_indices.size());
116 for (
const auto& idx : witness_indices) {
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
Base Stdlib verification key class.
typename PrecomputedCommitments::DataType Commitment
A container encapsulating all the commitments that the verifier receives (to precomputed polynomials ...
The recursive counterpart to the "native" Ultra flavor.
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
VerificationKey(CircuitBuilder *builder, const std::shared_ptr< NativeVerificationKey > &native_key)
Construct a new Verification Key with stdlib types from a provided native verification key.
static VerificationKey from_witness_indices(CircuitBuilder &builder, const std::span< const uint32_t > witness_indices)
Construct a VerificationKey from a set of corresponding witness indices.
VerificationKey(CircuitBuilder &builder, std::span< FF > elements)
Deserialize a verification key from a vector of field elements.
The recursive counterpart to the "native" UltraRollupFlavor.
typename Curve::ScalarField FF
BuilderType CircuitBuilder
typename Curve::Element Commitment
typename Curve::Element GroupElement
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit.
static field_t from_witness_index(Builder *ctx, uint32_t witness_index)
static field_t from_witness(Builder *ctx, const bb::fr &input)
Base class templates for structures that contain data parameterized by the fundamental polynomials of...
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
field_t< CircuitBuilder > ScalarField