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

Commit ce710d1

Browse files
committed
EVM verifier and recursive verifier gen updated #39
1 parent 5edca1d commit ce710d1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/nil/blueprint/transpiler/evm_verifier_gen.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ namespace nil {
898898
reps["$LOOKUP_LIBRARY_CALL$"] = _use_lookups ? lookup_library_call :" //No lookups";
899899
reps["$TEST_NAME$"] = _test_name;
900900
reps["$MODULUS$"] = to_string(PlaceholderParams::field_type::modulus);
901-
reps["$VERIFICATION_KEY1$"] = "0x" + to_string(_common_data.vk.constraint_system_hash);
901+
reps["$VERIFICATION_KEY1$"] = "0x" + to_string(_common_data.vk.constraint_system_with_params_hash);
902902
reps["$VERIFICATION_KEY2$"] = "0x" + to_string(_common_data.vk.fixed_values_commitment);
903903
reps["$BATCHES_NUM$"] = _use_lookups ? "5" :"4";
904904
reps["$EVAL_PROOF_OFFSET$"] = _use_lookups ? "0xa1" :"0x79";

include/nil/blueprint/transpiler/lpc_scheme_gen.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ namespace nil {
157157

158158
std::vector<std::uint8_t> init_blob = {};
159159
nil::crypto3::zk::transcript::fiat_shamir_heuristic_sequential<typename PlaceholderParams::transcript_hash_type> transcript(init_blob);
160-
transcript(common_data.vk.constraint_system_hash);
160+
transcript(common_data.vk.constraint_system_with_params_hash);
161161
transcript(common_data.vk.fixed_values_commitment);
162162
auto etha = transcript.template challenge<typename PlaceholderParams::field_type>();
163163

include/nil/blueprint/transpiler/recursive_verifier_generator.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ namespace nil {
370370

371371
out << "\t{\"array\":[" << std::endl;
372372
out << "\t\t" << generate_hash<typename PlaceholderParams::transcript_hash_type>(
373-
vk.constraint_system_hash
373+
vk.constraint_system_with_params_hash
374374
) << "," << std::endl;
375375
out << "\t\t" << generate_hash<typename PlaceholderParams::transcript_hash_type>(
376376
vk.fixed_values_commitment

0 commit comments

Comments
 (0)