Skip to content

Commit

Permalink
chore: track ibc-rs changes up to PR 1273 (#188)
Browse files Browse the repository at this point in the history
* chore: track changes in ibc-rs PR 1273

* chore: update ibc revision

* chore: update ibc revision to the head of main
  • Loading branch information
Farhad-Shabani authored Jul 12, 2024
1 parent 65c00d3 commit f245a16
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
55 changes: 28 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ tendermint-rpc = { version = "0.37", default-features = false }
tower-abci = { version = "0.14" }

[patch.crates-io]
ibc = { git = "https://github.com/cosmos/ibc-rs.git", rev = "5dc0b09" }
ibc-query = { git = "https://github.com/cosmos/ibc-rs.git", rev = "5dc0b09" }
ibc = { git = "https://github.com/cosmos/ibc-rs.git", rev = "e36015c" }
ibc-query = { git = "https://github.com/cosmos/ibc-rs.git", rev = "e36015c" }

# for tendermint 0.37
tower-abci = { git = "https://github.com/informalsystems/tower-abci", rev = "37d952e" }
3 changes: 1 addition & 2 deletions basecoin/modules/src/ibc/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,7 @@ where

fn commitment_prefix(&self) -> CommitmentPrefix {
use crate::context::prefix::Ibc as IbcPrefix;
CommitmentPrefix::try_from(IbcPrefix {}.identifier().as_bytes().to_vec())
.expect("empty prefix")
CommitmentPrefix::from(IbcPrefix {}.identifier().as_bytes().to_vec())
}

fn connection_counter(&self) -> Result<u64, ContextError> {
Expand Down

0 comments on commit f245a16

Please sign in to comment.