From ad9838c823cd3030edba8c283bdcf09f8553ef2d Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 12 Jun 2024 10:48:39 +0200 Subject: [PATCH] remove uneeded state change & update label --- libs/remix-ui/run-tab/src/lib/actions/events.ts | 1 - libs/remixd/src/services/foundryClient.ts | 2 +- libs/remixd/src/services/hardhatClient.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/remix-ui/run-tab/src/lib/actions/events.ts b/libs/remix-ui/run-tab/src/lib/actions/events.ts index b5b4037eb2..147ae3870a 100644 --- a/libs/remix-ui/run-tab/src/lib/actions/events.ts +++ b/libs/remix-ui/run-tab/src/lib/actions/events.ts @@ -249,7 +249,6 @@ const broadcastCompilationResult = async (compilerName: string, plugin: RunTab, dispatch(addDeployOption({ [file]: {} })) } dispatch(fetchContractListSuccess({ [file]: contracts })) - dispatch(setCurrentFile(file)) // TODO: set current contract } diff --git a/libs/remixd/src/services/foundryClient.ts b/libs/remixd/src/services/foundryClient.ts index d9e05a288c..1fcdacc7d9 100644 --- a/libs/remixd/src/services/foundryClient.ts +++ b/libs/remixd/src/services/foundryClient.ts @@ -128,7 +128,7 @@ export class FoundryClient extends PluginClient { clearTimeout(this.logTimeout) this.logTimeout = setTimeout(() => { // @ts-ignore - this.call('terminal', 'log', { type: 'log', value: `receiving compilation result from Foundry` }) + this.call('terminal', 'log', { type: 'log', value: `receiving compilation result from Foundry. Select a file to populate the contract interaction interface.` }) console.log('Syncing compilation result from Foundry') }, 1000) diff --git a/libs/remixd/src/services/hardhatClient.ts b/libs/remixd/src/services/hardhatClient.ts index a79700be36..ccf02acda1 100644 --- a/libs/remixd/src/services/hardhatClient.ts +++ b/libs/remixd/src/services/hardhatClient.ts @@ -131,7 +131,7 @@ export class HardhatClient extends PluginClient { clearTimeout(this.logTimeout) this.logTimeout = setTimeout(() => { - this.call('terminal', 'log', { value: 'receiving compilation result from Hardhat', type: 'log' }) + this.call('terminal', 'log', { value: 'receiving compilation result from Hardhat. Select a file to populate the contract interaction interface.', type: 'log' }) if (targetsSynced.length) { console.log(`Processing artifacts for files: ${[...new Set(targetsSynced)].join(', ')}`) // @ts-ignore