Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SyncWith:crypto3#89] Adding a dependency on block repository after duplicate files were removed from repos. #220

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading