pub fn update_on_misbehaviour<E>(
client_state: &ClientState,
ctx: &mut E,
client_id: &ClientId,
_client_message: Any,
) -> Result<(), ClientError>where
E: ExtClientExecutionContext,
<E as ClientValidationContext>::ClientStateRef: From<ClientState>,Expand description
Commit a frozen client state, which was frozen as a result of having exhibited misbehaviour, to the store.
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.