Skip to content

Commit

Permalink
chore: updated blueprint to upstream commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fnieddu committed Jan 10, 2024
1 parent a62973d commit f152c12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/blueprint
Submodule blueprint updated 37 files
+6 −1 .github/workflows/run_tests.yml
+7 −93 include/nil/blueprint/blueprint/plonk/assignment_proxy.hpp
+26 −0 include/nil/blueprint/components/algebra/fields/plonk/addition.hpp
+26 −0 include/nil/blueprint/components/algebra/fields/plonk/division.hpp
+25 −0 include/nil/blueprint/components/algebra/fields/plonk/division_or_zero.hpp
+43 −0 include/nil/blueprint/components/algebra/fields/plonk/logic_and_flag.hpp
+45 −0 include/nil/blueprint/components/algebra/fields/plonk/logic_or_flag.hpp
+27 −0 include/nil/blueprint/components/algebra/fields/plonk/multiplication.hpp
+24 −0 include/nil/blueprint/components/algebra/fields/plonk/multiplication_by_constant.hpp
+105 −0 include/nil/blueprint/components/algebra/fields/plonk/non_native/addition.hpp
+52 −0 include/nil/blueprint/components/algebra/fields/plonk/non_native/bit_composition.hpp
+58 −0 include/nil/blueprint/components/algebra/fields/plonk/non_native/bit_decomposition.hpp
+148 −4 include/nil/blueprint/components/algebra/fields/plonk/non_native/comparison_flag.hpp
+1 −1 include/nil/blueprint/components/algebra/fields/plonk/non_native/detail/bit_builder_component.hpp
+50 −0 include/nil/blueprint/components/algebra/fields/plonk/non_native/division_remainder.hpp
+130 −0 include/nil/blueprint/components/algebra/fields/plonk/non_native/multiplication.hpp
+104 −0 include/nil/blueprint/components/algebra/fields/plonk/non_native/subtraction.hpp
+26 −0 include/nil/blueprint/components/algebra/fields/plonk/subtraction.hpp
+66 −0 include/nil/blueprint/components/hashes/sha2/plonk/decomposition.hpp
+81 −5 include/nil/blueprint/components/hashes/sha2/plonk/sha256.hpp
+319 −0 include/nil/blueprint/components/hashes/sha2/plonk/sha256_process.hpp
+1 −1 include/nil/blueprint/gate_id.hpp
+68 −31 include/nil/blueprint/utils/satisfiability_check.hpp
+6 −0 test/algebra/fields/plonk/field_operations.cpp
+2 −0 test/algebra/fields/plonk/logic_and_flag.cpp
+2 −0 test/algebra/fields/plonk/logic_or_flag.cpp
+2 −0 test/algebra/fields/plonk/non_native/addition.cpp
+3 −0 test/algebra/fields/plonk/non_native/bit_composition.cpp
+3 −0 test/algebra/fields/plonk/non_native/bit_decomposition.cpp
+3 −0 test/algebra/fields/plonk/non_native/comparison_flag.cpp
+3 −0 test/algebra/fields/plonk/non_native/division_remainder.cpp
+2 −0 test/algebra/fields/plonk/non_native/multiplication.cpp
+2 −0 test/algebra/fields/plonk/non_native/subtraction.cpp
+16 −8 test/hashes/plonk/decomposition.cpp
+8 −1 test/hashes/plonk/sha256.cpp
+13 −0 test/hashes/plonk/sha256_process.cpp
+91 −1 test/test_plonk_component.hpp
2 changes: 1 addition & 1 deletion mlir-assigner/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ int curve_dependent_main(std::string bytecode_file_name, std::string public_inpu
for (auto &it : parser_instance.circuits) {
ASSERT_MSG(assignment_it != parser_instance.assignments.end(), "Not found assignment for circuit");
assignment_it->set_check(true);
bool is_accessible = nil::blueprint::is_accessible(it, *assignment_it);
bool is_accessible = nil::blueprint::is_satisfied(it, *assignment_it);
assignment_it->set_check(false);
ASSERT_MSG(is_accessible,
("The circuit is not satisfied on prover " + std::to_string(it.get_id())).c_str());
Expand Down

0 comments on commit f152c12

Please sign in to comment.