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

Check start time in Linear _calculateStreamedAmount #941

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

andreivladbrg
Copy link
Member

Depends on #940

Closes #938

@andreivladbrg andreivladbrg changed the title Fix/check start time Check start time in Linear _calculateStreamedAmount Jun 7, 2024
Copy link
Member

@PaulRBerg PaulRBerg left a comment

Choose a reason for hiding this comment

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

test trees must be updated to reflect the new execution paths

side note: we really need to start using Bulloak here

@andreivladbrg
Copy link
Member Author

andreivladbrg commented Jun 8, 2024

test trees must be updated to reflect the new execution paths

can you please provide more details? (it is a tricky situation here because we have common tests in lockup for this function, and individual tests in each model - linear/dynamic/tranched)

side note: we really need to start using Bulloak here

yes, it would be helpful, tho, imo it is a low priority atm

@smol-ninja
Copy link
Member

We already have an open issue to use Bulloak across the repo. Its planned for the next release: #799

…Amount

test: test streamedAmountOf when cliff time is zero and the stream is
PENDING
test: correct tree branches in streamedAmountOf
@andreivladbrg andreivladbrg merged commit 0679a79 into staging Jun 10, 2024
8 of 9 checks passed
@smol-ninja smol-ninja deleted the fix/check-start-time branch June 10, 2024 11:38
@andreivladbrg andreivladbrg mentioned this pull request Jun 16, 2024
andreivladbrg added a commit that referenced this pull request Jul 3, 2024
…Amount (#941)

test: test streamedAmountOf when cliff time is zero and the stream is
PENDING
test: correct tree branches in streamedAmountOf
andreivladbrg added a commit that referenced this pull request Jul 3, 2024
…Amount (#941)

test: test streamedAmountOf when cliff time is zero and the stream is
PENDING
test: correct tree branches in streamedAmountOf
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.

4 participants