jito-foundation / restaking

https://docs.restaking.jito.network/
Other
54 stars 5 forks source link

VAULT: Add check that depositor cannot be vault account #125

Open coachchucksol opened 1 week ago

coachchucksol commented 1 week ago

Ensures that the vault cannot be the depositor, which would dilute the VRT supply

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 66.66667% with 4 lines in your changes missing coverage. Please review.

Project coverage is 82.52%. Comparing base (743a649) to head (5a239ab).

Files with missing lines Patch % Lines
vault_program/src/mint_to.rs 66.66% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #125 +/- ## ========================================== - Coverage 82.54% 82.52% -0.03% ========================================== Files 86 86 Lines 8784 8796 +12 ========================================== + Hits 7251 7259 +8 - Misses 1533 1537 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

coachchucksol commented 1 week ago

@buffalu or @ebatsell know anyway to skip lines in Codecov? There is no way to test the added checks since they only future-proof the program