From 97753e53c7c6bef0fad697b9a07500042508e3d6 Mon Sep 17 00:00:00 2001 From: David Disu Date: Mon, 11 Jul 2022 10:02:32 +0100 Subject: [PATCH] Get initialize inputs if abi is available --- libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts b/libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts index af0c7bebaa..d8ba856272 100644 --- a/libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts +++ b/libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts @@ -40,7 +40,7 @@ export class OpenZeppelinProxy extends Plugin { options: [{ title: 'Deploy with Proxy', active: false }, { title: 'Upgrade Contract', active: false }], initializeOptions: { inputs: initializeInput, - initializeInputs: this.blockchain.getInputs(initializeInput) + initializeInputs: initializeInput ? this.blockchain.getInputs(initializeInput) : null } } })