Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
Remove init_blob from transcript initialization #255
Browse files Browse the repository at this point in the history
  • Loading branch information
ETatuzova committed Jan 5, 2024
1 parent d4f3c62 commit a420ecf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ namespace nil {
N_rows, table_description.usable_rows_amount, max_gates_degree, vk
);

transcript_type transcript(std::vector<std::uint8_t>({}));
transcript_type transcript;
transcript(vk.constraint_system_hash);
transcript(vk.fixed_values_commitment);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ namespace nil {
preprocessed_public_data.public_polynomial_table))

, _is_lookup_enabled(constraint_system.lookup_gates().size() > 0)
, transcript(std::vector<std::uint8_t>())
, transcript()
{
// 1. Add circuit definition to transcript
// transcript(short_description);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ namespace nil {
) {
// 1. Add circuit definition to transcript
// transcript(short_description);
std::vector<std::uint8_t> init_blob = {};
transcript::fiat_shamir_heuristic_sequential<transcript_hash_type> transcript(init_blob);
transcript::fiat_shamir_heuristic_sequential<transcript_hash_type> transcript;
transcript(preprocessed_public_data.common_data.vk.constraint_system_hash);
transcript(preprocessed_public_data.common_data.vk.fixed_values_commitment);

Expand Down

0 comments on commit a420ecf

Please sign in to comment.