difficulty

Signature

function difficulty(uint256) external;

Description

Sets block.difficulty.

Examples

vm.difficulty(25);
emit log_uint(block.difficulty); // 25