Function create_consensus_client

Source
pub fn create_consensus_client<T: Config>(message: CreateConsensusState)
Expand description

Create a consensus client, using a subjectively chosen consensus state. This can also be used to overwrite an existing consensus state. The dispatch origin for this call must be T::AdminOrigin.

Emits Event::ConsensusClientCreated if successful.

ยงWarning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::create_consensus_client.