mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix create2 memory access in yul interpreter.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
pop(create2(0, 0, 32, 32))
|
||||
// This used to store 64
|
||||
sstore(0, msize())
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
// ----
|
||||
// Trace:
|
||||
// CREATE2(0, 0, 32, 32)
|
||||
// Memory dump:
|
||||
// Storage dump:
|
||||
// 0000000000000000000000000000000000000000000000000000000000000000: 0000000000000000000000000000000000000000000000000000000000000020
|
||||
Reference in New Issue
Block a user