We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f211054 commit 24cc4c3Copy full SHA for 24cc4c3
libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx
@@ -240,6 +240,9 @@ export function ContractGUI(props: ContractGUIProps) {
240
const IsCompatible = isChainCompatible(compilerState.evmVersion ?? 'cancun', parseInt(tabState.chainId))
241
if (status === 'Passed' && IsCompatible) {
242
await handleDeploy()
243
+ } else {
244
+ // Show log in browser console in case of failure due to unknown reasons
245
+ console.log('Failed to run because of EVM version incomaptibility or some other compiler issue')
246
}
247
248
0 commit comments