use super::{ifds_reach_step, OP_ID};
use vyre_primitives::graph::program_graph::ProgramGraphShape;
inventory::submit! {
vyre_harness::OpEntry::new(
OP_ID,
|| ifds_reach_step(ProgramGraphShape::new(4, 3), "fin", "fout"),
Some(|| {
let to_bytes = crate::dispatch_decode::pack_u32;
vec![vec![
to_bytes(&[0, 0, 0, 0]), to_bytes(&[0, 1, 2, 3, 3]), to_bytes(&[1, 2, 3]), to_bytes(&[1, 1, 1]), to_bytes(&[0, 0, 0, 0]), to_bytes(&[0b0001]), to_bytes(&[0b0001]), ]]
}),
Some(|| {
let to_bytes = crate::dispatch_decode::pack_u32;
vec![vec![to_bytes(&[0b0011])]]
}),
)
}
inventory::submit! {
vyre_harness::ConvergenceContract {
op_id: OP_ID,
max_iterations: 128,
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct Ifds;
impl crate::soundness::SoundnessTagged for Ifds {
fn soundness(&self) -> crate::soundness::Soundness {
crate::soundness::Soundness::MayOver
}
}