initialise

Function initialise 

Source
pub fn initialise<E>(
    client_state: &ClientState,
    ctx: &mut E,
    client_id: &ClientId,
    consensus_state: Any,
) -> Result<(), ClientError>
Expand description

Seed the host store with initial client and consensus states.

Note that this function is typically implemented as part of the ClientStateExecution trait, but has been made a standalone function in order to make the ClientState APIs more flexible.