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

Loading…
Cancel
Save