|
|
|
@ -439,7 +439,7 @@ function contractDropdown (events, self) { |
|
|
|
|
|
|
|
|
|
var forceSend = () => { |
|
|
|
|
var constructor = txHelper.getConstructorInterface(selectedContract.contract.object.abi) |
|
|
|
|
self._deps.filePanel.compilerMetadata().metadataOf(selectedContract.name, (error, contractMetadata) => { |
|
|
|
|
self._deps.filePanel.compilerMetadata().deployMetadataOf(selectedContract.name, (error, contractMetadata) => { |
|
|
|
|
if (error) return self._deps.logCallback(`creation of ${selectedContract.name} errored: ` + error) |
|
|
|
|
if (!contractMetadata || (contractMetadata && contractMetadata.autoDeployLib)) { |
|
|
|
|
txFormat.buildData(selectedContract.name, selectedContract.contract.object, compiler.getContracts(), true, constructor, args, (error, data) => { |
|
|
|
|