-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check header and update state #1120
Conversation
…formalsystems/ibc-rs into Check-Header-And-Update-State
…formalsystems/ibc-rs into Check-Header-And-Update-State
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems almost ready, nice work Cezara!
Two questions:
- some tests are failing when I run locally
cargo test
, in particular
test ics02_client::handler::update_client::tests::test_update_client_ok ... FAILED
...
test ics02_client::handler::update_client::tests::test_update_client_ok_multiple ... FAILED
test ics26_routing::handler::tests::routing_module_and_keepers ... FAILED
test ics18_relayer::utils::tests::client_update_ping_pong ... FAILED
It seems that the cause is the newly added checks in the update client handler. Can you confirm that the tests are failing and see how we can fix them please?
- how do you think we should proceed with the code in
modules/src/ics07_tendermint/header.rs
which seems duplicating logic from tendermint-rs? Should we keep it there, or would it be better to work with the tendermint-rs team to adapt their interfaces, so that we avoid duplicating code?
I think we should sort this out in tendermint-rs directly and adapt the light client code so that we do not need to duplicate this code. |
Note: there is also duplicated code between |
We can remove the predicates.rs I put all In headers |
moved to PR verification update #1252 |
Closes: #XXX
Description
checkValidityAndUpdateState
in https://github.com/cosmos/ibc/tree/master/spec/client/ics-007-tendermint-clientFor contributor use:
docs/
) and code comments.Files changed
in the Github PR explorer.