clear buildinfo in metadata on workspace change

pull/3581/head
filip mertens 2 years ago committed by Aniket
parent f3577bdcc8
commit c44173d2dd
  1. 3
      libs/remix-core-plugin/src/lib/compiler-metadata.ts

@ -31,6 +31,9 @@ export class CompilerMetadata extends Plugin {
onActivation () {
const self = this
this.on('filePanel', 'setWorkspace', () => {
this.buildInfoNames = {}
})
this.on('solidity', 'compilationFinished', async (file, source, languageVersion, data, input, version) => {
if (!await this.call('settings', 'get', 'settings/generate-contract-metadata')) return
const compiler = new CompilerAbstract(languageVersion, data, source, input)

Loading…
Cancel
Save