From 6f6266c3db4560110f0d91bba6eb5b484987fbd2 Mon Sep 17 00:00:00 2001 From: Johnson Ogwuru Date: Tue, 4 Jan 2022 02:41:17 +0100 Subject: [PATCH] update sourcify plugins name --- .../remix-core-plugin/src/lib/compiler-fetch-and-compile.ts | 2 +- libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/remix-core-plugin/src/lib/compiler-fetch-and-compile.ts b/libs/remix-core-plugin/src/lib/compiler-fetch-and-compile.ts index b182b7d54c..706937da7a 100644 --- a/libs/remix-core-plugin/src/lib/compiler-fetch-and-compile.ts +++ b/libs/remix-core-plugin/src/lib/compiler-fetch-and-compile.ts @@ -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) diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx index 13dec9d47d..4c41c7968f 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx @@ -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')