Skip to content

Commit d84ed7d

Browse files
committed
fix: complete barretenberg aggregate initializers
1 parent 21e4521 commit d84ed7d

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

barretenberg/cpp/src/barretenberg/chonk/batch_verifier_types.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct VerifyRequest {
5757
uint64_t request_id = 0;
5858
uint32_t vk_index = 0; // Index into the VK list provided at start
5959
ChonkProof proof;
60-
std::chrono::steady_clock::time_point enqueue_time;
60+
std::chrono::steady_clock::time_point enqueue_time{};
6161
};
6262

6363
#ifndef __wasm__

barretenberg/cpp/src/barretenberg/commitment_schemes/commitment_key.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ template <class Curve> class CommitmentKey {
164164
}
165165
};
166166

167-
CommitBatch start_batch() { return CommitBatch{ this, {}, {} }; }
167+
CommitBatch start_batch() { return CommitBatch{ .key = this, .wires = {}, .labels = {}, .tail_polys = {} }; }
168168
};
169169

170170
} // namespace bb

barretenberg/cpp/src/barretenberg/crypto/merkle_tree/node_store/cached_content_addressed_tree_store.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ template <typename LeafValueType>
255255
ContentAddressedCachedTreeStore<LeafValueType>::ContentAddressedCachedTreeStore(std::string name,
256256
uint32_t levels,
257257
PersistedStoreType::SharedPtr dataStore)
258-
: forkConstantData_{ .name_ = (std::move(name)), .depth_ = levels }
258+
: forkConstantData_{ .name_ = (std::move(name)), .depth_ = levels, .initialized_from_block_ = std::nullopt }
259259
, dataStore_(dataStore)
260260
, cache_(levels)
261261
{
@@ -268,7 +268,7 @@ ContentAddressedCachedTreeStore<LeafValueType>::ContentAddressedCachedTreeStore(
268268
uint32_t levels,
269269
const block_number_t& referenceBlockNumber,
270270
PersistedStoreType::SharedPtr dataStore)
271-
: forkConstantData_{ .name_ = (std::move(name)), .depth_ = levels }
271+
: forkConstantData_{ .name_ = (std::move(name)), .depth_ = levels, .initialized_from_block_ = std::nullopt }
272272
, dataStore_(dataStore)
273273
, cache_(levels)
274274
{

barretenberg/cpp/src/barretenberg/stdlib_circuit_builders/plookup_tables/fixed_base/fixed_base.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ BasicTable table::generate_basic_fixed_base_table(BasicTableId id, size_t basic_
211211
is_small_table ? multitable_bits - bits_covered_by_previous_tables_in_multitable : BITS_PER_TABLE;
212212
const auto table_size = static_cast<size_t>(1ULL << table_bits);
213213

214-
BasicTable table{ .id = id, .table_index = basic_table_index, .use_twin_keys = false };
214+
BasicTable table;
215+
table.id = id;
216+
table.table_index = basic_table_index;
217+
table.use_twin_keys = false;
215218

216219
const auto& basic_table = fixed_base_tables()[multitable_index][table_index];
217220

0 commit comments

Comments
 (0)