Skip to content

Commit f96a677

Browse files
authoredDec 19, 2023
feat!: return full verification contract from AcirComposer::get_solidity_verifier (AztecProtocol#3735)
1 parent ac86630 commit f96a677

File tree

3 files changed

+2586
-2
lines changed

3 files changed

+2586
-2
lines changed
 

‎barretenberg/cpp/src/barretenberg/dsl/acir_proofs/acir_composer.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "barretenberg/plonk/proof_system/verification_key/sol_gen.hpp"
1010
#include "barretenberg/plonk/proof_system/verification_key/verification_key.hpp"
1111
#include "barretenberg/srs/factories/crs_factory.hpp"
12+
#include "contract.hpp"
1213

1314
namespace acir_proofs {
1415

@@ -158,7 +159,7 @@ std::string AcirComposer::get_solidity_verifier()
158159
{
159160
std::ostringstream stream;
160161
output_vk_sol(stream, verification_key_, "UltraVerificationKey");
161-
return stream.str();
162+
return stream.str() + CONTRACT_SOURCE;
162163
}
163164

164165
/**

0 commit comments

Comments
 (0)
Please sign in to comment.