briVault.sol::deposit does not mints erc4626 vault shares to receiver making them unable to join the event.When msg.sender calls the briVault::deposit function then according the documentation of the contract it must mint shares to the receiver as specified in the parameter but it mints them to msg.sender restricting them from joining the event.
Normally, receiver must receive the shares as stakeShares to their account as they are designated receiver of the share tokens.
However, when user deposits then the msg.sender of the function gets the share tokens which does not align with the documentation of the contract where receiver should receive the tokens on depositing the underlying assets to the vault.
Likelihood: HIGH
Reason 1 : Happens everytime when deposit is called
Reason 2 : receiver does not have any other way to receive shares from the vault other deposit
Impact: HIGH
Impact 1 : Makes users unable to join the event
Add the following test function snippet to the briVault.t.sol
In briVault::deposit change the following line of code
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.