Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Karrq committed Feb 5, 2025
1 parent e2d963b commit 334cb08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
13 changes: 3 additions & 10 deletions crates/verify/src/etherscan/flatten.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
use super::{zksync::EtherscanZksyncSourceProvider, EtherscanSourceProvider, VerifyArgs};
use crate::{
provider::VerificationContext,
zk_provider::{ZkVerificationContext, ZkVersion},
};
use super::{EtherscanSourceProvider, VerifyArgs};
use crate::provider::VerificationContext;
use eyre::{Context, Result};
use foundry_block_explorers::verify::CodeFormat;
use foundry_compilers::{
Expand All @@ -12,13 +9,9 @@ use foundry_compilers::{
solc::{SolcCompiler, SolcLanguage, SolcVersionedInput},
Compiler, CompilerInput,
},
solc::{CliSettings, Solc},
solc::Solc,
AggregatedCompilerOutput,
};
use foundry_zksync_compilers::compilers::zksolc::{
input::{ZkSolcInput, ZkSolcVersionedInput},
ZkSolc, ZkSolcCompiler,
};
use semver::{BuildMetadata, Version};
use std::path::Path;

Expand Down
3 changes: 1 addition & 2 deletions crates/verify/src/etherscan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ use foundry_block_explorers::{
};
use foundry_cli::utils::{get_provider, read_constructor_args_file, LoadConfig};
use foundry_common::{abi::encode_function_args, retry::RetryError};
use foundry_compilers::{artifacts::BytecodeObject, Artifact};
use foundry_config::{Chain, Config};
use foundry_evm::constants::DEFAULT_CREATE2_DEPLOYER;
use regex::Regex;
use semver::{BuildMetadata, Version};
use std::{fmt::Debug, sync::LazyLock};

mod zksync;
pub(self) use zksync::EtherscanZksyncSourceProvider;
use zksync::EtherscanZksyncSourceProvider;

mod flatten;

Expand Down

0 comments on commit 334cb08

Please sign in to comment.