Skip to content

Commit

Permalink
fix: fuzzing parameter assumption
Browse files Browse the repository at this point in the history
  • Loading branch information
moebius committed Dec 7, 2023
1 parent 17e5ea1 commit 136af42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solidity/test/integration/Finalization.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ contract Integration_Finalization is IntegrationBase {
* @notice Test to check that finalizing a request with a ongoing dispute with revert.
*/
function test_revertFinalizeInDisputeWindow(uint256 _block) public {
vm.assume(_block < _expectedDeadline + _baseDisputeWindow);
address _callbackTarget = makeAddr('target');
vm.etch(_callbackTarget, hex'069420');

Expand Down

0 comments on commit 136af42

Please sign in to comment.