clean console.log

pull/5367/head
Joseph Izang 3 weeks ago committed by Aniket
parent 7fd373e03d
commit d45b9f4534
  1. 3
      libs/remix-ui/run-tab/src/lib/run-tab.tsx

@ -108,7 +108,6 @@ export function RunTabUI(props: RunTabProps) {
const returnCompatibleChain = async (evmVersion: HardFork, targetChainId: number) => {
const result = getCompatibleChain(evmVersion ?? 'paris', targetChainId) // using paris evm as a default fallback version
console.log('result', result)
return result
}
@ -133,7 +132,6 @@ export function RunTabUI(props: RunTabProps) {
if (compilerState.target !== null && !runTab.networkName.toLowerCase().includes('vm')) {
const targetChainId = runTab.chainId
const ideDefault = fetchDetails && fetchDetails.evmVersion !== null ? fetchDetails.evmVersion : 'cancun'
console.log(ideDefault)
const IsCompatible = isChainCompatible(ideDefault, targetChainId)
const chain = await returnCompatibleChain(ideDefault, targetChainId)
if (chain === undefined) {
@ -142,7 +140,6 @@ export function RunTabUI(props: RunTabProps) {
return
} else {
setEvmCheckComplete(true)
console.log('check the things', { chain, fetchDetails, compilerState, targetChainId, runTab })
if (!IsCompatible) {
//show modal
plugin.call('notification', 'modal', {

Loading…
Cancel
Save