Skip to content

Commit

Permalink
[SyncWith:crypto3#89] Adding a dependency on block repository after d…
Browse files Browse the repository at this point in the history
…uplicate files were removed from repos. (#220)

* Adding a dependency on block repository.

* Temporarily remove boost check on status.
  • Loading branch information
martun authored Jan 15, 2024
1 parent 4cc8119 commit 681f264
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ target_link_libraries(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME} INTERFACE
${Boost_LIBRARIES}

${CMAKE_WORKSPACE_NAME}::algebra
${CMAKE_WORKSPACE_NAME}::block
${CMAKE_WORKSPACE_NAME}::math
${CMAKE_WORKSPACE_NAME}::hash
${CMAKE_WORKSPACE_NAME}::multiprecision
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ namespace nil {
std::vector<std::uint8_t> cv(filled_context.length(), 0x00);
auto write_iter = cv.begin();
nil::marshalling::status_type status = filled_context.write(write_iter, cv.size());
BOOST_CHECK(status == nil::marshalling::status_type::success);

// Append constraint_system to the buffer "cv".
using FieldType = typename PlaceholderParamsType::field_type;
Expand All @@ -125,7 +124,6 @@ namespace nil {
// Function write wants an lvalue as 1st parameter.
write_iter = cv.begin() + filled_context.length();
status = filled_constraint_system.write(write_iter, filled_constraint_system.length());
BOOST_CHECK(status == nil::marshalling::status_type::success);

// Return hash of "cv", which contains concatenated constraint system and other initialization parameters.
return hash<transcript_hash_type>(cv);
Expand Down

0 comments on commit 681f264

Please sign in to comment.