update sourcify plugins name

pull/1875/head
Johnson Ogwuru 3 years ago
parent f90e4d3f63
commit 6f6266c3db
  1. 2
      libs/remix-core-plugin/src/lib/compiler-fetch-and-compile.ts
  2. 6
      libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx

@ -69,7 +69,7 @@ export class FetchAndCompile extends Plugin {
let data
try {
data = await this.call('source-verification', 'fetchByNetwork', contractAddress, network.id)
data = await this.call('sourcify', 'fetchByNetwork', contractAddress, network.id)
} 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)

@ -166,9 +166,9 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'learnEth'])
}
const startSourceVerify = async () => {
await plugin.appManager.activatePlugin(['solidity', 'source-verification'])
plugin.verticalIcons.select('source-verification')
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'source-verification'])
await plugin.appManager.activatePlugin(['solidity', 'sourcify'])
plugin.verticalIcons.select('sourcify')
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'sourcify'])
}
const startPluginManager = async () => {
await plugin.appManager.activatePlugin('pluginManager')

Loading…
Cancel
Save