Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
zbuc committed Apr 5, 2024
1 parent 1839810 commit 5910393
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ tiny-bip39 = "1.0.0"
tiny-keccak = { version = "2.0.2", default-features = false }
tokio = "1.3"
tokio-stream = "0.1.14"
tokio-util = { version = "0.7" }
toml = "0.8.8"
tonic = "0.10"
tracing = { version = "0.1.36", default-features = false }
Expand Down
1 change: 1 addition & 0 deletions crates/relayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ tiny-bip39 = { workspace = true }
tiny-keccak = { workspace = true, features = ["keccak"] }
tokio = { workspace = true, features = ["rt-multi-thread", "time", "sync"] }
tokio-stream = { workspace = true }
tokio-util = { workspace = true }
toml = { workspace = true }
tonic = { workspace = true, features = ["tls", "tls-roots"] }
tracing = { workspace = true }
Expand Down
5 changes: 3 additions & 2 deletions crates/relayer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ pub enum EventSourceMode {
// below when adding a new chain type.
#[derive(Clone, Debug, PartialEq, Serialize)]
#[serde(tag = "type")]
#[allow(clippy::large_enum_variant)]
pub enum ChainConfig {
CosmosSdk(CosmosSdkConfig),
Astria(CosmosSdkConfig), // TODO: if the config is the cometbft config, it's the same
Expand Down Expand Up @@ -781,8 +782,8 @@ impl ChainConfig {
.get(channel_id)
.map(|seqs| Cow::Borrowed(seqs.as_slice()))
.unwrap_or_else(|| Cow::Owned(Vec::new())),
Self::Penumbra(config) => todo!(),
Self::Astria(config) => todo!(),
Self::Penumbra(_config) => todo!(),
Self::Astria(_config) => todo!(),
}
}

Expand Down

0 comments on commit 5910393

Please sign in to comment.