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

12 lines
365 B
Solidity

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