diff --git a/common/cf-guest/src/client/impls.rs b/common/cf-guest/src/client/impls.rs index 6b698e13..d5175f8b 100644 --- a/common/cf-guest/src/client/impls.rs +++ b/common/cf-guest/src/client/impls.rs @@ -270,7 +270,7 @@ where ctx.store_consensus_state( ibc::path::ClientConsensusStatePath::new( client_id.clone(), - 0, + 1, u64::from(self.latest_height), ), consensus_state.into(), diff --git a/common/cf-solana/src/client/impls.rs b/common/cf-solana/src/client/impls.rs index 4f0ab53c..7b82d837 100644 --- a/common/cf-solana/src/client/impls.rs +++ b/common/cf-solana/src/client/impls.rs @@ -188,7 +188,7 @@ where ctx.store_consensus_state( ibc::path::ClientConsensusStatePath::new( client_id.clone(), - 0, + 1, self.latest_slot.get(), ), consensus_state.into(),