pull/5370/head
LianaHus 4 years ago committed by yann300
parent fa110f3213
commit bb99418a8d
  1. 2
      apps/remix-ide/src/app/compiler/compiler-artefacts.js
  2. 2
      apps/remix-ide/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js
  3. 3
      apps/remix-ide/src/app/tabs/runTab/contractDropdown.js

@ -67,7 +67,7 @@ module.exports = class CompilerArtefacts extends Plugin {
return contractsData
}
getCompilerAbstract(file) {
getCompilerAbstract (file) {
return this.compilersArtefactsPerFile[file]
}

@ -35,7 +35,6 @@ export default class FetchAndCompile extends Plugin {
const localCompilation = () => compilersartefacts.get(contractAddress) ? compilersartefacts.get(contractAddress) : compilersartefacts.get('__last') ? compilersartefacts.get('__last') : null
console.log("localCompilation - ", localCompilation)
const resolved = compilersartefacts.get(contractAddress)
if (resolved) return resolved
if (this.unresolvedAddresses.includes(contractAddress)) return localCompilation()
@ -55,7 +54,6 @@ export default class FetchAndCompile extends Plugin {
// check if the contract if part of the local compilation result
const codeAtAddress = await web3.eth.getCode(contractAddress)
const compilation = localCompilation()
console.log("compilationResult= ", compilation)
if (compilation) {
let found = false
compilation.visitContracts((contract) => {

@ -27,7 +27,6 @@ class ContractDropdownUI {
listenToEvents () {
this.dropdownLogic.event.register('newlyCompiled', (success, data, source, compiler, compilerFullName, file) => {
if (!this.selectContractNames) return
this.selectContractNames.innerHTML = ''
if (success) {
@ -281,7 +280,7 @@ class ContractDropdownUI {
}
}
let self = this
const self = this
var promptCb = (okCb, cancelCb) => {
modalDialogCustom.promptPassphrase('Passphrase requested', 'Personal mode is enabled. Please provide passphrase of account', '', okCb, cancelCb)

Loading…
Cancel
Save