Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
wildmolasses committed Sep 23, 2024
1 parent eeb1ff6 commit 6988649
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/RadworksGovernor.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ abstract contract Propose is ProposalTest {
// RAD_TOKEN handled specially as bravo upgrade changes RAD token balances
IERC20 _token = IERC20(RAD_TOKEN);
_assumeReceiver(_receiver);
vm.assume(_receiver != SCOPELIFT_ADDRESS);
uint256 _timelockTokenBalance = _token.balanceOf(TIMELOCK);

// bound by the number of tokens the timelock currently controls
Expand Down Expand Up @@ -232,6 +233,7 @@ abstract contract Propose is ProposalTest {
// @dev: RAD_TOKEN handled specially as bravo upgrade changes RAD token balances
IERC20 _token = IERC20(RAD_TOKEN);
_assumeReceiver(_receiver);
vm.assume(_receiver != SCOPELIFT_ADDRESS);

vm.deal(TIMELOCK, _amountETH);
uint256 _timelockETHBalance = TIMELOCK.balance;
Expand Down

0 comments on commit 6988649

Please sign in to comment.