Skip to content

Commit

Permalink
Update penumbra deps to v80 (#48)
Browse files Browse the repository at this point in the history
Bumping the Penumbra dependencies to v0.80.x, specifically on the current main branch of the protocol repo. Ideally we'd tag a v0.80.10, containing fixes from penumbra-zone/penumbra#4905, but we haven't done that just yet.

Notably, the bump in Penumbra protocol deps will involve a schema change for the view database. I haven't tested locally yet, but I expect Hermes when upgraded to throw an error about the view schema mismatch. If and when that happens during interactive testing on the testnet, I'll make sure to document those errors so we can communicate the need to perform maintenance to operators.
  • Loading branch information
conorsch authored Dec 6, 2024
1 parent 2ed8bff commit 10f5880
Show file tree
Hide file tree
Showing 11 changed files with 1,463 additions and 1,371 deletions.
2,795 changes: 1,442 additions & 1,353 deletions Cargo.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ astria-sequencer-client = { git = "https://github.com/astriaorg/astria", rev = "
] }

# Penumbra dependencies.
penumbra-asset = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0" }
penumbra-custody = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0" }
penumbra-fee = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0" }
penumbra-ibc = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0" }
penumbra-keys = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0" }
penumbra-proto = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0", features = [
penumbra-asset = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e" }
penumbra-custody = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e" }
penumbra-fee = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e" }
penumbra-ibc = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e" }
penumbra-keys = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e" }
penumbra-proto = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e", features = [
"box-grpc",
"rpc",
] }
penumbra-transaction = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0", features = [
penumbra-transaction = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e", features = [
"download-proving-keys",
] }
penumbra-wallet = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0" }
penumbra-view = { git = "https://github.com/penumbra-zone/penumbra", tag = "v0.79.0" }
penumbra-wallet = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e" }
penumbra-view = { git = "https://github.com/penumbra-zone/penumbra", rev = "ac7abacc9bb09503d6fd6a396bc0b6850079084e" }
# Penumbra dependencies, specifically for Astria support. Renamespaced, to avoid conflicts with Penumbra support.
penumbra-ibc-astria = { git = "https://github.com/penumbra-zone/penumbra", package = "penumbra-ibc", tag = "v0.69.1" }
penumbra-proto-astria = { git = "https://github.com/penumbra-zone/penumbra", package = "penumbra-proto", tag = "v0.69.1", features = [
Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.77.1"
msrv = "1.79.0"
2 changes: 1 addition & 1 deletion crates/chain-registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "Apache-2.0"
keywords = ["cosmos", "ibc", "relayer", "chain", "registry"]
repository = "https://github.com/informalsystems/hermes"
authors = ["Informal Systems <[email protected]>"]
rust-version = "1.77.1"
rust-version = "1.79.0"
description = """
Service to fetch data from the chain-registry
"""
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords = ["blockchain", "consensus", "cosmos", "ibc", "tendermint"]
homepage = "https://hermes.informal.systems/"
repository = "https://github.com/informalsystems/hermes"
authors = ["Informal Systems <[email protected]>"]
rust-version = "1.77.1"
rust-version = "1.79.0"
description = """
Hermes is an IBC Relayer written in Rust
"""
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-rest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
keywords = ["ibc", "rest", "api", "cosmos", "tendermint"]
homepage = "https://hermes.informal.systems/"
repository = "https://github.com/informalsystems/hermes"
rust-version = "1.77.1"
rust-version = "1.79.0"
description = """
Rust implementation of a RESTful API server for Hermes
"""
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
keywords = ["blockchain", "consensus", "cosmos", "ibc", "tendermint"]
repository = "https://github.com/informalsystems/hermes"
authors = ["Informal Systems <[email protected]>"]
rust-version = "1.77.1"
rust-version = "1.79.0"
description = """
Implementation of the Inter-Blockchain Communication Protocol (IBC).
This crate comprises the main data structures and on-chain logic.
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version = "0.27.2"
edition = "2021"
rust-version = "1.77.1"
rust-version = "1.79.0"
description = """
Implementation of an IBC Relayer in Rust, as a library
"""
Expand Down
5 changes: 4 additions & 1 deletion crates/relayer/src/chain/penumbra/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,13 @@ impl ChainEndpoint for PenumbraChain {
}
};

// No support for custom registry.json files in Hermes yet.
let registry_path: Option<String> = None;
let svc = rt
.block_on(ViewServer::load_or_initialize(
view_file,
fvk,
registry_path,
&fvk,
config.grpc_addr.clone().into(),
))
.map_err(|e| Error::temp_penumbra_error(e.to_string()))?;
Expand Down
2 changes: 1 addition & 1 deletion crates/telemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
keywords = ["cosmos", "ibc", "relayer", "telemetry"]
repository = "https://github.com/informalsystems/hermes"
authors = ["Informal Systems <[email protected]>"]
rust-version = "1.77.1"
rust-version = "1.79.0"
description = """
Telemetry service for the Hermes IBC relayer
"""
Expand Down
2 changes: 1 addition & 1 deletion tools/integration-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "ibc-integration-test"
version = "0.27.2"
edition = "2021"
rust-version = "1.77.1"
rust-version = "1.79.0"
license = "Apache-2.0"
readme = "README.md"
keywords = ["blockchain", "consensus", "cosmos", "ibc", "tendermint"]
Expand Down

0 comments on commit 10f5880

Please sign in to comment.