diff --git a/src/host.rs b/src/host.rs index cd58a0ca1..9e0a4b093 100644 --- a/src/host.rs +++ b/src/host.rs @@ -33,7 +33,8 @@ use core::{str::FromStr, time::Duration}; use primitive_types::H256; pub trait ISMPHost { - fn host(&self) -> StateMachineId; + /// Must be a known state machine. + fn host_state_machine(&self) -> StateMachine; // Storage Read functions