diff --git a/apps/remix-ide/src/app/tabs/locales/en/udapp.json b/apps/remix-ide/src/app/tabs/locales/en/udapp.json index 77e264d98f4..3e0571c0b01 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/udapp.json +++ b/apps/remix-ide/src/app/tabs/locales/en/udapp.json @@ -4,7 +4,8 @@ "udapp.account": "Account", "udapp.value": "Value", "udapp.contract": "Contract", - "udapp.compiledBy": "Compiled by {compilerName}", + "udapp.compiledBy": "compiled by {compilerName}", + "udapp.warningEvmVersion": "Please make sure that the current network is compatible with this evm version: {evmVersion}. Otherwise any deployment will fail.", "udapp.infoSyncCompiledContractTooltip": "Click here to import contracts compiled from an external framework.This action is enabled when Remix is connected to an external framework (hardhat, truffle, foundry) through remixd.", "udapp.remixIpfsUdappTooltip": "Publishing the source code and metadata to IPFS facilitates source code verification using Sourcify and will greatly foster contract adoption (auditing, debugging, calling it, etc...)", "udapp.signAMessage": "Sign a message", diff --git a/apps/remix-ide/src/app/tabs/locales/es/udapp.json b/apps/remix-ide/src/app/tabs/locales/es/udapp.json index 77e264d98f4..2787d3bd220 100644 --- a/apps/remix-ide/src/app/tabs/locales/es/udapp.json +++ b/apps/remix-ide/src/app/tabs/locales/es/udapp.json @@ -4,7 +4,7 @@ "udapp.account": "Account", "udapp.value": "Value", "udapp.contract": "Contract", - "udapp.compiledBy": "Compiled by {compilerName}", + "udapp.compiledBy": "compiled by {compilerName}", "udapp.infoSyncCompiledContractTooltip": "Click here to import contracts compiled from an external framework.This action is enabled when Remix is connected to an external framework (hardhat, truffle, foundry) through remixd.", "udapp.remixIpfsUdappTooltip": "Publishing the source code and metadata to IPFS facilitates source code verification using Sourcify and will greatly foster contract adoption (auditing, debugging, calling it, etc...)", "udapp.signAMessage": "Sign a message", diff --git a/apps/remix-ide/src/app/tabs/locales/fr/udapp.json b/apps/remix-ide/src/app/tabs/locales/fr/udapp.json index 77e264d98f4..2787d3bd220 100644 --- a/apps/remix-ide/src/app/tabs/locales/fr/udapp.json +++ b/apps/remix-ide/src/app/tabs/locales/fr/udapp.json @@ -4,7 +4,7 @@ "udapp.account": "Account", "udapp.value": "Value", "udapp.contract": "Contract", - "udapp.compiledBy": "Compiled by {compilerName}", + "udapp.compiledBy": "compiled by {compilerName}", "udapp.infoSyncCompiledContractTooltip": "Click here to import contracts compiled from an external framework.This action is enabled when Remix is connected to an external framework (hardhat, truffle, foundry) through remixd.", "udapp.remixIpfsUdappTooltip": "Publishing the source code and metadata to IPFS facilitates source code verification using Sourcify and will greatly foster contract adoption (auditing, debugging, calling it, etc...)", "udapp.signAMessage": "Sign a message", diff --git a/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx b/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx index 0ffb8789a71..d5521cec835 100644 --- a/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx @@ -263,6 +263,10 @@ export function ContractDropdownUI (props: ContractDropdownProps) { ) } + let evmVersion = null + try { + evmVersion = JSON.parse(loadedContractData.metadata).settings.evmVersion + } catch (err) {} return (