Skip to content

Feature/loan manager view accrual issue 7#32

Open
Francis6-git wants to merge 3 commits into
LabsCrypt:mainfrom
Francis6-git:feature/loan-manager-view-accrual-issue-7
Open

Feature/loan manager view accrual issue 7#32
Francis6-git wants to merge 3 commits into
LabsCrypt:mainfrom
Francis6-git:feature/loan-manager-view-accrual-issue-7

Conversation

@Francis6-git

Copy link
Copy Markdown
Contributor

Description:
This PR resolves Issue #7, fixing a discrepancy where the get_loan view function was evaluating interest and late fee accruals on a localized copy of the Loan struct without updating persistent storage. This caused returned states to diverge from subsequent state-changing contract entries.

Closes #7

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.

[Contracts] LoanManager get_loan is a view but accrues interest/late fees without persisting, diverging from on-chain state

1 participant