From 3ca26cd75e814dc5b87da3b0839b2261f55bb045 Mon Sep 17 00:00:00 2001 From: moebius <0xmoebius@tutanota.com> Date: Thu, 26 Oct 2023 12:06:48 -0300 Subject: [PATCH] fix: bound fuzz parameter --- solidity/test/integration/ResponseProposal.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity/test/integration/ResponseProposal.t.sol b/solidity/test/integration/ResponseProposal.t.sol index 2879711..2151fb3 100644 --- a/solidity/test/integration/ResponseProposal.t.sol +++ b/solidity/test/integration/ResponseProposal.t.sol @@ -98,7 +98,7 @@ contract Integration_ResponseProposal is IntegrationBase { } function test_proposeResponse_finalizedRequest(bytes memory _responseData, uint256 _timestamp) public { - vm.assume(_timestamp > _expectedDeadline + _baseDisputeWindow); + _timestamp = bound(_timestamp, _expectedDeadline + _baseDisputeWindow, type(uint128).max); vm.prank(proposer); bytes32 _responseId = oracle.proposeResponse(_requestId, _responseData);