Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
chore(acvm)!: Backend trait must implement Debug (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored May 9, 2023
1 parent 0e71aac commit 3288b4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion acvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use acir::{
native_types::{Expression, Witness},
BlackBoxFunc,
};
use core::fmt::Debug;
use std::collections::BTreeMap;
use thiserror::Error;

Expand Down Expand Up @@ -52,7 +53,10 @@ pub enum OpcodeResolutionError {
BlackBoxFunctionFailed(BlackBoxFunc, String),
}

pub trait Backend: SmartContract + ProofSystemCompiler + PartialWitnessGenerator + Default {}
pub trait Backend:
SmartContract + ProofSystemCompiler + PartialWitnessGenerator + Default + Debug
{
}

/// This component will generate the backend specific output for
/// each OPCODE.
Expand Down

0 comments on commit 3288b4c

Please sign in to comment.