Skip to content

Commit

Permalink
Delete WORKTODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
codygunton committed Nov 21, 2024
1 parent 570f70a commit efd306a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ std::string vk_to_json(std::vector<bb::fr> const& data)
return format("[", join(map(rotated, [](auto fr) { return format("\"", fr, "\""); })), "]");
}

// WORKTODO: delete?
std::string honk_vk_to_json(std::vector<bb::fr>& data)
{
return format("[", join(map(data, [](auto fr) { return format("\"", fr, "\""); })), "]");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ TEST_F(IvcRecursionConstraintTest, GenerateVK)
// Construct kernel consisting only of the kernel completion logic
AcirProgram program = construct_mock_kernel_program(ivc.verification_queue, { num_app_public_inputs });
Builder kernel = acir_format::create_kernel_circuit(program.constraints, ivc);
// WORKTODO: this would normally happen in accumulate()
// Note that this would normally happen in accumulate()
kernel.add_pairing_point_accumulator(stdlib::recursion::init_default_agg_obj_indices<Builder>(kernel));

auto proving_key = std::make_shared<DeciderProvingKey_<MegaFlavor>>(kernel, trace_settings);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,6 @@ class MegaExecutionTraceBlocks : public MegaTraceBlockData<MegaTraceBlock> {
this->overflow.fixed_size = settings.overflow_capacity;
}

// WORKTODO: use or remove
MegaExecutionTraceBlocks(const TraceSettings& settings)
: MegaExecutionTraceBlocks()
{
set_fixed_block_sizes(settings);
}

void compute_offsets(bool is_structured)
{
uint32_t offset = 1; // start at 1 because the 0th row is unused for selectors for Honk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ class CircuitSimulatorBN254 {
static constexpr size_t UINT_LOG2_BASE = 2; // Would be 6 for UltraPlonk
static constexpr size_t DEFAULT_PLOOKUP_RANGE_BITNUM = 1028;

static constexpr size_t num_gates = 0; // WORKTODO: it was dumb to make this static.
// Should agree with what is in circuit builders
static constexpr uint32_t zero_idx = 0; // Ditto?
size_t num_gates = 0;
static constexpr uint32_t zero_idx = 0; // Should agree with what is in circuit builders
std::vector<FF> public_inputs;

void add_pairing_point_accumulator(const PairingPointAccumulatorIndices& proof_element_limbs)
Expand Down

0 comments on commit efd306a

Please sign in to comment.