Open rnbguy opened 1 month ago
The following inequality should be >=
>=
https://github.com/cosmos/ibc-rs/blob/2378cd4ba45094b8ed856ff7dba5f1d0882f59ae/ibc-clients/ics07-tendermint/src/client_state/validation.rs#L224-L225
Considering the is_within_trust_period logic from tendermint-rs.
is_within_trust_period
tendermint-rs
To summarize, tendermint-rs expires a header at trusted_header_time + trusting_period. However, in ibc-rs, a header is active till trusted_header_time + trusting_period.
trusted_header_time + trusting_period
ibc-rs
The following inequality should be
>=
https://github.com/cosmos/ibc-rs/blob/2378cd4ba45094b8ed856ff7dba5f1d0882f59ae/ibc-clients/ics07-tendermint/src/client_state/validation.rs#L224-L225
Considering the
is_within_trust_period
logic fromtendermint-rs
.To summarize,
tendermint-rs
expires a header attrusted_header_time + trusting_period
. However, inibc-rs
, a header is active tilltrusted_header_time + trusting_period
.