File tree Expand file tree Collapse file tree 1 file changed +15
-17
lines changed
Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -216,23 +216,21 @@ impl ChiselDispatcher {
216216 let known_contracts = new_source. build ( ) . ok ( ) . and_then ( |output| {
217217 output. enter ( |output_ref| {
218218 // Create ContractsByArtifact from the compiled artifacts
219- Some ( ContractsByArtifact :: new (
220- output_ref. output ( ) . artifact_ids ( ) . map (
221- |( id, artifact) : (
222- foundry_compilers:: ArtifactId ,
223- & foundry_compilers:: artifacts:: ConfigurableContractArtifact ,
224- ) | {
225- (
226- id. clone ( ) ,
227- foundry_compilers:: artifacts:: CompactContractBytecode {
228- abi : artifact. abi . clone ( ) ,
229- bytecode : artifact. bytecode . clone ( ) ,
230- deployed_bytecode : artifact. deployed_bytecode . clone ( ) ,
231- } ,
232- )
233- } ,
234- ) ,
235- ) )
219+ Some ( ContractsByArtifact :: new ( output_ref. output ( ) . artifact_ids ( ) . map (
220+ |( id, artifact) : (
221+ foundry_compilers:: ArtifactId ,
222+ & foundry_compilers:: artifacts:: ConfigurableContractArtifact ,
223+ ) | {
224+ (
225+ id,
226+ foundry_compilers:: artifacts:: CompactContractBytecode {
227+ abi : artifact. abi . clone ( ) ,
228+ bytecode : artifact. bytecode . clone ( ) ,
229+ deployed_bytecode : artifact. deployed_bytecode . clone ( ) ,
230+ } ,
231+ )
232+ } ,
233+ ) ) )
236234 } )
237235 } ) ;
238236 if let Ok ( decoder) =
You can’t perform that action at this time.
0 commit comments