Skip to content

Commit

Permalink
chore(deps): update ibc-proto and tendermint dependencies (#1192)
Browse files Browse the repository at this point in the history
* update ibc-proto to 0.43.0

* update tendermint to 0.35.0

* update tonic for ibc-proto

* changelog entry

* boxing large elements in enum variants

* update cargo lockfiles
  • Loading branch information
rnbguy authored Apr 24, 2024
1 parent 74208d0 commit ee7f671
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 55 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update `ibc-proto` to v0.43.0 and `tendermint` dependencies to v0.35.0.
([#1171](https://github.com/cosmos/ibc-rs/issues/1171))
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ ibc-client-wasm-types = { version = "0.51.0", path = "./ibc-clients/ics08-
ibc-app-transfer-types = { version = "0.51.0", path = "./ibc-apps/ics20-transfer/types", default-features = false }
ibc-app-nft-transfer-types = { version = "0.51.0", path = "./ibc-apps/ics721-nft-transfer/types", default-features = false }

ibc-proto = { version = "0.42.2", default-features = false }
ibc-proto = { version = "0.43.0", default-features = false }

# cosmos dependencies
tendermint = { version = "0.34.0", default-features = false }
tendermint-light-client = { version = "0.34.0", default-features = false }
tendermint-light-client-verifier = { version = "0.34.0", default-features = false }
tendermint-proto = { version = "0.34.0", default-features = false }
tendermint-rpc = { version = "0.34.0", default-features = false }
tendermint-testgen = { version = "0.34.0", default-features = false }
tendermint = { version = "0.35.0", default-features = false }
tendermint-light-client = { version = "0.35.0", default-features = false }
tendermint-light-client-verifier = { version = "0.35.0", default-features = false }
tendermint-proto = { version = "0.35.0", default-features = false }
tendermint-rpc = { version = "0.35.0", default-features = false }
tendermint-testgen = { version = "0.35.0", default-features = false }

# cosmwasm dependencies
### Note: Kept at the following version to match the CosmWasm module version
Expand Down
47 changes: 18 additions & 29 deletions ci/cw-check/Cargo.lock

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

30 changes: 18 additions & 12 deletions ci/no-std-check/Cargo.lock

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

8 changes: 4 additions & 4 deletions ci/no-std-check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ resolver = "2"

[dependencies]
ibc = { path = "../../ibc", default-features = false, features = ["serde"] }
ibc-proto = { version = "0.42.2", default-features = false, features = [
ibc-proto = { version = "0.43", default-features = false, features = [
"parity-scale-codec",
"borsh",
"serde",
] }
tendermint = { version = "0.34", default-features = false }
tendermint-proto = { version = "0.34", default-features = false }
tendermint-light-client-verifier = { version = "0.34", default-features = false, features = ["rust-crypto"] }
tendermint = { version = "0.35", default-features = false }
tendermint-proto = { version = "0.35", default-features = false }
tendermint-light-client-verifier = { version = "0.35", default-features = false, features = ["rust-crypto"] }

sp-core = { version = "28.0.0", default-features = false, optional = true }
sp-io = { version = "30.0.0", default-features = false, optional = true }
Expand Down
6 changes: 4 additions & 2 deletions ibc-clients/ics07-tendermint/types/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub enum Error {
/// not enough trust because insufficient validators overlap: `{reason}`
NotEnoughTrustedValsSigned { reason: VotingPowerTally },
/// verification failed: `{detail}`
VerificationError { detail: LightClientErrorDetail },
VerificationError { detail: Box<LightClientErrorDetail> },
/// Processed time or height for the client `{client_id}` at height `{height}` not found
UpdateMetaDataNotFound { client_id: ClientId, height: Height },
/// The given hash of the validators does not matches the given hash in the signed header. Expected: `{signed_header_validators_hash}`, got: `{validators_hash}`
Expand Down Expand Up @@ -137,7 +137,9 @@ impl IntoResult<(), Error> for Verdict {
match self {
Verdict::Success => Ok(()),
Verdict::NotEnoughTrust(reason) => Err(Error::NotEnoughTrustedValsSigned { reason }),
Verdict::Invalid(detail) => Err(Error::VerificationError { detail }),
Verdict::Invalid(detail) => Err(Error::VerificationError {
detail: Box::new(detail),
}),
}
}
}
2 changes: 1 addition & 1 deletion ibc-query/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ description = """
displaydoc = { version = "0.2", default-features = false }
schemars = { workspace = true , optional = true }
serde = { workspace = true, optional = true }
tonic = "0.10"
tonic = { version = "0.11" }

# ibc dependencies
ibc = { workspace = true }
Expand Down

0 comments on commit ee7f671

Please sign in to comment.