diff --git a/packages/contracts/test/unit/core/PrivacyPool.t.sol b/packages/contracts/test/unit/core/PrivacyPool.t.sol index d74691f..4dcf2d2 100644 --- a/packages/contracts/test/unit/core/PrivacyPool.t.sol +++ b/packages/contracts/test/unit/core/PrivacyPool.t.sol @@ -372,7 +372,7 @@ contract UnitDeposit is UnitPrivacyPool { } /** - * @notice Test for the deposit function when depositing zero value + * @notice Test for the deposit function when depositing a value greater than 2**128 */ function test_DepositWhenDepositingReallyBigValue( address _depositor, diff --git a/packages/contracts/test/unit/core/PrivacyPool.tree b/packages/contracts/test/unit/core/PrivacyPool.tree index 1117d5b..e41b3b7 100644 --- a/packages/contracts/test/unit/core/PrivacyPool.tree +++ b/packages/contracts/test/unit/core/PrivacyPool.tree @@ -21,8 +21,10 @@ PrivacyPool::deposit │ │ │ └── It emits Deposited event │ │ ├── When depositing zero value │ │ │ └── It processes deposit normally -│ │ └── When commitment exists in tree -│ │ └── It reverts with LeafAlreadyExists +│ │ ├── When commitment exists in tree +│ │ │ └── It reverts with LeafAlreadyExists +│ │ └── When deposit value is greater than 2**128 +│ │ └── It reverts with InvalidDepositValue │ └── When pool is dead │ └── It reverts with PoolIsDead └── When caller is not entrypoint