forked from solana-labs/solana-program-library
-
Notifications
You must be signed in to change notification settings - Fork 76
Feature: Liquidity Mining #203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
vanitymnm
wants to merge
18
commits into
upcoming
Choose a base branch
from
feat/liquidity-mining
base: upcoming
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* optimized reserve (un)packing * obligation dynamically (un)packs * fixed BPF tests * using account discriminator
* Improving Reserve pack, unpack in ixs * Progress with realloc tests * Adding tests for shares tracking * Removing unused comment * More tests * Addressing clippy review * Downgrading package lock * All BPF tests pass * Fixing repay tests in obligation * CU units are reverted back to their original values * Emit program logs on CI * Adding Suilend test 'test_pool_reward_manager_basic' * Adding Solend test 'test_pool_reward_manager_multiple_rewards' * Adding more Suilend tests * Copying remaining liq. mining tests from Suilend * Increasing CU budget allowances * Fixing ix mutable borrows
* Moving logic into respective modules and hiding accessors * Making some accessors public for tests * Increasing budget limit * Adding a test to add pool reward * Adding borrow position kind
…209) * Adding test for cancelling reward * Testing closing pool reward * Removing outdated TODO * Fixing clippy issues
* Adds tests for claiming a reward ix * Fixing clippy complaint
* Edit reward instead of cancel * Proptest for reward edit * Renaming cancel to edit * Adding BPF tests for extending reward period * Fixing impression in existing tests * Addressing clippy
* Use reward vault as part of the authority PDA seed * Fixing misleading comments * Marking TODO as completed
vanitymnm
commented
May 12, 2025
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## upcoming #203 +/- ##
============================================
+ Coverage 83.62% 87.08% +3.46%
============================================
Files 50 72 +22
Lines 18704 28029 +9325
============================================
+ Hits 15641 24410 +8769
- Misses 3063 3619 +556 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch collects changes to implement liquidity mining feature for the mainnet program.
DO NOT MERGE
Constituent MRs: