#![no_main] use commonware_consensus::simplex::{elector::RoundRobin, scheme::ed25519}; use commonware_consensus_fuzz::{fuzz, FuzzInput, Simplex}; use commonware_cryptography::certificate::mocks::Fixture; use commonware_runtime::deterministic; use libfuzzer_sys::fuzz_target; struct SimplexEd25519; impl Simplex for SimplexEd25519 { type Scheme = ed25519::Scheme; type Elector = RoundRobin; fn fixture(context: &mut deterministic::Context, n: u32) -> Fixture { ed25519::fixture(context, n) } } fuzz_target!(|input: FuzzInput| { fuzz::(input); });