jito-foundation / restaking

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

FEATURE: Adding fee caps for deposit and withdraw #31

Closed coachchucksol closed 2 months ago

coachchucksol commented 2 months ago

Fee caps are now configurable in the Vault Config and are tentatively set at 10%

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 95.22673% with 20 lines in your changes missing coverage. Please review.

Project coverage is 68.53%. Comparing base (9ee750f) to head (ab59a36).

Files Patch % Lines
vault_core/src/config.rs 28.57% 10 Missing :warning:
vault_core/src/vault.rs 30.00% 7 Missing :warning:
vault_sdk/src/sdk.rs 93.33% 2 Missing :warning:
vault_program/src/set_fees.rs 99.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #31 +/- ## ========================================== + Coverage 65.06% 68.53% +3.47% ========================================== Files 84 85 +1 Lines 6656 7066 +410 ========================================== + Hits 4331 4843 +512 + Misses 2325 2223 -102 ```

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