update fixes from @ryestew

pull/5367/head
Joseph Izang 3 weeks ago committed by Aniket
parent 8988197d78
commit aa8dbb3520
  1. 2
      libs/remix-ui/run-tab/src/lib/actions/evmmap.ts
  2. 4
      libs/remix-ui/run-tab/src/lib/run-tab.tsx

@ -37,6 +37,7 @@ export const evmMap: Map<HardFork, { chainId: ChainInfo[], minCompilerVersion: s
{ id: 42161, name: "Arbitrum One" },
{ id: 42170, name: "Arbitrum Nova" },
{ id: 43114, name: "Avalanche C-Chain" },
{ id: 44787, name: "Celo Alfajores Testnet" },
{ id: 59144, name: "Linea Mainnet" },
{ id: 59141, name: "Linea Testnet" },
{ id: 421614, name: "Arbitrum Sepolia" },
@ -68,6 +69,7 @@ export const evmMap: Map<HardFork, { chainId: ChainInfo[], minCompilerVersion: s
{ id: 2000, name: "Dogechain Mainnet" },
{ id: 42161, name: "Arbitrum One" },
{ id: 42170, name: "Arbitrum Nova" },
{ id: 44787, name: "Celo Alfajores Testnet" },
{ id: 59144, name: "Linea Mainnet" },
{ id: 59141, name: "Linea Testnet" },
{ id: 59902, name: "Metis Sepolia Testnet" },

@ -146,9 +146,9 @@ export function RunTabUI(props: RunTabProps) {
//show modal
plugin.call('notification', 'modal', {
id: 'evm-chainId-incompatible',
title: 'Incompatible EVM - ChainId Detected',
title: 'Incompatible EVM for the selected chain',
message: <div className="px-3">
<p>The selected chain is not compatible with the selected EVM version. Please select a one of the options below.</p>
<p>The selected chain is not compatible with the EVM version that the Solidity contract had been compiled with. Please select a one of the options below.</p>
<ul className="px-3">
<li>Have Remix switch to a compatible EVM version for this chain and recompile the contract.</li>
<li>Cancel to keep the current EVM version.</li>

Loading…
Cancel
Save