Skip to content

Commit 0c324a2

Browse files
committed
style(ev-deployer): apply rustfmt to deterministic deployer
1 parent 2b9485c commit 0c324a2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

bin/ev-deployer/src/config.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,12 @@ chain_id = 1
319319
let config: DeployConfig = toml::from_str(toml).unwrap();
320320
config.validate().unwrap();
321321
assert!(config.contracts.deterministic_deployer.is_some());
322-
assert!(config.contracts.deterministic_deployer.unwrap().address.is_none());
322+
assert!(config
323+
.contracts
324+
.deterministic_deployer
325+
.unwrap()
326+
.address
327+
.is_none());
323328
}
324329

325330
#[test]

bin/ev-deployer/src/contracts/deterministic_deployer.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ mod tests {
3333
};
3434
let contract = build(&config);
3535

36-
assert_eq!(contract.address, address!("4e59b44847b379578588920ca78fbf26c0b4956c"));
36+
assert_eq!(
37+
contract.address,
38+
address!("4e59b44847b379578588920ca78fbf26c0b4956c")
39+
);
3740
assert_eq!(contract.code.as_ref(), DETERMINISTIC_DEPLOYER_BYTECODE);
3841
assert!(contract.storage.is_empty());
3942
}

0 commit comments

Comments
 (0)