Skip to content

Commit

Permalink
fix: stabilise external deposit fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
amarinkovic committed Mar 14, 2023
1 parent 6f39402 commit 9b82552
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/T03TokenizedVault.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ contract T03TokenizedVaultTest is D03ProtocolDefaults, MockAccounts {
uint256 depositAmount
) public {
vm.assume(entity1 > 0 && entity2 > 0 && entity1 != entity2); // else revert: object already exists
vm.assume(!nayms.isObject(entity1) && !nayms.isObject(entity2));
vm.assume(depositAmount > 5); // else revert: _internalMint: mint zero tokens, note: > 5 to ensure the externalDepositAmount isn't 0, see code below

vm.assume(signer1 != address(0) && signer1 != address(999999));
Expand Down

0 comments on commit 9b82552

Please sign in to comment.