diff --git a/libs/remix-lib/src/execution/txRunnerWeb3.ts b/libs/remix-lib/src/execution/txRunnerWeb3.ts index 6a7126dc5c..b2c46feff4 100644 --- a/libs/remix-lib/src/execution/txRunnerWeb3.ts +++ b/libs/remix-lib/src/execution/txRunnerWeb3.ts @@ -166,7 +166,7 @@ export class TxRunnerWeb3 { .catch(err => { if (err && err.error && err.error.indexOf('Invalid JSON RPC response') !== -1) { // // @todo(#378) this should be removed when https://github.com/WalletConnect/walletconnect-monorepo/issues/334 is fixed - callback(new Error('Gas estimation failed because of an unknown internal error. This indicates that the transaction could fail.')) + callback(new Error('Gas estimation failed because of an unknown internal error. This may indicated that the transaction will fail.')) return } err = network.name === 'VM' ? null : err // just send the tx if "VM" diff --git a/libs/remix-ui/run-tab/src/lib/run-tab.tsx b/libs/remix-ui/run-tab/src/lib/run-tab.tsx index f8d5d122bf..2e87d1cbf6 100644 --- a/libs/remix-ui/run-tab/src/lib/run-tab.tsx +++ b/libs/remix-ui/run-tab/src/lib/run-tab.tsx @@ -86,7 +86,6 @@ export function RunTabUI(props: RunTabProps) { const REACT_API = { runTab } const currentfile = plugin.config.get('currentFile') const [solcVersion, setSolcVersion] = useState<{version: string, canReceive: boolean}>({ version: '', canReceive: true }) - const [chainEvmCompat, setChainEvmCompat] = useState() const getVersion = () => { let version = '0.8.25'