|
|
@ -177,8 +177,12 @@ export class Blockchain extends Plugin { |
|
|
|
_paq.push(['trackEvent', 'blockchain', 'Deploy With Proxy', 'Proxy deployment failed: ' + error]) |
|
|
|
_paq.push(['trackEvent', 'blockchain', 'Deploy With Proxy', 'Proxy deployment failed: ' + error]) |
|
|
|
return this.call('terminal', 'logHtml', log) |
|
|
|
return this.call('terminal', 'logHtml', log) |
|
|
|
} |
|
|
|
} |
|
|
|
if (networkInfo.name === 'VM') this.config.set('vm/proxy', address) |
|
|
|
if (networkInfo.name === 'VM') { |
|
|
|
else this.config.set(`${networkInfo.name}/${networkInfo.currentFork}/${networkInfo.id}/proxy`, address) |
|
|
|
this.call('fileManager', 'exists', '.deploys', (error, exists) => { |
|
|
|
|
|
|
|
this.config.set('vm/proxy', address) |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.config.set(`${networkInfo.name}/${networkInfo.currentFork}/${networkInfo.id}/proxy`, address) |
|
|
|
|
|
|
|
} |
|
|
|
_paq.push(['trackEvent', 'blockchain', 'Deploy With Proxy', 'Proxy deployment successful']) |
|
|
|
_paq.push(['trackEvent', 'blockchain', 'Deploy With Proxy', 'Proxy deployment successful']) |
|
|
|
this.call('udapp', 'addInstance', addressToString(address), implementationContractObject.abi, implementationContractObject.name) |
|
|
|
this.call('udapp', 'addInstance', addressToString(address), implementationContractObject.abi, implementationContractObject.name) |
|
|
|
} |
|
|
|
} |
|
|
|