Skip to content

Commit

Permalink
Test stability
Browse files Browse the repository at this point in the history
  • Loading branch information
ScreamingHawk committed Sep 9, 2024
1 parent 32eef09 commit 8eb8617
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/payments/PaymentCombiner.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ contract PaymentCombinerTest is TestHelper, IPaymentCombinerSignals {

function _validArrays(address[] memory payees, uint256[] memory shares)
internal
view
returns (address[] memory, uint256[] memory)
{
uint256 payeeLength = payees.length;
Expand All @@ -55,6 +54,7 @@ contract PaymentCombinerTest is TestHelper, IPaymentCombinerSignals {
// Make sure addr is safe
for (uint256 i = 0; i < len; i++) {
assumeSafeAddress(payees[i]);
assumePayable(payees[i]);
}
assumeNoDuplicates(payees);

Expand Down
2 changes: 1 addition & 1 deletion test/tokens/ERC1155/utility/sale/ERC1155SaleBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ contract ERC1155SaleTest is TestHelper, IERC1155SaleSignals, IERC1155SupplySigna

// Withdraw success ETH
function testWithdrawETH(bool useFactory, address withdrawTo, uint256 amount) public withFactory(useFactory) {
assumeSafeAddress(withdrawTo);
assumePayable(withdrawTo);

address _sale = address(sale);
vm.deal(_sale, amount);
Expand Down
2 changes: 1 addition & 1 deletion test/tokens/ERC721/utility/sale/ERC721SaleBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ contract ERC721SaleTest is TestHelper, IERC721SaleSignals {

// Withdraw success ETH
function testWithdrawETH(bool useFactory, address withdrawTo, uint256 amount) public withFactory(useFactory) {
assumeSafeAddress(withdrawTo);
assumePayable(withdrawTo);
vm.deal(address(sale), amount);

uint256 saleBalance = address(sale).balance;
Expand Down

0 comments on commit 8eb8617

Please sign in to comment.