Skip to content

Commit

Permalink
Clippy improvement and add fork to cargo deny
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Sep 30, 2024
1 parent 95bb2ba commit 41f3b4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cheatcodes/src/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ impl Cheatcodes {
let paymaster_params =
self.paymaster_params.clone().map(|paymaster_data| PaymasterParams {
paymaster: paymaster_data.address.to_h160(),
paymaster_input: paymaster_data.input.to_vec().into(),
paymaster_input: paymaster_data.input.to_vec(),
});
if let Some(factory_deps) = zk_tx {
let mut batched =
Expand Down Expand Up @@ -1442,7 +1442,7 @@ impl Cheatcodes {
let paymaster_params =
self.paymaster_params.clone().map(|paymaster_data| PaymasterParams {
paymaster: paymaster_data.address.to_h160(),
paymaster_input: paymaster_data.input.to_vec().into(),
paymaster_input: paymaster_data.input.to_vec(),
});
// We shouldn't need factory_deps for CALLs
if call.target_address == DEFAULT_CREATE2_DEPLOYER_ZKSYNC {
Expand Down
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ allow-git = [
"https://github.com/Moonsong-Labs/foundry-zksync-fork-db",
"https://github.com/Moonsong-Labs/block-explorers",
"https://github.com/RustCrypto/hashes",
"https://github.com/jrigada/zksync-web3-rs.git",
]

[sources.allow-org]
Expand Down

0 comments on commit 41f3b4c

Please sign in to comment.