File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -220,10 +220,10 @@ impl DualCompiledContracts {
220220 /// Find a contract matching the given bytecode, whether it's EVM or ZK.
221221 ///
222222 /// Will prioritize longest match
223- pub fn find_bytecode < ' a , ' b : ' a > (
224- & ' b self ,
225- init_code : & ' a [ u8 ] ,
226- ) -> Option < FindBytecodeResult < ' a > > {
223+ pub fn find_bytecode < ' a : ' b , ' b > (
224+ & ' a self ,
225+ init_code : & ' b [ u8 ] ,
226+ ) -> Option < FindBytecodeResult < ' b > > {
227227 let evm = self . find_by_evm_bytecode ( init_code) . map ( |evm| ( ContractType :: EVM , evm) ) ;
228228 let zk = self . find_by_zk_deployed_bytecode ( init_code) . map ( |evm| ( ContractType :: ZK , evm) ) ;
229229
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ exclude.workspace = true
1515foundry-common.workspace = true
1616foundry-evm-abi.workspace = true
1717foundry-cheatcodes-common.workspace = true
18- foundry-zksync-compiler.workspace = true
1918alloy-primitives.workspace = true
2019alloy-signer.workspace = true
2120alloy-network.workspace = true
You can’t perform that action at this time.
0 commit comments