solidity/test/libsolidity/semanticTests/state/block_difficulty.sol
2023-05-11 10:56:55 -05:00

12 lines
193 B
Solidity

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