solidity/test/libsolidity/semanticTests/state/block_difficulty.sol
2022-05-19 20:23:28 +02:00

12 lines
195 B
Solidity

contract C {
function f() public returns (uint) {
return block.difficulty;
}
}
// ====
// compileToEwasm: also
// ----
// f() -> 200000000
// f() -> 200000000
// f() -> 200000000