You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because trusted_next_validator_set is the next_validator_set of the header at the trusted height stored in the client state on the host. Semantically it is different than the submitted header's next_validator_set.
Details
We need to remove this condition. The correct condition is checked after validate_basic() in ClientState::verify_header().
Bug Summary
This check inside
Header::validate_basic
is not correctibc-rs/crates/ibc/src/clients/ics07_tendermint/header.rs
Line 129 in a2d10f1
Because
trusted_next_validator_set
is thenext_validator_set
of the header at the trusted height stored in the client state on the host. Semantically it is different than the submitted header'snext_validator_set
.Details
We need to remove this condition. The correct condition is checked after
validate_basic()
inClientState::verify_header()
.ibc-rs/crates/ibc/src/clients/ics07_tendermint/client_state/update_client.rs
Lines 35 to 42 in ccd6a97
ibc-rs/crates/ibc/src/clients/ics07_tendermint/client_state.rs
Lines 769 to 775 in a2d10f1
Version
>=0.40.0
The text was updated successfully, but these errors were encountered: