jito-foundation / restaking

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

Vault + Restaking: Replace withdrawal_asset instruction with delegate_token_account #49

Closed aoikurokawa closed 6 days ago

aoikurokawa commented 1 month ago

Motivation

Solution

aoikurokawa commented 1 month ago

@buffalu Can you review for it?

buffalu commented 1 month ago

@buffalu Can you review for it?

some conflicts you need to resolve! sorry :)

aoikurokawa commented 1 month ago

@buffalu Thank you for reviewing!! I made a new load_token_2022_program.

aoikurokawa commented 1 month ago

@buffalu Thank you so much for review!!

aoikurokawa commented 1 month ago

@buffalu It's ready for review!!

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 83.79888% with 58 lines in your changes missing coverage. Please review.

Project coverage is 81.89%. Comparing base (c310925) to head (0e77dcd). Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
restaking_core/src/operator.rs 55.55% 16 Missing :warning:
core/src/loader.rs 70.00% 15 Missing :warning:
restaking_core/src/ncn.rs 57.14% 15 Missing :warning:
vault_program/src/delegate_token_account.rs 93.33% 4 Missing :warning:
...estaking_program/src/ncn_delegate_token_account.rs 96.15% 2 Missing :warning:
restaking_program/src/ncn_set_secondary_admin.rs 0.00% 2 Missing :warning:
...ing_program/src/operator_delegate_token_account.rs 96.15% 2 Missing :warning:
vault_core/src/vault.rs 89.47% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #49 +/- ## ========================================== + Coverage 79.42% 81.89% +2.47% ========================================== Files 85 85 Lines 8456 8579 +123 ========================================== + Hits 6716 7026 +310 + Misses 1740 1553 -187 ```

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