polytope-labs / ismp-substrate

Substrate implementation of the interoperable state machine protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create Consensus Client Extrinsic

Wizdave97 opened this issue · comments

Define the extrinsics we need in pallet-ismp
An extrinsic for handling request, response and consensus client update messages.
A permissioned extrinsic for creating consensus clients.

@omadoyeabraham limit this to just client creation

For this you'll need a companion PR in ismp-rust that adds a new field state_machine_commitments to the create consensus client message, this field is a list of intermediate states.

pub struct state_machine_commitments: Vec<IntermediateStates>