Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
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
4 changes: 3 additions & 1 deletion acvm_backend_barretenberg/src/acvm_interop/smart_contract.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
use common::acvm::SmartContract;
use common::crs::G2;
use common::ULTRA_VERIFIER_CONTRACT;

use crate::Barretenberg;

/// Embed the Solidity verifier file
const ULTRA_VERIFIER_CONTRACT: &str = include_str!("contract.sol");

#[cfg(feature = "native")]
impl SmartContract for Barretenberg {
fn eth_contract_from_vk(&self, verification_key: &[u8]) -> String {
Expand Down
4 changes: 0 additions & 4 deletions common/src/contract.rs

This file was deleted.

3 changes: 0 additions & 3 deletions common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,3 @@ pub mod proof;

// Re-export acvm
pub use acvm;

/// Embed the Solidity verifier file
pub const ULTRA_VERIFIER_CONTRACT: &str = include_str!("contract.sol");