cosmos / ibc-rs

Rust implementation of the Inter-Blockchain Communication (IBC) protocol.
Apache License 2.0
182 stars 73 forks source link

bug(ibc-core): client recovery logic does not copy the substitute client's consensus state #1196

Closed seanchen1991 closed 2 months ago

seanchen1991 commented 2 months ago

Bug Summary

The ICS-07 update_on_recovery logic only copies over the substitute client's client state, not its consensus state. The substitute's client state should be stored in the subject client's store as well.