From 766c4a3dc84cea1369809ada8f78ce29a5dace4d Mon Sep 17 00:00:00 2001 From: evalir Date: Fri, 27 Jun 2025 18:01:10 +0200 Subject: [PATCH 1/4] chore: pin alloy-trie --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 82dfb708..d5f9b7f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,6 +59,7 @@ alloy = { version = "=1.0.11", features = [ "arbitrary", ] } alloy-contract = { version = "=1.0.11", features = ["pubsub"] } +alloy-trie = { version = "=0.8.0" } # Reth reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.3" } From c22bfd900eacb1f7ce60c0ea79b46d762fc5c5aa Mon Sep 17 00:00:00 2001 From: evalir Date: Fri, 27 Jun 2025 18:24:28 +0200 Subject: [PATCH 2/4] chore: pin bad alloy versions --- Cargo.toml | 4 +++- crates/constants/Cargo.toml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d5f9b7f4..bc3b08c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,9 @@ alloy = { version = "=1.0.11", features = [ "arbitrary", ] } alloy-contract = { version = "=1.0.11", features = ["pubsub"] } -alloy-trie = { version = "=0.8.0" } +alloy-trie = { version = "=0.8.1" } +alloy-genesis = { version = "=1.0.11" } +alloy-consensus = { version = "=1.0.11" } # Reth reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.4.3" } diff --git a/crates/constants/Cargo.toml b/crates/constants/Cargo.toml index 4cf46d00..5b81ac94 100644 --- a/crates/constants/Cargo.toml +++ b/crates/constants/Cargo.toml @@ -11,6 +11,10 @@ repository.workspace = true [dependencies] alloy.workspace = true +alloy-trie.workspace = true +alloy-genesis.workspace = true +alloy-consensus.workspace = true + serde.workspace = true serde_json.workspace = true thiserror.workspace = true From 023296782d26f810f6b1dda6257347def23b7726 Mon Sep 17 00:00:00 2001 From: evalir Date: Fri, 27 Jun 2025 18:29:14 +0200 Subject: [PATCH 3/4] chore: silence clippy --- crates/constants/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/constants/src/lib.rs b/crates/constants/src/lib.rs index 322fe700..aab0cecc 100644 --- a/crates/constants/src/lib.rs +++ b/crates/constants/src/lib.rs @@ -21,6 +21,10 @@ pub use chains::pecorino; #[cfg(any(test, feature = "test-utils"))] pub use chains::test_utils; +use alloy_consensus as _; +use alloy_genesis as _; +use alloy_trie as _; + mod types; pub use types::{ ConfigError, HostConstants, KnownChains, PairedHeights, ParseChainError, PermissionedToken, From ccc9e57dce3b459ace1226fb29e6993d8a79e4d1 Mon Sep 17 00:00:00 2001 From: evalir Date: Fri, 27 Jun 2025 19:03:09 +0200 Subject: [PATCH 4/4] chore: clippy --- crates/sim/src/item.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/sim/src/item.rs b/crates/sim/src/item.rs index 284c470a..af8caf91 100644 --- a/crates/sim/src/item.rs +++ b/crates/sim/src/item.rs @@ -108,8 +108,8 @@ pub enum SimIdentifier<'a> { impl core::fmt::Display for SimIdentifier<'_> { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { - Self::Bundle(id) => write!(f, "{}", id), - Self::Tx(id) => write!(f, "{}", id), + Self::Bundle(id) => write!(f, "{id}"), + Self::Tx(id) => write!(f, "{id}"), } } }