diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index c671b4cc26..7e4b7e5a6e 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -371,7 +371,7 @@ module.exports = class CompileTab { if (selectContractNames.children.length > 0 && selectContractNames.selectedIndex >= 0) { var contract = self.data.contractsDetails[selectContractNames.children[selectContractNames.selectedIndex].innerHTML] if (contract.metadata === undefined || contract.metadata.length === 0) { - modalDialogCustom.alert('This contract does not implement all functions and thus cannot be published.') + modalDialogCustom.alert('This contract may be abstract, may not implement an abstract parent\'s methods completely or not invoke an inherited contract\'s constructor correctly.') } else { publishOnSwarm(contract, self._deps.fileManager, function (err, uploaded) { if (err) { diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index 313053a398..87c54e8c55 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -435,7 +435,7 @@ function contractDropdown (events, self) { var selectedContract = getSelectedContract() if (selectedContract.contract.object.evm.bytecode.object.length === 0) { - modalDialogCustom.alert('This contract does not implement all functions and thus cannot be created.') + modalDialogCustom.alert('This contract may be abstract, not implement an abstract parent\'s methods completely or not invoke an inherited contract\'s constructor correctly.') return }