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

Commit f206e94

Browse files
committed
Add recursive generator, update EVM verifier #39
1 parent b8550f3 commit f206e94

File tree

4 files changed

+796
-2
lines changed

4 files changed

+796
-2
lines changed

include/nil/blueprint/transpiler/evm_verifier_gen.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ namespace nil {
895895
reps["$LOOKUP_LIBRARY_CALL$"] = _use_lookups ? lookup_library_call :" //No lookups";
896896
reps["$TEST_NAME$"] = _test_name;
897897
reps["$MODULUS$"] = to_string(PlaceholderParams::field_type::modulus);
898-
reps["$VERIFICATION_KEY1$"] = "0x" + to_string(_common_data.vk.constraint_system_hash);
898+
reps["$VERIFICATION_KEY1$"] = "0x" + to_string(_common_data.vk.constraint_system_with_params_hash);
899899
reps["$VERIFICATION_KEY2$"] = "0x" + to_string(_common_data.vk.fixed_values_commitment);
900900
reps["$BATCHES_NUM$"] = _use_lookups ? "5" :"4";
901901
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

0 commit comments

Comments
 (0)