Skip to content

Commit

Permalink
chore(avm): use lookup by clk for sha params (#11762)
Browse files Browse the repository at this point in the history
Please read [contributing guidelines](CONTRIBUTING.md) and remove this line.
  • Loading branch information
fcarreiro authored Feb 5, 2025
1 parent 435a0af commit b003567
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.

This file was deleted.

3 changes: 1 addition & 2 deletions barretenberg/cpp/src/barretenberg/vm2/tracegen_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "barretenberg/vm2/tracegen/lib/lookup_builder.hpp"
#include "barretenberg/vm2/tracegen/lib/lookup_into_bitwise.hpp"
#include "barretenberg/vm2/tracegen/lib/lookup_into_indexed_by_clk.hpp"
#include "barretenberg/vm2/tracegen/lib/lookup_into_sha256_params.hpp"
#include "barretenberg/vm2/tracegen/lib/permutation_builder.hpp"
#include "barretenberg/vm2/tracegen/precomputed_trace.hpp"
#include "barretenberg/vm2/tracegen/sha256_trace.hpp"
Expand Down Expand Up @@ -199,7 +198,7 @@ TraceContainer AvmTraceGenHelper::generate_trace(EventsContainer&& events)
std::make_unique<LookupIntoIndexedByClk<lookup_bitw_byte_operations_lookup_settings>>(),
std::make_unique<LookupIntoIndexedByClk<lookup_bitw_byte_lengths_lookup_settings>>(),
std::make_unique<LookupIntoIndexedByClk<lookup_bytecode_to_read_unary_lookup_settings>>(),
std::make_unique<LookupIntoSha256Params<lookup_sha256_round_constant_lookup_settings>>());
std::make_unique<LookupIntoIndexedByClk<lookup_sha256_round_constant_lookup_settings>>());
AVM_TRACK_TIME("tracegen/interactions",
parallel_for(jobs_interactions.size(), [&](size_t i) { jobs_interactions[i]->process(trace); }));
}
Expand Down

0 comments on commit b003567

Please sign in to comment.