We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901c0f2 commit 6b73a3cCopy full SHA for 6b73a3c
crates/optimism/src/transaction/deposit.rs
@@ -32,13 +32,11 @@ mod tests {
32
let deposit_tx_parts: DepositTransactionParts = serde_json::from_str(response).unwrap();
33
assert_eq!(
34
deposit_tx_parts,
35
- DepositTransactionParts {
36
- source_hash: b256!(
37
- "0xe927a1448525fb5d32cb50ee1408461a945ba6c39bd5cf5621407d500ecc8de9"
38
- ),
39
- mint: Some(0x34),
40
- is_system_transaction: false,
41
- }
+ DepositTransactionParts::new(
+ b256!("0xe927a1448525fb5d32cb50ee1408461a945ba6c39bd5cf5621407d500ecc8de9"),
+ Some(0x34),
+ false,
+ )
42
);
43
}
44
0 commit comments