File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use eyre::{Context, Result};
1616use forge_script_sequence:: { ScriptSequence , TransactionWithMetadata } ;
1717use foundry_cheatcodes:: Wallets ;
1818use foundry_cli:: utils:: { has_different_gas_calc, now} ;
19- use foundry_common:: { get_contract_name , ContractData } ;
19+ use foundry_common:: ContractData ;
2020use foundry_evm:: traces:: { decode_trace_arena, render_trace_arena} ;
2121use futures:: future:: { join_all, try_join_all} ;
2222use parking_lot:: RwLock ;
@@ -205,9 +205,8 @@ impl PreSimulationState {
205205 . contracts
206206 . iter ( )
207207 . filter_map ( move |( addr, contract_id) | {
208- let contract_name = get_contract_name ( contract_id) ;
209208 if let Ok ( Some ( ( _, data) ) ) =
210- self . build_data . known_contracts . find_by_name_or_identifier ( contract_name )
209+ self . build_data . known_contracts . find_by_name_or_identifier ( contract_id )
211210 {
212211 return Some ( ( * addr, data) ) ;
213212 }
You can’t perform that action at this time.
0 commit comments