From 77152ff25b02590990eacf3b49846cb8df341ba0 Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Mon, 23 Sep 2024 09:22:38 +0200 Subject: [PATCH] chore: format with latest nightly version --- crates/edr_evm/src/chain_spec.rs | 5 ++++- crates/edr_rpc_client/src/client.rs | 7 ++++--- crates/edr_rpc_eth/src/spec.rs | 5 ++++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/crates/edr_evm/src/chain_spec.rs b/crates/edr_evm/src/chain_spec.rs index 543e979b6..eaabf513b 100644 --- a/crates/edr_evm/src/chain_spec.rs +++ b/crates/edr_evm/src/chain_spec.rs @@ -46,6 +46,9 @@ impl ChainSpec for L1ChainSpec { } impl RpcSpec for L1ChainSpec { - type RpcBlock = ::RpcBlock where Data: Default + DeserializeOwned + Serialize; + type RpcBlock + = ::RpcBlock + where + Data: Default + DeserializeOwned + Serialize; type RpcTransaction = ::RpcTransaction; } diff --git a/crates/edr_rpc_client/src/client.rs b/crates/edr_rpc_client/src/client.rs index 9b2f5f9fe..178d48cf8 100644 --- a/crates/edr_rpc_client/src/client.rs +++ b/crates/edr_rpc_client/src/client.rs @@ -818,9 +818,10 @@ mod tests { } impl RpcMethod for TestMethod { - type Cacheable<'method> = CachedTestMethod<'method> - where - Self: 'method; + type Cacheable<'method> + = CachedTestMethod<'method> + where + Self: 'method; fn block_number_request() -> Self { Self::BlockNumber(()) diff --git a/crates/edr_rpc_eth/src/spec.rs b/crates/edr_rpc_eth/src/spec.rs index 66965f784..98fd5d687 100644 --- a/crates/edr_rpc_eth/src/spec.rs +++ b/crates/edr_rpc_eth/src/spec.rs @@ -20,6 +20,9 @@ pub trait GetBlockNumber { pub struct EthRpcSpec; impl RpcSpec for EthRpcSpec { - type RpcBlock = crate::block::Block where Data: Default + DeserializeOwned + Serialize; + type RpcBlock + = crate::block::Block + where + Data: Default + DeserializeOwned + Serialize; type RpcTransaction = crate::transaction::Transaction; }