mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-09 17:37:58 -05:00
fix: update test doc and tree file
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user