Skip to content

Commit

Permalink
fix: bound fuzz parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
moebius committed Oct 26, 2023
1 parent a2e6cfa commit 3ca26cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/test/integration/ResponseProposal.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3ca26cd

Please sign in to comment.