Skip to content
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

bigz/add-unsettled-to-net-user-pnl #912

Merged
merged 14 commits into from
Apr 20, 2024

Conversation

0xbigz
Copy link
Member

@0xbigz 0xbigz commented Feb 25, 2024

also improves logic for blocking on pnl pool settlement

Copy link

codecov bot commented Feb 25, 2024

Codecov Report

Merging #912 (7aa9dcf) into master (42af0de) will increase coverage by 0.06%.
Report is 2 commits behind head on master.
The diff coverage is 58.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #912      +/-   ##
==========================================
+ Coverage   75.08%   75.15%   +0.06%     
==========================================
  Files         131      131              
  Lines       32694    32806     +112     
==========================================
+ Hits        24547    24654     +107     
- Misses       8147     8152       +5     
Components Coverage Δ
drift 75.32% <58.47%> (+0.06%) ⬆️

programs/drift/src/instructions/admin.rs Show resolved Hide resolved
programs/drift/src/instructions/admin.rs Outdated Show resolved Hide resolved
programs/drift/src/instructions/admin.rs Outdated Show resolved Hide resolved
programs/drift/src/instructions/admin.rs Outdated Show resolved Hide resolved
// new aggregate unsettled user stats
pub quote_asset_amount_with_unsettled_lp: Option<i64>,
pub net_unsettled_funding_pnl: Option<i64>,
pub update_amm_summary_stats: bool,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Option instead?

@crispheaney crispheaney merged commit e6ee568 into master Apr 20, 2024
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants