Skip to content

Commit

Permalink
Switch to turbo for dsl to work.
Browse files Browse the repository at this point in the history
  • Loading branch information
suyash67 committed Mar 13, 2023
1 parent 3af3974 commit 31f3896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/src/barretenberg/dsl/acir_format/pedersen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void create_pedersen_constraint(plonk::TurboComposer& composer, const PedersenCo
field_ct scalar_as_field = field_ct::from_witness_index(&composer, scalar);
scalars.push_back(scalar_as_field);
}
auto point = pedersen::commit(scalars);
auto point = pedersen_commitment::commit(scalars);

composer.assert_equal(point.x.witness_index, input.result_x);
composer.assert_equal(point.y.witness_index, input.result_y);
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/barretenberg/plonk/proof_system/constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ enum ComposerType {
// This variable sets the composer (TURBO or ULTRA) of the entire stdlib and rollup modules.
// To switch to using a new composer, only changing this variable should activate the new composer
// throughout the stdlib and circuits.
static constexpr uint32_t SYSTEM_COMPOSER = ComposerType::PLOOKUP;
static constexpr uint32_t SYSTEM_COMPOSER = ComposerType::TURBO;

namespace merkle {
enum HashType {
Expand Down

0 comments on commit 31f3896

Please sign in to comment.