diff --git a/Cargo.toml b/Cargo.toml index 82dfb708..bc3b08c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,6 +59,9 @@ alloy = { version = "=1.0.11", features = [ "arbitrary", ] } alloy-contract = { version = "=1.0.11", features = ["pubsub"] } +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 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, 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}"), } } }