[ICS02] ClientStatePath
is not checked during client creation
#604
Labels
O: reliability
Objective: cause to improve trustworthiness and consistent performing
S: specs
Scope: related to IBC protocol specifications
Milestone
Problem Statment
The ICS02 specifies that for handling a client creation request, the process should check if the submitted
ClientState
already exists in theClientStatePath
!Note that an incorrect use of
SetClientState
can result in aClientState
being set to the same store as the one that is going to be set by aMsgCreateClient
.In IBC-go
GetClientState
method, but not used to perform this check. Instead they create an isolated store byStoreClient
for this purpose.Acceptance Criteria
Check
ClientStatePath
to ensure the receivedClientState
via aMsgCreateClient
does not existThe text was updated successfully, but these errors were encountered: