Merge pull request #1925 from ethereum/atAddress

Do not clear instance list for AtAddress
pull/1933/head^2
David Disu 3 years ago committed by GitHub
commit 3848038b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      libs/remix-ui/run-tab/src/lib/actions/index.ts

@ -548,7 +548,6 @@ export const clearInstances = () => {
export const loadAddress = (contract: ContractData, address: string) => { export const loadAddress = (contract: ContractData, address: string) => {
if (!contract) return dispatch(displayPopUp('No compiled contracts found.')) if (!contract) return dispatch(displayPopUp('No compiled contracts found.'))
clearInstances()
loadContractFromAddress(address, loadContractFromAddress(address,
(cb) => { (cb) => {
dispatch(displayNotification('At Address', `Do you really want to interact with ${address} using the current ABI definition?`, 'OK', 'Cancel', cb, null)) dispatch(displayNotification('At Address', `Do you really want to interact with ${address} using the current ABI definition?`, 'OK', 'Cancel', cb, null))

Loading…
Cancel
Save