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

refactor: less confusing accounting in removeFromBatch() #418

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

danielattilasimon
Copy link
Collaborator

@danielattilasimon danielattilasimon commented Sep 12, 2024

The accounting of weighted recorded debt/fee in removeFromBatch() has caused some confusion in the past, see for example #328 (comment) (the comment is about redemptions, but they used to do accounting in a similar fashion).

This PR attempts to make the intent clearer.

Copy link
Collaborator

@bingen bingen left a comment

Choose a reason for hiding this comment

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

Looks good! The fact that we don’t need to subtract the upfrontFee to the old management fee piece is nice!

@danielattilasimon danielattilasimon merged commit a25d9ba into main Sep 13, 2024
6 of 7 checks passed
@danielattilasimon danielattilasimon deleted the remove-from-batch-accounting branch January 19, 2025 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants