|
|
|
@ -55,6 +55,8 @@ export const setupEvents = (plugin: RunTab, dispatch: React.Dispatch<any>) => { |
|
|
|
|
|
|
|
|
|
plugin.on('foundry', 'compilationFinished', (file, source, languageVersion, data) => broadcastCompilationResult('foundry', plugin, dispatch, file, source, languageVersion, data)) |
|
|
|
|
|
|
|
|
|
plugin.on('truffle', 'compilationFinished', (file, source, languageVersion, data) => broadcastCompilationResult('truffle', plugin, dispatch, file, source, languageVersion, data)) |
|
|
|
|
|
|
|
|
|
plugin.on('udapp', 'setEnvironmentModeReducer', (env: { context: string, fork: string }, from: string) => { |
|
|
|
|
plugin.call('notification', 'toast', envChangeNotification(env, from)) |
|
|
|
|
setExecutionContext(plugin, dispatch, env) |
|
|
|
|