Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix circuit hash in join_split and add issue
Browse files Browse the repository at this point in the history
maramihali committed Dec 17, 2024
1 parent e96748e commit bd59758
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
@@ -884,6 +884,8 @@ void write_vk_for_ivc(const std::string& bytecodePath, const std::string& output
* @param witnessPath Path to the file containing the serialized witness
* @param outputPath Path to write toml file
*/
// TODO(https://github.com/AztecProtocol/barretenberg/issues/1172): update the flow to generate recursion inputs for
// double_verify_honk_proof as well
template <IsUltraFlavor Flavor>
void write_recursion_inputs_honk(const std::string& bytecodePath,
const std::string& witnessPath,
Original file line number Diff line number Diff line change
@@ -703,7 +703,7 @@ TEST_F(join_split_tests, test_0_input_notes_and_detect_circuit_change)
// The below part detects any changes in the join-split circuit
constexpr size_t DYADIC_CIRCUIT_SIZE = 1 << 16;

constexpr uint256_t CIRCUIT_HASH("0x9ffbbd2c3ebd45cba861d3da6f75e2f73c448cc5747c9e34b44d6bc8a90b4a9c");
constexpr uint256_t CIRCUIT_HASH("0xe833d0ffaa99f39ca31ef79ded0089b0ec614eb4a528c4e1c4af6221a003fa6e");

const uint256_t circuit_hash = circuit.hash_circuit();
// circuit is finalized now

0 comments on commit bd59758

Please sign in to comment.