use crate::prelude::*; use sp_runtime_interface::runtime_interface; #[runtime_interface] pub trait Api { fn say(msg: &str) { unreachable!() } fn walk( sim_id: SimId, entity_id: EntityId, direction: Direction, ) -> Result, SimError> { unreachable!() } }