Skip to content

Commit

Permalink
feat!: return full verification contract from `AcirComposer::get_soli…
Browse files Browse the repository at this point in the history
…dity_verifier` (#3735)
  • Loading branch information
TomAFrench committed Dec 19, 2023
1 parent f1b9a74 commit bd5614c
Show file tree
Hide file tree
Showing 3 changed files with 2,586 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "barretenberg/plonk/proof_system/verification_key/sol_gen.hpp"
#include "barretenberg/plonk/proof_system/verification_key/verification_key.hpp"
#include "barretenberg/srs/factories/crs_factory.hpp"
#include "contract.hpp"

namespace acir_proofs {

Expand Down Expand Up @@ -158,7 +159,7 @@ std::string AcirComposer::get_solidity_verifier()
{
std::ostringstream stream;
output_vk_sol(stream, verification_key_, "UltraVerificationKey");
return stream.str();
return stream.str() + CONTRACT_SOURCE;
}

/**
Expand Down

0 comments on commit bd5614c

Please sign in to comment.