From 6cfbb7faff159af2bf90082cc65bfbac22389a77 Mon Sep 17 00:00:00 2001 From: ninokeldishvili Date: Mon, 25 Nov 2024 16:56:04 +0400 Subject: [PATCH] Failing - Bob's balance should be only from his other deposit --- .../concrete/vault/ERC20PriceOracleReceiptVault.withdraw.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/concrete/vault/ERC20PriceOracleReceiptVault.withdraw.t.sol b/test/src/concrete/vault/ERC20PriceOracleReceiptVault.withdraw.t.sol index 94860aad..b12ddd4f 100644 --- a/test/src/concrete/vault/ERC20PriceOracleReceiptVault.withdraw.t.sol +++ b/test/src/concrete/vault/ERC20PriceOracleReceiptVault.withdraw.t.sol @@ -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");