From f8929242943c8f1f070672bd96be38a577d89726 Mon Sep 17 00:00:00 2001 From: Iluvmagick Date: Fri, 9 Feb 2024 01:08:20 +0400 Subject: [PATCH] Fixed proof producer build (#288) --- .../placeholder/detail/transcript_initialization_context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nil/crypto3/zk/snark/systems/plonk/placeholder/detail/transcript_initialization_context.hpp b/include/nil/crypto3/zk/snark/systems/plonk/placeholder/detail/transcript_initialization_context.hpp index 853f1a992..0b8705341 100644 --- a/include/nil/crypto3/zk/snark/systems/plonk/placeholder/detail/transcript_initialization_context.hpp +++ b/include/nil/crypto3/zk/snark/systems/plonk/placeholder/detail/transcript_initialization_context.hpp @@ -113,7 +113,7 @@ namespace nil { std::vector 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); + BOOST_ASSERT(status == nil::marshalling::status_type::success); // Append constraint_system to the buffer "cv". using FieldType = typename PlaceholderParamsType::field_type;