revert sourcify name

pull/11/head
yann300 4 years ago committed by ioedeveloper
parent 9fd4c06e77
commit b649430e46
  1. 2
      apps/remix-ide/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js
  2. 2
      apps/remix-ide/src/app/tabs/debugger-tab.js
  3. 4
      apps/remix-ide/src/app/ui/landing-page/landing-page.js

@ -72,7 +72,7 @@ export default class FetchAndCompile extends Plugin {
name === 'main' ? 'mainnet' : name // source-verifier api expect "mainnet" and not "main"
let data
try {
data = await this.call('sourcify', 'fetchByNetwork', contractAddress, name.toLowerCase())
data = await this.call('source-verification', 'fetchByNetwork', contractAddress, name.toLowerCase())
} catch (e) {
setTimeout(_ => this.emit('notFound', contractAddress), 0) // plugin framework returns a time out error although it actually didn't find the source...
this.unresolvedAddresses.push(contractAddress)

@ -64,7 +64,7 @@ class DebuggerTab extends ViewPlugin {
}
)
this.call('manager', 'activatePlugin', 'sourcify')
this.call('manager', 'activatePlugin', 'source-verification')
// this.call('manager', 'activatePlugin', 'udapp')
return this.el

@ -163,8 +163,8 @@ export class LandingPage extends ViewPlugin {
}
const startSourceVerify = () => {
this.appManager.ensureActivated('solidity')
this.appManager.ensureActivated('sourcify')
this.verticalIcons.select('sourcify')
this.appManager.ensureActivated('source-verification')
this.verticalIcons.select('source-verification')
}
const startPluginManager = () => {
this.appManager.ensureActivated('pluginManager')

Loading…
Cancel
Save