Skip to content

Commit

Permalink
Clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Feb 4, 2025
1 parent 62382fe commit d410dd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/forge/bin/cmd/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ impl CreateArgs {
/// Executes the command to create a contract
pub async fn run(mut self) -> Result<()> {
let mut config = self.load_config()?;
let timeout = config.transaction_timeout;
// Install missing dependencies.
if install::install_missing_dependencies(&mut config) && config.auto_detect_remappings {
// need to re-configure here to also catch additional remappings
Expand Down
4 changes: 2 additions & 2 deletions crates/forge/bin/cmd/create/zksync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl CreateArgs {
project.find_contract_path(&self.contract.name)?
};

let config = self.build.try_load_config_emit_warnings()?;
let config = self.build.load_config()?;
let zk_project =
foundry_config::zksync::config_create_project(&config, config.cache, false)?;
let zk_compiler = ProjectCompiler::new().files([target_path.clone()]);
Expand Down Expand Up @@ -105,7 +105,7 @@ impl CreateArgs {
};

// Add arguments to constructor
let config = self.eth.try_load_config_emit_warnings()?;
let config = self.eth.load_config()?;
let provider = utils::get_provider_zksync(&config)?;
let params = match abi.constructor {
Some(ref v) => {
Expand Down

0 comments on commit d410dd2

Please sign in to comment.