Skip to content
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

Release Hermes v1.8.3 #4005

Merged
merged 4 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix the trusted height consensus state query when submitting the double vote evidence
([\#3999](https://github.com/informalsystems/hermes/issues/3999))
1 change: 1 addition & 0 deletions .changelog/v1.8.3/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This patch release fixes a bug that may happen prevent the relayer from submitting the evidence for a duplicate vote in some cases.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG

## v1.8.3

*May 28th, 2024*

This patch release fixes a bug that may happen prevent the relayer from submitting the evidence for a duplicate vote in some cases.

### BUG FIXES

- [Relayer CLI](relayer-cli)
- Fix the trusted height consensus state query when submitting the double vote evidence
([\#3999](https://github.com/informalsystems/hermes/issues/3999))

## v1.8.2

*March 12th, 2024*
Expand Down
16 changes: 8 additions & 8 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 crates/chain-registry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-chain-registry"
version = "0.27.2"
version = "0.27.3"
edition = "2021"
license = "Apache-2.0"
keywords = ["cosmos", "ibc", "relayer", "chain", "registry"]
Expand All @@ -12,7 +12,7 @@ description = """
"""

[dependencies]
ibc-relayer-types = { version = "0.27.2", path = "../relayer-types" }
ibc-relayer-types = { version = "0.27.3", path = "../relayer-types" }
ibc-proto = { version = "0.42.0", features = ["serde"] }
tendermint-rpc = { version = "0.34.0", features = ["http-client", "websocket-client"] }

Expand Down
12 changes: 6 additions & 6 deletions crates/relayer-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-relayer-cli"
version = "1.8.2"
version = "1.8.3"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -25,11 +25,11 @@ telemetry = ["ibc-relayer/telemetry", "ibc-telemetry"]
rest-server = ["ibc-relayer-rest"]

[dependencies]
ibc-relayer-types = { version = "0.27.2", path = "../relayer-types" }
ibc-relayer = { version = "0.27.2", path = "../relayer" }
ibc-telemetry = { version = "0.27.2", path = "../telemetry", optional = true }
ibc-relayer-rest = { version = "0.27.2", path = "../relayer-rest", optional = true }
ibc-chain-registry = { version = "0.27.2" , path = "../chain-registry" }
ibc-relayer-types = { version = "0.27.3", path = "../relayer-types" }
ibc-relayer = { version = "0.27.3", path = "../relayer" }
ibc-telemetry = { version = "0.27.3", path = "../telemetry", optional = true }
ibc-relayer-rest = { version = "0.27.3", path = "../relayer-rest", optional = true }
ibc-chain-registry = { version = "0.27.3" , path = "../chain-registry" }

clap = { version = "3.2", features = ["cargo"] }
clap_complete = "3.2"
Expand Down
7 changes: 4 additions & 3 deletions crates/relayer-cli/src/commands/evidence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,12 @@ fn submit_duplicate_vote_evidence(
// ie. retrieve the consensus state at the highest height smaller than the infraction height.
//
// Note: The consensus state heights are sorted in increasing order.
let consensus_state_heights =
chain.query_consensus_state_heights(QueryConsensusStateHeightsRequest {
let consensus_state_heights = counterparty_chain_handle.query_consensus_state_heights(
QueryConsensusStateHeightsRequest {
client_id: counterparty_client_id.clone(),
pagination: Some(PageRequest::all()),
})?;
},
)?;

// Retrieve the consensus state at the highest height smaller than the infraction height.
let consensus_state_height_before_infraction_height = consensus_state_heights
Expand Down
7 changes: 0 additions & 7 deletions crates/relayer-cli/src/commands/query/packet/commitment.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use abscissa_core::clap::Parser;
use serde::Serialize;
use subtle_encoding::{Encoding, Hex};

use ibc_relayer::chain::handle::ChainHandle;
Expand All @@ -13,12 +12,6 @@ use crate::conclude::{exit_with_unrecoverable_error, Output};
use crate::error::Error;
use crate::prelude::*;

#[derive(Serialize, Debug)]
struct PacketSeqs {
height: Height,
seqs: Vec<u64>,
}

#[derive(Clone, Command, Debug, Parser, PartialEq, Eq)]
pub struct QueryPacketCommitmentCmd {
#[clap(
Expand Down
6 changes: 3 additions & 3 deletions crates/relayer-rest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-relayer-rest"
version = "0.27.2"
version = "0.27.3"
authors = ["Informal Systems <hello@informal.systems>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -14,8 +14,8 @@ description = """
"""

[dependencies]
ibc-relayer-types = { version = "0.27.2", path = "../relayer-types" }
ibc-relayer = { version = "0.27.2", path = "../relayer" }
ibc-relayer-types = { version = "0.27.3", path = "../relayer-types" }
ibc-relayer = { version = "0.27.3", path = "../relayer" }

crossbeam-channel = "0.5"
serde = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-rest/tests/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async fn version() {

let rest_api_version = VersionInfo {
name: "ibc-relayer-rest".to_string(),
version: "0.27.2".to_string(),
version: "0.27.3".to_string(),
};

let result: JsonResult<_, ()> = JsonResult::Success(vec![version.clone(), rest_api_version]);
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-relayer-types"
version = "0.27.2"
version = "0.27.3"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand Down
8 changes: 4 additions & 4 deletions crates/relayer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-relayer"
version = "0.27.2"
version = "0.27.3"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -21,8 +21,8 @@ telemetry = ["ibc-telemetry"]

[dependencies]
ibc-proto = { version = "0.42.0", features = ["serde"] }
ibc-telemetry = { version = "0.27.2", path = "../telemetry", optional = true }
ibc-relayer-types = { version = "0.27.2", path = "../relayer-types", features = ["mocks"] }
ibc-telemetry = { version = "0.27.3", path = "../telemetry", optional = true }
ibc-relayer-types = { version = "0.27.3", path = "../relayer-types", features = ["mocks"] }

subtle-encoding = "0.5"
humantime-serde = "1.1.1"
Expand Down Expand Up @@ -110,7 +110,7 @@ version = "0.34.0"
default-features = false

[dev-dependencies]
ibc-relayer-types = { version = "0.27.2", path = "../relayer-types", features = ["mocks"] }
ibc-relayer-types = { version = "0.27.3", path = "../relayer-types", features = ["mocks"] }
serial_test = "3.0.0"
env_logger = "0.11.1"
test-log = { version = "0.2.14", features = ["trace"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//!
//! For the IBC relayer binary, please see [Hermes] (`ibc-relayer-cli` crate).
//!
//! [Hermes]: https://docs.rs/ibc-relayer-cli/1.8.2/
//! [Hermes]: https://docs.rs/ibc-relayer-cli/1.8.3/

extern crate alloc;

Expand Down
4 changes: 2 additions & 2 deletions crates/telemetry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-telemetry"
version = "0.27.2"
version = "0.27.3"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -13,7 +13,7 @@ description = """
"""

[dependencies]
ibc-relayer-types = { version = "0.27.2", path = "../relayer-types" }
ibc-relayer-types = { version = "0.27.3", path = "../relayer-types" }

once_cell = "1.19.0"
opentelemetry = { version = "0.19.0", features = ["metrics"] }
Expand Down
2 changes: 1 addition & 1 deletion guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mdBook is a utility to create modern online books from Markdown files.
This guide should be permanently deployed at its latest stable version at
[hermes.informal.systems](https://hermes.informal.systems).

Current version: `v1.8.2`.
Current version: `v1.8.3`.

The version of this guide is aligned with the [versioning of the ibc crates](../README.md).

Expand Down
2 changes: 1 addition & 1 deletion tools/integration-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-integration-test"
version = "0.27.2"
version = "0.27.3"
edition = "2021"
rust-version = "1.71"
license = "Apache-2.0"
Expand Down
8 changes: 4 additions & 4 deletions tools/test-framework/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-test-framework"
version = "0.27.2"
version = "0.27.3"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -14,9 +14,9 @@ description = """
"""

[dependencies]
ibc-relayer-types = { version = "=0.27.2", path = "../../crates/relayer-types" }
ibc-relayer = { version = "=0.27.2", path = "../../crates/relayer" }
ibc-relayer-cli = { version = "=1.8.2", path = "../../crates/relayer-cli" }
ibc-relayer-types = { version = "=0.27.3", path = "../../crates/relayer-types" }
ibc-relayer = { version = "=0.27.3", path = "../../crates/relayer" }
ibc-relayer-cli = { version = "=1.8.3", path = "../../crates/relayer-cli" }
ibc-proto = { version = "0.42.0", features = ["serde"] }
tendermint-rpc = { version = "0.34.0", features = ["http-client", "websocket-client"] }

Expand Down
Loading