diff --git a/src/mocks/Simple.sol b/src/mocks/Simple.sol index 1563fdb40e..25d4b67b50 100644 --- a/src/mocks/Simple.sol +++ b/src/mocks/Simple.sol @@ -43,6 +43,10 @@ contract Simple { return block.number; } + function getBlockDifficulty() external view returns (uint256) { + return block.difficulty; + } + function noop() external pure {} function pleaseRevert() external pure {