Update openzeppelin-proxy.ts

pull/5581/head
Fallengirl 1 month ago committed by Aniket
parent 64756aaaa7
commit 9a2c91a56a
  1. 2
      libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts

@ -19,7 +19,7 @@ export class OpenZeppelinProxy extends Plugin {
} }
async isConcerned(ast: ContractAST = {} as ContractAST): Promise<boolean> { async isConcerned(ast: ContractAST = {} as ContractAST): Promise<boolean> {
// check in the AST if it's an upgradable contract // check in the AST if it's an upgradeable contract
const UUPSSymbol = ast.exportedSymbols && ast.exportedSymbols[UUPS] ? ast.exportedSymbols[UUPS][0] : null const UUPSSymbol = ast.exportedSymbols && ast.exportedSymbols[UUPS] ? ast.exportedSymbols[UUPS][0] : null
if (UUPSSymbol) { if (UUPSSymbol) {

Loading…
Cancel
Save