Update openzeppelin-proxy.ts

pull/4143/head
bunsenstraat 1 year ago
parent efa9b3f15e
commit dfd86e3493
  1. 4
      libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts

@ -131,7 +131,7 @@ export class OpenZeppelinProxy extends Plugin {
let version = '4.8.3' let version = '4.8.3'
if (error) { if (error) {
console.log(`error: ${error.message ? error.message : error}`) console.log(`error: ${error.message ? error.message : error}`)
console.log(`Will use old version of the proxy...`) console.log(`Will use version 4.8.3 of the proxy...`)
}else{ }else{
const response = txFormat.decodeResponse(returnValue, GETUUPSProxyVersionAbi) const response = txFormat.decodeResponse(returnValue, GETUUPSProxyVersionAbi)
version = response[0].split('string: ')[1] version = response[0].split('string: ')[1]
@ -171,4 +171,4 @@ export class OpenZeppelinProxy extends Plugin {
} }
} }

Loading…
Cancel
Save