Skip to content

Commit

Permalink
Failing - Bob's balance should be only from his other deposit
Browse files Browse the repository at this point in the history
  • Loading branch information
ninokeldishvili committed Nov 25, 2024
1 parent 9ae6472 commit 6cfbb7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ contract ERC20PriceOracleReceiptVaultWithdrawTest is ERC20PriceOracleReceiptVaul
vault.withdraw(maxWithdrawBob, bob, bob, alicePrice, bytes(""));

// Bob's balance should be only from his other deposit.
//assertEqUint(vault.balanceOf(bob), ((bobDeposit * bobPrice) / 1e18 ) - bobPrice);
assertEqUint(vault.balanceOf(bob), ((bobDeposit * bobPrice) / 1e18) - bobPrice);

// Bob cannot withdraw any more under alice price.
vm.expectRevert("ERC1155: burn amount exceeds balance");
Expand Down

0 comments on commit 6cfbb7f

Please sign in to comment.