Skip to content

Commit

Permalink
known state machine (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege authored Apr 19, 2023
1 parent df0438f commit fec7654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fec7654

Please sign in to comment.