We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
testFuzzFutureBlocks
1 parent 0aaa23e commit f9f7db0Copy full SHA for f9f7db0
test/utils/Blockhash.t.sol
@@ -67,6 +67,7 @@ contract BlockhashTest is Test {
67
function testFuzzFutureBlocks(uint256 offset, uint256 currentBlock) public {
68
// Future blocks
69
offset = bound(offset, 1, type(uint256).max);
70
+ currentBlock = bound(currentBlock, 0, type(uint256).max - offset);
71
vm.roll(currentBlock);
72
73
unchecked {
0 commit comments