|
|
|
@ -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
|
|
|
|
|