solidity/test/libyul/ewasmTranslationTests/gaslimit.yul
2019-12-10 17:00:45 +00:00

10 lines
291 B
Plaintext

{
sstore(0, gaslimit())
}
// ----
// Trace:
// Memory dump:
// 20: 00000000000000000000000000000000000000000000000000000000003d0900
// Storage dump:
// 0000000000000000000000000000000000000000000000000000000000000000: 00000000000000000000000000000000000000000000000000000000003d0900