pull/4109/merge
filip mertens 1 year ago committed by Aniket
parent 2b192457bc
commit db9480d43e
  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