Skip to content

Commit

Permalink
fix: remove unintended tendermint-proto
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Sep 13, 2024
1 parent 80597b0 commit bd86220
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions ibc-clients/ics07-tendermint/types/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ use tendermint_light_client_verifier::Verdict;
pub enum TendermintClientError {
/// decoding error: `{0}`
Decoding(DecodingError),
/// identifier error: `{0}`
Identifier(IdentifierError),
/// invalid client state trust threshold: `{description}`
InvalidTrustThreshold { description: String },
/// invalid clock drift; must be greater than 0
Expand Down Expand Up @@ -56,7 +54,6 @@ pub enum TendermintClientError {
impl std::error::Error for TendermintClientError {
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
match &self {
Self::Identifier(e) => Some(e),
Self::Decoding(e) => Some(e),
_ => None,
}
Expand All @@ -75,7 +72,7 @@ impl From<TendermintClientError> for ClientError {

impl From<IdentifierError> for TendermintClientError {
fn from(e: IdentifierError) -> Self {
Self::Identifier(e)
Self::Decoding(DecodingError::Identifier(e))
}
}

Expand Down
3 changes: 0 additions & 3 deletions ibc-core/ics24-host/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ ibc-primitives = { workspace = true }
parity-scale-codec = { workspace = true, optional = true }
scale-info = { workspace = true, optional = true }

# cosmos dependencies
tendermint-proto = { workspace = true }

[dev-dependencies]
rstest = { workspace = true }
serde-json = { workspace = true }
Expand Down

0 comments on commit bd86220

Please sign in to comment.