pull/4896/head
yann300 5 months ago committed by Aniket
parent ad9838c823
commit 88b5bc3e87
  1. 1
      libs/remixd/src/services/foundryClient.ts

@ -171,6 +171,7 @@ export class FoundryClient extends PluginClient {
const contractName = basename(path).replace('.json', '')
let sourcePath = ''
console.log('feedContractArtifactFile', contentJSON)
for (const key in contentJSON.metadata.settings.compilationTarget) {
if (contentJSON.metadata.settings.compilationTarget[key] === contractName) {
sourcePath = key

Loading…
Cancel
Save