remove uneeded state change & update label

pull/4896/head
yann300 6 months ago committed by Aniket
parent 796709ff94
commit ad9838c823
  1. 1
      libs/remix-ui/run-tab/src/lib/actions/events.ts
  2. 2
      libs/remixd/src/services/foundryClient.ts
  3. 2
      libs/remixd/src/services/hardhatClient.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
}

@ -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)

@ -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

Loading…
Cancel
Save