|
|
@ -9,6 +9,7 @@ import { Toaster } from '@remix-ui/toaster' // eslint-disable-line |
|
|
|
import { format } from 'util' |
|
|
|
import { format } from 'util' |
|
|
|
import './css/style.css' |
|
|
|
import './css/style.css' |
|
|
|
import { CustomTooltip } from '@remix-ui/helper' |
|
|
|
import { CustomTooltip } from '@remix-ui/helper' |
|
|
|
|
|
|
|
import isElectron from 'is-electron' |
|
|
|
|
|
|
|
|
|
|
|
const _paq = (window as any)._paq = (window as any)._paq || [] // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
|
|
const _paq = (window as any)._paq = (window as any)._paq || [] // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
|
|
|
|
|
|
|
|
|
@ -550,7 +551,7 @@ export const SolidityUnitTesting = (props: Record<string, any>) => { // eslint-d |
|
|
|
currentCompilerUrl, |
|
|
|
currentCompilerUrl, |
|
|
|
evmVersion, |
|
|
|
evmVersion, |
|
|
|
optimize, |
|
|
|
optimize, |
|
|
|
usingWorker: canUseWorker(currentVersion), |
|
|
|
usingWorker: canUseWorker(currentVersion) || isElectron(), |
|
|
|
runs |
|
|
|
runs |
|
|
|
} |
|
|
|
} |
|
|
|
const deployCb = async (file: string, contractAddress: string) => { |
|
|
|
const deployCb = async (file: string, contractAddress: string) => { |
|
|
|