Skip to content

Commit 36829a9

Browse files
committed
fix(ev-deployer): resolve remaining clippy and rustfmt warnings
1 parent 3be382b commit 36829a9

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

bin/ev-deployer/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
55
use std::{collections::HashSet, path::Path};
66

77
/// Top-level deploy configuration.
8-
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
8+
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
99
pub struct DeployConfig {
1010
/// Chain configuration.
1111
pub chain: ChainConfig,
@@ -22,7 +22,7 @@ pub struct ChainConfig {
2222
}
2323

2424
/// All contract configurations.
25-
#[derive(Debug, Clone, Serialize, Deserialize, Default, PartialEq)]
25+
#[derive(Debug, Clone, Serialize, Deserialize, Default, PartialEq, Eq)]
2626
pub struct ContractsConfig {
2727
/// `AdminProxy` contract config (optional).
2828
pub admin_proxy: Option<AdminProxyConfig>,

bin/ev-deployer/src/deploy/pipeline.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ pub struct PipelineConfig {
2424
}
2525

2626
/// Run the full deploy pipeline.
27-
pub async fn run(
28-
pipeline_cfg: &PipelineConfig,
29-
deployer: &dyn ChainDeployer,
30-
) -> eyre::Result<()> {
27+
pub async fn run(pipeline_cfg: &PipelineConfig, deployer: &dyn ChainDeployer) -> eyre::Result<()> {
3128
// ── Step 1: Init ──
3229
eprintln!("[1/4] Connecting to RPC...");
3330
let chain_id = deployer.chain_id().await?;

bin/ev-deployer/src/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub struct InitParams {
77
pub chain_id: u64,
88
/// Whether to include Permit2 with its canonical address.
99
pub permit2: bool,
10-
/// Optional AdminProxy owner address.
10+
/// Optional `AdminProxy` owner address.
1111
pub admin_proxy_owner: Option<String>,
1212
}
1313

bin/ev-deployer/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
pub mod config;
77
pub mod contracts;
8+
/// CREATE2 deploy pipeline for live chain deployment.
89
pub mod deploy;
910
pub mod genesis;
1011
/// Dynamic config template generation for the `init` command.

0 commit comments

Comments
 (0)