Mismatch of client type returned by ClientState
and ConsensusState
in 07-celestia
#6061
Labels
Milestone
ClientState
and ConsensusState
in 07-celestia
#6061
In the PR that adds a light client module for
07-celestia
we have temporarily disabled this check inValidateBasic
ofMsgCreateClient
because for this light client we have aClientState
implementation that returns "07-celestia" when callingClientType
, but we use Tendermint's implementation ofConsensusState
, whoseClientType
function returns "07-tendermint".Potential solutions discussed so far:
ValidateBasic
.ClientType
function fromConsensusState
if not really needed, then we can remove the check inValidateBasic
. Light client modules should make sure thatConsensusState
bytes unmarshal to the expected type.ConsensusState
type to07-celestia
that wraps Tendermint'sConsensusState
(in a similar way as it is done with theClientState
type).ref: #6053 (comment)
The text was updated successfully, but these errors were encountered: