From 867fbbcde85786c52b9c4322ecd8548287051b59 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 4 Oct 2022 11:53:11 +0200 Subject: [PATCH] remove uneeded --- libs/remixd/src/services/foundryClient.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/remixd/src/services/foundryClient.ts b/libs/remixd/src/services/foundryClient.ts index 15b8c3fbb5..9879c14960 100644 --- a/libs/remixd/src/services/foundryClient.ts +++ b/libs/remixd/src/services/foundryClient.ts @@ -114,7 +114,6 @@ export class FoundryClient extends PluginClient { async feedContractArtifactFile (path, content, compilationResultPart, cache) { const contentJSON = JSON.parse(content) const contractName = basename(path).replace('.json', '') - console.log(cache, contentJSON.ast.absolutePath) const currentCache = cache.files[contentJSON.ast.absolutePath] if (!currentCache.artifacts[contractName]) return @@ -141,7 +140,7 @@ export class FoundryClient extends PluginClient { id: contentJSON['id'] } if (!compilationResultPart.output['contracts'][contentJSON.ast.absolutePath]) compilationResultPart.output['contracts'][contentJSON.ast.absolutePath] = {} - // delete contentJSON['ast'] + contentJSON.bytecode.object = contentJSON.bytecode.object.replace('0x', '') contentJSON.deployedBytecode.object = contentJSON.deployedBytecode.object.replace('0x', '') compilationResultPart.output['contracts'][contentJSON.ast.absolutePath][contractName] = {