-
Notifications
You must be signed in to change notification settings - Fork 302
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
ibc: audit fixes #4386
ibc: audit fixes #4386
Conversation
@@ -142,6 +142,14 @@ pub trait ClientUpgradeProofVerifier: StateReadExt { | |||
.get_verified_consensus_state(&trusted_client_state.latest_height(), client_id) | |||
.await?; | |||
|
|||
// check that the client is not expired | |||
let now = HI::get_block_timestamp(&self).await?; |
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.
nice, something to flag is that i noticed the other host chain interface methods are not used (or rust-analyzer
can't seem to find them)
crates/core/component/ibc/src/component/msg_handler/connection_open_ack.rs
Show resolved
Hide resolved
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.
Looks good, just have a few questions which could be good to answer here for posterity
We believe that this PR may resolve a lingering blocker for interchaintest, where timeouts were not being handled properly. Let's include this for Testnet 76 (#4402), so downstream can consume it, and press on with the testing integration. Before I mash the merge button, @avahowell could you respond to @cronokirby's comments above? It'd be helpful to have the narrative when we refer back to this changeset. |
Describe your changes
This PR contains a set of fixes for the higher sev issues from the recent audit of the penumbra-ibc codebase, that are specific to the state machine side of things (as opposed to
ibc-types
, there will be a follow up PR for ibc-types and a new release for the relevant fixes there).Checklist before requesting a review
closes #4421
closes #4420
closes #4419
closes #4418