mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
481 B
Plaintext
16 lines
481 B
Plaintext
|
{
|
||
|
let u160max := 0xffffffffffffffffffffffffffffffffffffffff
|
||
|
let a := create2(0, u160max, 0, 0)
|
||
|
let b := and(u160max, create2(0, u160max, 0, 0))
|
||
|
mstore(0, eq(a, b))
|
||
|
}
|
||
|
// ====
|
||
|
// EVMVersion: >=constantinople
|
||
|
// ----
|
||
|
// Trace:
|
||
|
// CREATE2(0, 0xffffffffffffffffffffffffffffffffffffffff, 0, 0)
|
||
|
// CREATE2(0, 0xffffffffffffffffffffffffffffffffffffffff, 0, 0)
|
||
|
// Memory dump:
|
||
|
// 0: 0000000000000000000000000000000000000000000000000000000000000001
|
||
|
// Storage dump:
|