diff --git a/apps/remix-ide-e2e/src/tests/ballot.test.ts b/apps/remix-ide-e2e/src/tests/ballot.test.ts index 441ac5f3ff..1495150194 100644 --- a/apps/remix-ide-e2e/src/tests/ballot.test.ts +++ b/apps/remix-ide-e2e/src/tests/ballot.test.ts @@ -246,7 +246,8 @@ module.exports = { .click('*[data-id="Deploy - transact (not payable)"]') .waitForElementPresent('*[data-id="universalDappUiContractActionWrapper"]', 60000) .journalLastChildIncludes('Contract.(constructor)') - .journalLastChildIncludes('data: 0x602...0565b') + // .journalLastChildIncludes('data: 0x602...0565b') + .journalLastChildIncludes('data: 0x00') // This can be removed some time once YUL returns correct bytecode .end() } } diff --git a/libs/remix-lib/src/util.ts b/libs/remix-lib/src/util.ts index f28d6c80c0..894fed7649 100644 --- a/libs/remix-lib/src/util.ts +++ b/libs/remix-lib/src/util.ts @@ -240,6 +240,7 @@ export function getinputParameters (value) { export function compareByteCode (code1, code2) { if (code1 === code2) return true if (code2 === '0x') return false // abstract contract. see comment + if (code1 === '0x00' || code2 === '0x00' && code1 !== code2) return false // // This can be removed some time once YUL returns correct bytecode if (code2.substr(2, 46) === '7300000000000000000000000000000000000000003014') { // testing the following signature: PUSH20 00..00 ADDRESS EQ diff --git a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx index f20c17d817..401d3faac9 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -116,7 +116,6 @@ export const CompilerContainer = (props: CompilerContainerProps) => { useEffect(() => { fetchAllVersion((allversions, selectedVersion, isURL) => { - console.log('allversions', allversions, selectedVersion, isURL) setState((prevState) => { return {...prevState, allversions} })