Remove un-needed code

pull/5370/head
Praise Disu 2 years ago
parent f476cbe425
commit a5192e4605
  1. 2
      apps/remix-ide/src/blockchain/blockchain.js
  2. 1
      libs/remix-core-plugin/src/lib/openzeppelin-proxy.ts
  3. 1
      libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx

@ -188,7 +188,6 @@ export class Blockchain extends Plugin {
parsedDeployments.deployments.push({
fork: networkInfo.currentFork,
proxyAddress: address,
implementationAddress: implementationContractObject.implementationAddress,
layout: implementationContractObject.contract.object.storageLayout,
date: new Date().toISOString()
})
@ -200,7 +199,6 @@ export class Blockchain extends Plugin {
deployments: [{
fork: networkInfo.currentFork,
proxyAddress: address,
implementationAddress: implementationContractObject.implementationAddress,
layout: implementationContractObject.contract.object.storageLayout,
date: new Date().toISOString()
}]

@ -101,7 +101,6 @@ export class OpenZeppelinProxy extends Plugin {
// re-use implementation contract's ABI for UI display in udapp and change name to proxy name.
implementationContractObject.name = proxyName
implementationContractObject.implementationAddress = implAddress
this.blockchain.deployProxy(data, implementationContractObject)
}

@ -1,7 +1,6 @@
// eslint-disable-next-line no-use-before-define
import React, { useEffect, useRef, useState } from 'react'
import * as remixLib from '@remix-project/remix-lib'
import Web3 from 'web3'
import { ContractGUIProps } from '../types'
import { CopyToClipboard } from '@remix-ui/clipboard'
import { CustomTooltip } from '@remix-ui/helper'

Loading…
Cancel
Save