Skip to content

Commit dc4f039

Browse files
Tracks ibc-rs PR #939, #941, #949 (#143)
* chore: track ibc-rs pr939 * chore: tracks ibc-rs changes in pr941 * chore: update Hermes version to v1.7.0 * update rev * deps: update ibc rev + bump ibc-proto-rs to v0380 * deps: bump ibc rev --------- Co-authored-by: Ranadeep Biswas <[email protected]>
1 parent 7318332 commit dc4f039

File tree

9 files changed

+18
-17
lines changed

9 files changed

+18
-17
lines changed

Cargo.lock

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ derive_more = { version = "0.99.17", default-features = false, features = ["from
1414
ed25519 = { version = "2.1.0", default-features = false }
1515
ibc = "0.47.0"
1616
ibc-query = "0.47.0"
17-
ibc-proto = { version = "0.37.1", default-features = false }
17+
ibc-proto = { version = "0.38.0", default-features = false }
1818
ics23 = { version = "0.11", default-features = false }
1919
prost = { version = "0.12", default-features = false }
2020
serde = "1.0"
@@ -25,3 +25,7 @@ tendermint-abci = "0.34"
2525
tendermint-proto = "0.34"
2626
tendermint-rpc = "0.34"
2727
tracing = "0.1.26"
28+
29+
[patch.crates-io]
30+
ibc = { git = "https://github.com/cosmos/ibc-rs" , rev = "527bb14" }
31+
ibc-query = { git = "https://github.com/cosmos/ibc-rs" , rev = "527bb14" }

ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG COMETBFT_VERSION=0.37.1
22
ARG GAIA_VERSION=6.0.0
3-
ARG HERMES_VERSION=1.4.0
3+
ARG HERMES_VERSION=1.7.0
44
ARG RUST_VERSION=1.65
55

66
FROM cometbft/cometbft:v${COMETBFT_VERSION} AS cometbft

crates/app/src/modules/auth/account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl Account for AuthAccount {
5555
}
5656
}
5757

58-
impl ibc_proto::protobuf::Protobuf<BaseAccount> for AuthAccount {}
58+
impl ibc_proto::Protobuf<BaseAccount> for AuthAccount {}
5959

6060
impl TryFrom<BaseAccount> for AuthAccount {
6161
type Error = String;

crates/app/src/modules/bank/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::types::error::Error;
22

33
use basecoin_store::types::Path;
4-
use ibc_proto::{cosmos::base::v1beta1::Coin as ProtoCoin, protobuf::Protobuf};
4+
use ibc_proto::{cosmos::base::v1beta1::Coin as ProtoCoin, Protobuf};
55

66
use cosmrs::{AccountId, Coin as MsgCoin};
77
use primitive_types::U256;

crates/app/src/modules/gov/impls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use ibc::hosts::tendermint::upgrade_proposal::upgrade_client_proposal_handler;
1616
use ibc::hosts::tendermint::upgrade_proposal::UpgradeProposal;
1717
use ibc_proto::cosmos::gov::v1beta1::query_server::QueryServer;
1818
use ibc_proto::google::protobuf::Any;
19-
use ibc_proto::protobuf::Protobuf;
19+
use ibc_proto::Protobuf;
2020

2121
use cosmrs::AccountId;
2222
use std::fmt::Debug;

crates/app/src/modules/gov/msg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use displaydoc::Display;
33
use ibc_proto::cosmos::gov::v1beta1::MsgSubmitProposal as RawMsgSubmitProposal;
44
use ibc_proto::cosmos::gov::v1beta1::ProposalStatus;
55
use ibc_proto::google::protobuf::Any;
6-
use ibc_proto::protobuf::Protobuf;
6+
use ibc_proto::Protobuf;
77

88
use crate::modules::bank::util::Coin;
99
use crate::types::error::Error;

crates/app/src/modules/gov/proposal.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use ibc_proto::cosmos::gov::v1beta1::Proposal as RawProposal;
44
use ibc_proto::cosmos::gov::v1beta1::ProposalStatus;
55
use ibc_proto::cosmos::gov::v1beta1::TallyResult;
66
use ibc_proto::google::protobuf::{Any, Timestamp};
7-
use ibc_proto::protobuf::Protobuf;
7+
use ibc_proto::Protobuf;
88

99
use super::error::Error;
1010
use crate::modules::bank::util::Coin;
@@ -107,7 +107,7 @@ impl From<Proposal> for Any {
107107
fn from(value: Proposal) -> Self {
108108
Self {
109109
type_url: TYPE_URL.to_string(),
110-
value: Protobuf::<RawProposal>::encode_vec(&value),
110+
value: Protobuf::<RawProposal>::encode_vec(value),
111111
}
112112
}
113113
}

crates/app/src/modules/upgrade/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use ibc::hosts::tendermint::upgrade_proposal::Plan;
22
use ibc_proto::cosmos::upgrade::v1beta1::Plan as RawPlan;
3-
use ibc_proto::protobuf::Protobuf;
3+
use ibc_proto::Protobuf;
44
use tendermint_rpc::{Client, HttpClient};
55

66
use super::path::UpgradePlanPath;

0 commit comments

Comments
 (0)