Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
TucksonDev committed Sep 22, 2024
1 parent 4ca5138 commit 81f2797
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/e2e/src/deploy.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::path::Path;
use alloy::{rpc::types::TransactionReceipt, sol_types::SolConstructor};
use koba::config::Deploy;
use std::path::Path;

use crate::project::Crate;

Expand Down Expand Up @@ -46,11 +46,8 @@ impl Deployer {
let pkg = Crate::new()?;
let wasm_path = pkg.wasm;
let sol_path = pkg.manifest_dir.join("src/constructor.sol");
let sol = if Path::new(&sol_path).exists() {
Some(sol_path)
} else {
None
};
let sol =
if Path::new(&sol_path).exists() { Some(sol_path) } else { None };

let config = Deploy {
generate_config: koba::config::Generate {
Expand Down

0 comments on commit 81f2797

Please sign in to comment.