pull/5370/head
filip mertens 1 year ago committed by Aniket
parent a4d6e7725e
commit f9ac0018c5
  1. 1
      libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts

@ -126,6 +126,7 @@ export class OpenZeppelinProxy extends Plugin {
newImplementationContractObject.contractName = newImplementationContractObject.name newImplementationContractObject.contractName = newImplementationContractObject.name
newImplementationContractObject.implementationAddress = newImplAddress newImplementationContractObject.implementationAddress = newImplAddress
newImplementationContractObject.name = proxyName newImplementationContractObject.name = proxyName
await this.blockchain.runTx(args, () => { }, () => { }, () => { }, async (error, txResult, _address, returnValue) => { await this.blockchain.runTx(args, () => { }, () => { }, () => { }, async (error, txResult, _address, returnValue) => {
if (error) { if (error) {
throw new Error(`error: ${error.message ? error.message : error}`) throw new Error(`error: ${error.message ? error.message : error}`)

Loading…
Cancel
Save