Commit b649430e authored by yann300's avatar yann300 Committed by ioedeveloper

revert sourcify name

parent 9fd4c06e
...@@ -72,7 +72,7 @@ export default class FetchAndCompile extends Plugin { ...@@ -72,7 +72,7 @@ export default class FetchAndCompile extends Plugin {
name === 'main' ? 'mainnet' : name // source-verifier api expect "mainnet" and not "main" name === 'main' ? 'mainnet' : name // source-verifier api expect "mainnet" and not "main"
let data let data
try { try {
data = await this.call('sourcify', 'fetchByNetwork', contractAddress, name.toLowerCase()) data = await this.call('source-verification', 'fetchByNetwork', contractAddress, name.toLowerCase())
} catch (e) { } catch (e) {
setTimeout(_ => this.emit('notFound', contractAddress), 0) // plugin framework returns a time out error although it actually didn't find the source... 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) this.unresolvedAddresses.push(contractAddress)
......
...@@ -64,7 +64,7 @@ class DebuggerTab extends ViewPlugin { ...@@ -64,7 +64,7 @@ class DebuggerTab extends ViewPlugin {
} }
) )
this.call('manager', 'activatePlugin', 'sourcify') this.call('manager', 'activatePlugin', 'source-verification')
// this.call('manager', 'activatePlugin', 'udapp') // this.call('manager', 'activatePlugin', 'udapp')
return this.el return this.el
......
...@@ -163,8 +163,8 @@ export class LandingPage extends ViewPlugin { ...@@ -163,8 +163,8 @@ export class LandingPage extends ViewPlugin {
} }
const startSourceVerify = () => { const startSourceVerify = () => {
this.appManager.ensureActivated('solidity') this.appManager.ensureActivated('solidity')
this.appManager.ensureActivated('sourcify') this.appManager.ensureActivated('source-verification')
this.verticalIcons.select('sourcify') this.verticalIcons.select('source-verification')
} }
const startPluginManager = () => { const startPluginManager = () => {
this.appManager.ensureActivated('pluginManager') this.appManager.ensureActivated('pluginManager')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment