solidity/test/libyul/ewasmTranslationTests/smoke_create2.yul
2019-12-18 14:58:28 +00:00

14 lines
277 B
Plaintext

{
let size := codesize()
codecopy(0x40, 0, size)
sstore(0, create2(42, 0, size, 0x20))
}
// ====
// EVMVersion: >=constantinople
// ----
// Trace:
// INVALID()
// Memory dump:
// 80: 636f6465636f6465636f6465636f6465636f6465000000000000000000000000
// Storage dump: