diff --git a/apps/remix-ide/src/app/files/compiler-metadata.js b/apps/remix-ide/src/app/files/compiler-metadata.js index a19c3d088c..c77bfa7614 100644 --- a/apps/remix-ide/src/app/files/compiler-metadata.js +++ b/apps/remix-ide/src/app/files/compiler-metadata.js @@ -56,7 +56,7 @@ class CompilerMetadata extends Plugin { deploy[network] = self._syncContext(contract, deploy[network] || {}) }) - provider.set(metadataFileName, JSON.stringify(contract.object.metadata, null, '\t')); + provider.set(metadataFileName, JSON.stringify(JSON.parse(contract.object.metadata), null, '\t')) var data = { deploy,