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 b9f1a3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 b9f1a3d

Please sign in to comment.