[ICS07] try_from RawClientState
conversion should exclude ClientState::new
checks
#671
Milestone
RawClientState
conversion should exclude ClientState::new
checks
#671
Problem Statement
It is possible that
MsgUpgradeClient
contains a validClientState
, but it won't necessarily pass checks withinClientState::new()
when parsed fromAny
. E.g.trust_level
might be zero, see how Hermes creates theClientState
for an upgrade proposal.The ClientState validity checks for the upgrade_client must be done only after a
new_client_state
is built within theupdate_state_with_upgrade_client
processThe text was updated successfully, but these errors were encountered: